26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
|
|
<view class="loadings">
|
|
<view class="weui-loading" wx:if="{{detailLoading}}"></view>
|
|
</view>
|
|
<view class="time">领取时间:{{detail.daily_start_time}}-{{detail.daily_end_time}}</view>
|
|
<view class="coupon-list">
|
|
<view class="item" wx:for="{{detail.coupons}}" wx:key="index">
|
|
<view class="name">
|
|
<view class="left">{{item.name}} <block wx:if="{{item.count>1}}">x {{item.count}}</block></view>
|
|
<view class="right money money-normal" wx:if="{{item.amount>0}}">{{item.amount}}</view>
|
|
</view>
|
|
<view class="tips">先领券,再下单,免费配送</view>
|
|
</view>
|
|
</view>
|
|
<button class="button diabled" disabled type="primary"
|
|
wx:if="{{detail.is_end||!detail.is_active||!detail.can_receive}}">
|
|
{{
|
|
detail.is_end?'活动已结束':
|
|
!detail.is_active?'活动已关闭':
|
|
!detail.can_receive?'无法领取':''
|
|
}}
|
|
</button>
|
|
<button disabled="{{getting}}"
|
|
loading="{{getting}}" type="primary"
|
|
class="button" bind:tap="getActivity" wx:else>一键领取</button>
|
|
<image src="/assets/imgs/login/main.png" class="bottom-img"/> |