调整优惠券部分

This commit is contained in:
2024-12-09 10:36:16 +08:00
parent 9bc3cb5584
commit fd7777e4f4
6 changed files with 48 additions and 10 deletions

View File

@@ -3,13 +3,17 @@
<van-tabs active="{{ active }}" bind:change="onChange">
<van-tab title="我的优惠券">
<view wx:if="{{currentList.length}}">
<view wx:for="{{currentList}}" wx:key="id">
<discount-coupon data="{{item}}" type="{{3}}" />
</view>
</view>
<empty bind:refresh="getCurrent" />
</van-tab>
<van-tab title="领券中心">
<view wx:if="{{canGetList.length}}">
<view wx:for="{{canGetList}}" wx:key="id">
<discount-coupon data="{{item}}" type="{{1}}" bind:get="getCanGet" />
</view>
</view>
<empty bind:refresh="getCanGet" />
</van-tab>