Commit 977314a1 authored by 石建新(贵阳日报)'s avatar 石建新(贵阳日报)
parents f6b40433 8c15e468
...@@ -83,6 +83,9 @@ ...@@ -83,6 +83,9 @@
/> />
</view> </view>
</view> </view>
<view class="user flex-center" 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">
...@@ -213,7 +216,11 @@ const chooseTab = (index, categoryId) => { ...@@ -213,7 +216,11 @@ const chooseTab = (index, categoryId) => {
}); });
}; };
const chooseBTab = (index, categoryId) => { const chooseBTab = (index, categoryId) => {
xma.showLoading({
title: '加载中',
});
getPresaleProdList({ current: 1, size: 10, categoryId }).then((res) => { getPresaleProdList({ current: 1, size: 10, categoryId }).then((res) => {
xma.hideLoading();
res.data.records.forEach((item) => { res.data.records.forEach((item) => {
item.img = import.meta.env.VITE_APP_IMG_URL + item.pic; item.img = import.meta.env.VITE_APP_IMG_URL + item.pic;
}); });
...@@ -233,7 +240,11 @@ const chooseBTab = (index, categoryId) => { ...@@ -233,7 +240,11 @@ const chooseBTab = (index, categoryId) => {
// }; // };
// 二级分类点击事件 // 二级分类点击事件
const choice = (index, categoryId) => { const choice = (index, categoryId) => {
xma.showLoading({
title: '加载中',
});
getPresaleProdList({ current: 1, size: 10, categoryId }).then((res) => { getPresaleProdList({ current: 1, size: 10, categoryId }).then((res) => {
xma.hideLoading();
res.data.records.forEach((item) => { res.data.records.forEach((item) => {
item.img = import.meta.env.VITE_APP_IMG_URL + item.pic; item.img = import.meta.env.VITE_APP_IMG_URL + item.pic;
}); });
......
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