mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-17 08:25:52 +08:00
fix: 🐛 修改店铺详情bug
This commit is contained in:
@@ -60,7 +60,6 @@
|
||||
<div v-else>
|
||||
<div class="promotion-decorate">{{ cateName }}</div>
|
||||
<div class="goods-list">
|
||||
|
||||
<empty v-if="goodsList.length === 0"/>
|
||||
<div
|
||||
v-for="(item, index) in goodsList"
|
||||
@@ -69,8 +68,9 @@
|
||||
class="goods-show-info"
|
||||
@click="goGoodsDetail(item.id, item.goodsId)"
|
||||
>
|
||||
|
||||
<div class="goods-show-img">
|
||||
<img :src="item.thumbnail" height="220" width="220" alt=""/>
|
||||
<img :src="item.small" height="220" width="220" alt=""/>
|
||||
</div>
|
||||
<div class="goods-show-price">
|
||||
<span>
|
||||
@@ -254,7 +254,7 @@ export default {
|
||||
goodsList(this.params)
|
||||
.then((res) => {
|
||||
if (res.success) {
|
||||
this.goodsList = res.result;
|
||||
this.goodsList = res.result.records;
|
||||
this.total = res.result.total;
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user