1 line
2.2 KiB
Plaintext
1 line
2.2 KiB
Plaintext
<view class="tn-countdown-class tn-countdown data-v-226cade5"><block wx:if="{{showDays&&(hideZeroDay||!hideZeroDay&&d!='00')}}"><view class="{{['tn-countdown__item','data-v-226cade5',backgroundColorClass]}}" style="{{$root.s0}}"><view class="{{['tn-countdown__item__time','data-v-226cade5',fontColorClass]}}" style="{{$root.s1}}">{{''+d+''}}</view></view></block><block wx:if="{{showHours&&(hideZeroDay||!hideZeroDay&&d!='00')}}"><view class="tn-countdown__separator data-v-226cade5" style="{{'font-size:'+(separatorSize+'rpx')+';'+('color:'+(separatorColor)+';')+('padding-bottom:'+(separator==='en'?'4rpx':0)+';')}}">{{''+(separator==='en'?':':'天')+''}}</view></block><block wx:if="{{showHours}}"><view class="{{['tn-countdown__item','data-v-226cade5',backgroundColorClass]}}" style="{{$root.s2}}"><view class="{{['tn-countdown__item__time','data-v-226cade5',fontColorClass]}}" style="{{$root.s3}}">{{''+h+''}}</view></view></block><block wx:if="{{showMinutes}}"><view class="tn-countdown__separator data-v-226cade5" style="{{'font-size:'+(separatorSize+'rpx')+';'+('color:'+(separatorColor)+';')+('padding-bottom:'+(separator==='en'?'4rpx':0)+';')}}">{{''+(separator==='en'?':':'时')+''}}</view></block><block wx:if="{{showMinutes}}"><view class="{{['tn-countdown__item','data-v-226cade5',backgroundColorClass]}}" style="{{$root.s4}}"><view class="{{['tn-countdown__item__time','data-v-226cade5',fontColorClass]}}" style="{{$root.s5}}">{{''+m+''}}</view></view></block><block wx:if="{{showSeconds}}"><view class="tn-countdown__separator data-v-226cade5" style="{{'font-size:'+(separatorSize+'rpx')+';'+('color:'+(separatorColor)+';')+('padding-bottom:'+(separator==='en'?'4rpx':0)+';')}}">{{''+(separator==='en'?':':'分')+''}}</view></block><block wx:if="{{showSeconds}}"><view class="{{['tn-countdown__item','data-v-226cade5',backgroundColorClass]}}" style="{{$root.s6}}"><view class="{{['tn-countdown__item__time','data-v-226cade5',fontColorClass]}}" style="{{$root.s7}}">{{''+s+''}}</view></view></block><block wx:if="{{showSeconds&&separator==='cn'}}"><view class="tn-countdown__separator data-v-226cade5" style="{{'font-size:'+(separatorSize+'rpx')+';'+('color:'+(separatorColor)+';')+('padding-bottom:'+(separator==='en'?'4rpx':0)+';')}}">秒</view></block></view> |