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