You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB

<!--pages/clock/clock.wxml-->
<view style="display: {{flag}};">
<view class="warp">
<view class="div1">
<!-- 时 -->
<view class="h" style="transform: rotateZ({{hdeg}}deg);"></view>
<!-- 分 -->
<view class="m" style="transform: rotateZ({{mdeg}}deg);"></view>
<!-- 秒 -->
<view class="s" style="transform: rotateZ({{sdeg}}deg);"></view>
<!-- 中点 -->
<view class=" div1_3"></view>
<!-- 刻度 -->
<view class="div1-4 d0">
<view class="left"></view>
<view class="right"></view>
</view>
<view class="div1-4 d1">
<view class="left"></view>
<view class="right"></view>
</view>
<view class="div1-4 d2">
<view class="left"></view>
<view class="right"></view>
</view>
<view class="div1-4 d3">
<view class="left"></view>
<view class="right"></view>
</view>
<view class="div1-4 d4">
<view class="left"></view>
<view class="right"></view>
</view>
<view class="div1-4 d5">
<view class="left"></view>
<view class="right"></view>
</view>
</view>
</view>
<view class="text1">北京时间</view>
<view class="currentTime">{{currentTime}}</view>
</view>