Commit af9860da authored by 张娇(东信)'s avatar 张娇(东信)

分类空状态

parent 16ff8ee6
...@@ -133,9 +133,7 @@ ...@@ -133,9 +133,7 @@
/> />
</view> </view>
</view> </view>
<view class="user flex-center" v-if="testData.length === 0"> <wd-status-tip image="content" tip="暂无数据" v-if="testData.length === 0" />
<wd-status-tip image="content" tip="暂无数据" />
</view>
</view> </view>
<!-- 购物车悬浮按钮 --> <!-- 购物车悬浮按钮 -->
<!--<view class="cart-floating" @tap="toCart"> <!--<view class="cart-floating" @tap="toCart">
...@@ -222,13 +220,21 @@ const getGoodSaleProd = () => { ...@@ -222,13 +220,21 @@ const getGoodSaleProd = () => {
}; };
// 筑农严选首页-分类查询商品列表 // 筑农严选首页-分类查询商品列表
const platformProdList = () => { const platformProdList = () => {
xma.showLoading({
title: '加载中',
});
getPlatformProdList({ categoryId: router.query.categoryId }).then((res) => { getPlatformProdList({ categoryId: router.query.categoryId }).then((res) => {
xma.hideLoading();
detailList.value = res.data; detailList.value = res.data;
choice(0, '3272'); choice(0, '3272');
}); });
}; };
const choice = (index, item) => { const choice = (index, item) => {
xma.showLoading({
title: '加载中',
});
getPlatformProdList({ categoryId: router.query.categoryId }).then((res) => { getPlatformProdList({ categoryId: router.query.categoryId }).then((res) => {
xma.hideLoading();
detailList.value = res.data; detailList.value = res.data;
}); });
testData.value = detailList.value[index].prodList; testData.value = detailList.value[index].prodList;
......
...@@ -83,9 +83,7 @@ ...@@ -83,9 +83,7 @@
/> />
</view> </view>
</view> </view>
<view class="user flex-center" v-if="buyList.length === 0"> <wd-status-tip image="content" tip="暂无数据" v-if="buyList.length === 0" />
<wd-status-tip image="content" tip="暂无数据" />
</view>
</view> </view>
<view class="waterfall"> <view class="waterfall">
<view class="wt-left wt-list"> <view class="wt-left wt-list">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment