index.wxml
6.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!--index.wxml-->
<view class="clock">
<view class="time-container days">
<view class="digit">
<text class="num top" id="day-tens-top">{{dayTensTop}}</text>
<text class="num bottom" id="day-tens-bottom">
<text class="bottom-container">{{dayTensBottom}}</text></text>
<view class="swapper">
<view id="top-day-tens-anim" class="num-anim top-anim {{dayTensTopAnimUp}}" >
<view class="top-half-num">{{dayTenstopHalfNum}}</view>
</view>
<view id="bottom-day-tens-anim" class="num-anim bottom-anim {{dayTensBottomAnimDown}}">
<view class="bottom-half-num">
<view class="dropper">{{dayTensdropper}}</view></view>
</view>
</view>
</view>
<view class="digit">
<text class="num top" id="day-ones-top">{{dayOnesTop}}</text>
<text class="num bottom" id="day-ones-bottom">
<text class="bottom-container">{{dayOnesBottom}}</text></text>
<view class="swapper">
<!-- hidden="{{dayOnesTopAnim}}" -->
<view id="top-day-ones-anim" class="num-anim top-anim {{dayOnesTopAnimUp}}">
<view class="top-half-num" >{{dayOnestopHalfNum}}</view>
</view>
<!-- hidden="{{hourOnesBottomAnim}}" -->
<view id="bottom-day-ones-anim" class="num-anim bottom-anim {{dayOnesBottomAnimDown}}">
<view class="bottom-half-num">
<view class="dropper">{{dayOnesdropper}}</view></view>
</view>
</view>
</view>
</view>
<view class="split-text">:</view>
<view class="time-container hours">
<view class="digit">
<text class="num top" id="hour-tens-top">{{hourTensTop}}</text>
<text class="num bottom" id="hour-tens-bottom">
<text class="bottom-container">{{hourTensBottom}}</text></text>
<view class="swapper">
<view id="top-hour-tens-anim" class="num-anim top-anim {{hourTensTopAnimUp}}" >
<view class="top-half-num">{{hourTenstopHalfNum}}</view>
</view>
<view id="bottom-hour-tens-anim" class="num-anim bottom-anim {{hourTensBottomAnimDown}}">
<view class="bottom-half-num">
<view class="dropper">{{hourTensdropper}}</view></view>
</view>
</view>
</view>
<view class="digit">
<text class="num top" id="hour-ones-top">{{hourOnesTop}}</text>
<text class="num bottom" id="hour-ones-bottom">
<text class="bottom-container">{{hourOnesBottom}}</text></text>
<view class="swapper">
<!-- hidden="{{hourOnesTopAnim}}" -->
<view id="top-hour-ones-anim" class="num-anim top-anim {{hourOnesTopAnimUp}}">
<view class="top-half-num" >{{hourOnestopHalfNum}}</view>
</view>
<!-- hidden="{{hourOnesBottomAnim}}" -->
<view id="bottom-hour-ones-anim" class="num-anim bottom-anim {{hourOnesBottomAnimDown}}">
<view class="bottom-half-num">
<view class="dropper">{{hourOnesdropper}}</view></view>
</view>
</view>
</view>
</view>
<view class="split-text">:</view>
<view class="time-container minutes">
<view class="digit">
<text class="num top" id="minute-tens-top">{{minuteTensTop}}</text>
<text class="num bottom" id="minute-tens-bottom">
<text class="bottom-container">{{minuteTensBottom}}</text></text>
<view class="swapper">
<view id="top-minute-tens-anim" class="num-anim top-anim {{minuteTensTopAnimUp}}" >
<view class="top-half-num">{{minuteTenstopHalfNum}}</view>
</view>
<view id="bottom-minute-tens-anim" class="num-anim bottom-anim {{minuteTensBottomAnimDown}}">
<view class="bottom-half-num">
<view class="dropper">{{minuteTensdropper}}</view></view>
</view>
</view>
</view>
<view class="digit">
<text class="num top" id="minute-ones-top">{{minuteOnesTop}}</text>
<text class="num bottom" id="minute-ones-bottom">
<text class="bottom-container">{{minuteOnesBottom}}</text></text>
<view class="swapper">
<!-- hidden="{{minuteOnesTopAnim}}" -->
<view id="top-minute-ones-anim" class="num-anim top-anim {{minuteOnesTopAnimUp}}">
<view class="top-half-num" >{{minuteOnestopHalfNum}}</view>
</view>
<!-- hidden="{{minuteOnesBottomAnim}}" -->
<view id="bottom-minute-ones-anim" class="num-anim bottom-anim {{minuteOnesBottomAnimDown}}">
<view class="bottom-half-num">
<view class="dropper">{{minuteOnesdropper}}</view></view>
</view>
</view>
</view>
</view>
<view class="split-text">:</view>
<view class="time-container seconds">
<view class="digit">
<text class="num top" id="second-tens-top">{{secondTensTop}}</text>
<text class="num bottom" id="second-tens-bottom">
<text class="bottom-container">{{secondTensBottom}}</text></text>
<view class="swapper">
<view id="top-second-tens-anim" class="num-anim top-anim {{secondTensTopAnimUp}}" >
<view class="top-half-num">{{secondTenstopHalfNum}}</view>
</view>
<view id="bottom-second-tens-anim" class="num-anim bottom-anim {{secondTensBottomAnimDown}}">
<view class="bottom-half-num">
<view class="dropper">{{secondTensdropper}}</view></view>
</view>
</view>
</view>
<view class="digit">
<text class="num top" id="second-ones-top">{{secondOnesTop}}</text>
<text class="num bottom" id="second-ones-bottom">
<text class="bottom-container">{{secondOnesBottom}}</text></text>
<view class="swapper">
<!-- hidden="{{secondOnesTopAnim}}" -->
<view id="top-second-ones-anim" class="num-anim top-anim {{secondOnesTopAnimUp}}" >
<view class="top-half-num" >{{secondOnestopHalfNum}}</view>
</view>
<!-- hidden="{{secondOnesBottomAnim}}" -->
<view id="bottom-second-ones-anim" class="num-anim bottom-anim {{secondOnesBottomAnimDown}}">
<view class="bottom-half-num">
<view class="dropper">{{secondOnesdropper}}</view></view>
</view>
</view>
</view>
</view>
<view class="line"></view>
</view>
<!-- <text style="position:absolute;top:100px;left:0" hidden='{{!topSecondOnesAnim}}'>{{secondOnesTop}}</text> -->