index.wxml 287 B

1234567
  1. <view class="countdown-class i-count-down">
  2. <slot></slot>
  3. <em class="em" wx:if="{{showDay&&time.day>0}}">{{time.day}}天</em>
  4. <text class="item-class">{{time.hour}}</text>:
  5. <text class="item-class">{{time.minute}}</text>:
  6. <text class="item-class">{{time.second}}</text>
  7. </view>