mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 18:36:51 +08:00
[improvement] CouponList: optimize style of empty tip (#2878)
This commit is contained in:
parent
4ad382b33a
commit
271116af50
@ -6,7 +6,7 @@ import Button from '../button';
|
|||||||
import Coupon from '../coupon';
|
import Coupon from '../coupon';
|
||||||
|
|
||||||
const [sfc, bem, t] = use('coupon-list');
|
const [sfc, bem, t] = use('coupon-list');
|
||||||
const EMPTY_IMAGE = 'https://img.yzcdn.cn/v2/image/wap/trade/new_order/empty@2x.png';
|
const EMPTY_IMAGE = 'https://img.yzcdn.cn/vant/coupon-empty.png';
|
||||||
|
|
||||||
export default sfc({
|
export default sfc({
|
||||||
model: {
|
model: {
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&__empty {
|
&__empty {
|
||||||
padding-top: 100px;
|
padding-top: 60px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@ -40,8 +40,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 80px;
|
width: 200px;
|
||||||
height: 84px;
|
height: 200px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -161,14 +161,14 @@ exports[`render empty coupon list 1`] = `
|
|||||||
<div class="van-tabs__content">
|
<div class="van-tabs__content">
|
||||||
<div class="van-tab__pane" style="display: none;">
|
<div class="van-tab__pane" style="display: none;">
|
||||||
<div class="van-coupon-list__list" style="height: 628px;">
|
<div class="van-coupon-list__list" style="height: 628px;">
|
||||||
<div class="van-coupon-list__empty"><img src="https://img.yzcdn.cn/v2/image/wap/trade/new_order/empty@2x.png">
|
<div class="van-coupon-list__empty"><img src="https://img.yzcdn.cn/vant/coupon-empty.png">
|
||||||
<p>暂无优惠券</p>
|
<p>暂无优惠券</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="van-tab__pane" style="">
|
<div class="van-tab__pane" style="">
|
||||||
<div class="van-coupon-list__list" style="height: 628px;">
|
<div class="van-coupon-list__list" style="height: 628px;">
|
||||||
<div class="van-coupon-list__empty"><img src="https://img.yzcdn.cn/v2/image/wap/trade/new_order/empty@2x.png">
|
<div class="van-coupon-list__empty"><img src="https://img.yzcdn.cn/vant/coupon-empty.png">
|
||||||
<p>暂无优惠券</p>
|
<p>暂无优惠券</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user