EP-WachatApp/eaterplanet_ecommerce/components/count-down/index.wxml

7 lines
287 B
Plaintext

<view class="countdown-class i-count-down">
<slot></slot>
<em class="em" wx:if="{{showDay&&time.day>0}}">{{time.day}}天</em>
<text class="item-class">{{time.hour}}</text>:
<text class="item-class">{{time.minute}}</text>:
<text class="item-class">{{time.second}}</text>
</view>