[优惠券管理中心新增缺省提示]

This commit is contained in:
2021-09-30 10:57:37 +08:00
parent e903d5be15
commit 09d0f5dbbd

View File

@@ -17,7 +17,7 @@
</view> </view>
<block v-if="coupons.length > 0"> <block v-if="coupons.length > 0">
<view class="coupons"> <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 class="item cover">
<view v-if="item.type.value === 2"> <view v-if="item.type.value === 2">
<view class="cover-price">{{item.price || 0}}<text></text></view> <view class="cover-price">{{item.price || 0}}<text></text></view>
@@ -45,7 +45,7 @@
</block> </block>
<block v-else> <block v-else>
<view class="list-null"> <view class="list-null">
<view class="sub-title">暂无相关优惠券</view> <no-list name='no-counpon' txt="没有任何相关优惠券~" />
</view> </view>
</block> </block>
<view class="basisc-btn"> <view class="basisc-btn">
@@ -177,17 +177,8 @@
// 空提示 // 空提示
.list-null{ .list-null{
width: 100vw; width: 100vw;
height: 100vh; // height: 100vh;
box-sizing: border-box; padding-top: 200rpx;
text-align: center;
@extend .vertical;
.sub-title{
color: $text-gray;
font-size: $title-size-m;
}
.icon{
width: 288rpx;
}
} }
// 订单管理 // 订单管理
.coupons{ .coupons{