功能完善
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class='recommend-view c-flex-column'>
|
||||
<view class='recommend-view c-flex-column' v-if='recommendList?.length>0'>
|
||||
<text>浏览此商品的客户还浏览了</text>
|
||||
<scroll-view scroll-x>
|
||||
<view style='display: inline-block' v-for='(item, index) in recommendList'
|
||||
@@ -113,6 +113,7 @@ const bannerList = ref([]);
|
||||
const swiperIndex = ref(0);
|
||||
|
||||
onLoad(async (e: any) => {
|
||||
await uni.showLoading();
|
||||
goodsBean.value = await getGoodsDetail(e.goodsId);
|
||||
const { rows } = await getGoodsList({
|
||||
page: {
|
||||
@@ -125,6 +126,7 @@ onLoad(async (e: any) => {
|
||||
}
|
||||
});
|
||||
recommendList.value = rows;
|
||||
uni.hideLoading();
|
||||
});
|
||||
|
||||
const getStockColorCount = computed(() => {
|
||||
|
Reference in New Issue
Block a user