[优惠券管理中心新增缺省提示]
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
</view>
|
||||
<block v-if="coupons.length > 0">
|
||||
<view class="coupons">
|
||||
<view class="coupons-flex" v-for="(item, index) in coupons" :key="index" @click="$Router.push({name: 'magDetails', params: {couponId: item.coupon_id}})">
|
||||
<view class="coupons-flex" v-for="(item, index) in coupons" :key="index" @click="$Router.push({name: 'couponsDetails', params: {couponId: item.coupon_id}})">
|
||||
<view class="item cover">
|
||||
<view v-if="item.type.value === 2">
|
||||
<view class="cover-price">{{item.price || 0}}<text>元</text></view>
|
||||
@@ -45,7 +45,7 @@
|
||||
</block>
|
||||
<block v-else>
|
||||
<view class="list-null">
|
||||
<view class="sub-title">暂无相关优惠券</view>
|
||||
<no-list name='no-counpon' txt="没有任何相关优惠券~" />
|
||||
</view>
|
||||
</block>
|
||||
<view class="basisc-btn">
|
||||
@@ -177,17 +177,8 @@
|
||||
// 空提示
|
||||
.list-null{
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
@extend .vertical;
|
||||
.sub-title{
|
||||
color: $text-gray;
|
||||
font-size: $title-size-m;
|
||||
}
|
||||
.icon{
|
||||
width: 288rpx;
|
||||
}
|
||||
// height: 100vh;
|
||||
padding-top: 200rpx;
|
||||
}
|
||||
// 订单管理
|
||||
.coupons{
|
||||
|
||||
Reference in New Issue
Block a user