index.wxml 602 B

1234567891011121314151617
  1. <view class="time-box" wx:if="{{show}}" bindtap="{{finished?'jumpPage':''}}">
  2. <view class="time-view">
  3. <text class="time" wx:if="{{!finished}}">{{second}}s</text>
  4. <image class="receive-coin" src="../../images/coinTaskTime/finished.png" mode="widthFix" wx:else></image>
  5. </view>
  6. <view class="progress-box">
  7. <view class="pro-line" style="width: {{100-(second/time)*100}}%">
  8. <view class="pro-line-bg"></view>
  9. </view>
  10. </view>
  11. <view class="tip" wx:if="{{finished}}">
  12. <text class="icon icon-coin"></text>
  13. +{{coin}}
  14. <view class="tip-arrow"></view>
  15. </view>
  16. </view>