修改领券中心bug
This commit is contained in:
parent
fd7777e4f4
commit
f6f1425cf5
|
@ -80,7 +80,7 @@ Page({
|
|||
return
|
||||
}
|
||||
that.setData({
|
||||
currentList: data
|
||||
canGetList: data
|
||||
})
|
||||
})
|
||||
},
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<van-tabs active="{{ active }}" bind:change="onChange">
|
||||
<van-tab title="我的优惠券">
|
||||
<view wx:if="{{currentList.length}}">
|
||||
<view wx:for="{{currentList}}" wx:key="id">
|
||||
<view wx:for="{{currentList}}" wx:key="id" class="item">
|
||||
<discount-coupon data="{{item}}" type="{{3}}" />
|
||||
</view>
|
||||
</view>
|
||||
|
@ -11,7 +11,7 @@
|
|||
</van-tab>
|
||||
<van-tab title="领券中心">
|
||||
<view wx:if="{{canGetList.length}}">
|
||||
<view wx:for="{{canGetList}}" wx:key="id">
|
||||
<view wx:for="{{canGetList}}" wx:key="id" class="item">
|
||||
<discount-coupon data="{{item}}" type="{{1}}" bind:get="getCanGet" />
|
||||
</view>
|
||||
</view>
|
||||
|
|
|
@ -1 +1,8 @@
|
|||
/* pages/discountCoupon/index.wxss */
|
||||
/* pages/discountCoupon/index.wxss */
|
||||
page {
|
||||
background-color: rgb(242,243,245);
|
||||
}
|
||||
|
||||
.item {
|
||||
margin: 20rpx;
|
||||
}
|
Loading…
Reference in New Issue
Block a user