修改优惠券bug

This commit is contained in:
qiaomu 2024-12-09 15:31:49 +08:00
parent f6f1425cf5
commit ebc8cae3c8
3 changed files with 8 additions and 3 deletions

View File

@ -3,7 +3,8 @@
"navigator": "/components/navigator/index",
"van-tab": "@vant/weapp/tab/index",
"van-tabs": "@vant/weapp/tabs/index",
"discount-coupon": "/components/discountCoupon/index"
"discount-coupon": "/components/discountCoupon/index",
"empty": "/components/empty/index"
},
"navigationStyle": "custom"
}

View File

@ -6,9 +6,9 @@
<view class="primaryTextBtn" bind:tap="jumpToRecord"> 查看积分明细 </view>
</view>
<view class="ticketList" wx:if="{{list.length}}">
<view wx:for="{{list}}" wx:key="id">
<view wx:for="{{list}}" wx:key="id" class="item">
<discount-coupon data="{{item}}" type="{{2}}" />
</view>
</view>
<empty bind:refresh="refresh" text="暂无可兑换的优惠券" />
<empty wx:else bind:refresh="refresh" text="暂无可兑换的优惠券" />
</view>

View File

@ -4,6 +4,10 @@ page {
background-color: rgb(242,243,245);
}
.item {
margin: 20rpx;
}
.integralWrapper {
padding: 20rpx;
}