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

7 lines
287 B
Plaintext
Raw Normal View History

2023-03-24 11:24:28 +08:00
<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>