修改店铺页面店铺显示问题

This commit is contained in:
lemon橪
2021-08-11 09:49:09 +08:00
parent b93395d0dc
commit 1fbb43c848
2 changed files with 27 additions and 19 deletions

View File

@@ -5,7 +5,7 @@
<div class="contant">
<view v-if="!goodsList.length" class="empty">暂无商品信息</view>
<view v-else class="item" v-for="(item,index) in goodsList" :key="index" @click="navigateToGoodsDetail(item)">
<u-image width="100%" height="324rpx" :src="item.thumbnail">
<u-image width="100%" mode="aspectFit" height="324rpx" :src="item.thumbnail">
<u-loading slot="loading"></u-loading>
</u-image>
<div class="name">{{ item.goodsName }}</div>