Commit 6705a6fa by 高淑倩

add: no-goods_img

parent 651555b8
......@@ -42,7 +42,12 @@
</view>
</view>
<view class="empty" wx-if="{{cartList !== null && cartList.length == 0}}">亲,您的购物车还空空的哟~</view>
<view class="empty" wx-if="{{cartList !== null && cartList.length == 0}}">
<view class="empty-img">
<image class="no-cart-img" src="/assets/imgs/7_1_0/08_22/no-cart.png" mode="widthFix" />
</view>
<view class="empty-text">亲,您的购物车还空空的哟~</view>
</view>
<!-- 底部 -->
<!-- <view class="cart-bottom" style="bottom:{{currentHeight}}px">-->
......
......@@ -232,4 +232,16 @@ page{
width: 100%;
margin-top: 458rpx;
}
.empty-img{
margin: 0 auto;
margin-bottom: 50rpx;
}
.empty-img, .no-cart-img {
width: 210rpx;
height: 205rpx;
}
.empty-text {
color: rgba(128, 128, 128, 1);
font-size: 28rpx;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment