修复页面背景色不一样的问题

This commit is contained in:
weipengfei 2023-11-09 15:59:44 +08:00
parent cda3a1cbc3
commit 0f201d3269

View File

@ -131,11 +131,9 @@
<view class="goodslist"> <view class="goodslist">
<WaterfallsFlow v-if="productList.length>0" :wfList="productList" :type="1" /> <WaterfallsFlow v-if="productList.length>0" :wfList="productList" :type="1" />
<block v-else> <block v-else>
<view class='no-shop' v-cloak> <view style="display: flex;flex-direction: column;align-items: center;">
<view class='pictrue' style="margin: 0 auto;background-color: #F5F5F5;">
<image src='@/static/images/no_short.png' style="width: 500rpx; height: 180rpx;"></image> <image src='@/static/images/no_short.png' style="width: 500rpx; height: 180rpx;"></image>
<text>暂无商品切换其他位置试试</text> <text class="pictrue_tips">暂无商品切换其他位置试试</text>
</view>
</view> </view>
<view class="common-hd"> <view class="common-hd">
<view class="title">为你推荐</view> <view class="title">为你推荐</view>
@ -1157,21 +1155,8 @@
text-align: center; text-align: center;
padding-top: 18rpx; padding-top: 18rpx;
} }
.no-shop { .pictrue_tips{
background-color: #fff;
// padding-bottom: calc(100% - 176rpx);
.pictrue {
display: flex;
flex-direction: column;
align-items: center;
color: $uni-nothing-text; color: $uni-nothing-text;
image {
width: 500rpx;
height: 180rpx;
}
}
} }
.common-hd { .common-hd {
display: flex; display: flex;