mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 13:09:38 +08:00
描述:没有优惠券
This commit is contained in:
parent
15e0d80c13
commit
490d6f0e9b
@ -1,7 +1,8 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"van-radio": "@vant/weapp/radio/index",
|
||||
"van-radio-group": "@vant/weapp/radio-group/index"
|
||||
"van-radio-group": "@vant/weapp/radio-group/index",
|
||||
"van-empty": "@vant/weapp/empty/index"
|
||||
},
|
||||
"navigationBarTitleText": "优惠劵"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
<view class="containerView public">
|
||||
|
||||
<!-- 优惠卷列表 -->
|
||||
<view class="couponView">
|
||||
<view class="couponView" wx:if="{{dataList.length > 0}}">
|
||||
<van-radio-group value="{{ couponId }}">
|
||||
<view class="item" wx:for="{{dataList}}" wx:key="*this" data-id="{{item.ticketId}}" data-isDisable="{{item.isDisable}}" bind:tap="couponSelect">
|
||||
<view class="imgView">
|
||||
@ -21,6 +21,11 @@
|
||||
</van-radio-group>
|
||||
</view>
|
||||
|
||||
<!-- 没有优惠券 -->
|
||||
<view class="noneView" wx:if="{{dataList.length <= 0}}">
|
||||
<van-empty class="none-image" image="{{IMG_NAME + '/profile/static/meeting/coupon/none.png'}}" description="非常抱歉,您目前没有可用的优惠券" />
|
||||
</view>
|
||||
|
||||
<view class="submitBtn" bind:tap="submit">确认</view>
|
||||
|
||||
</view>
|
@ -77,3 +77,14 @@
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.noneView{
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.none-image{
|
||||
margin-top: -200rpx;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user