功能完善

This commit is contained in:
2024-04-14 01:05:08 +08:00
parent a270c9be70
commit b676a1acd9
80 changed files with 118 additions and 52 deletions

View File

@@ -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(() => {