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

分类空状态

parent 8c15e468
...@@ -133,6 +133,9 @@ ...@@ -133,6 +133,9 @@
/> />
</view> </view>
</view> </view>
<view class="user flex-center" 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">
...@@ -225,6 +228,9 @@ const platformProdList = () => { ...@@ -225,6 +228,9 @@ const platformProdList = () => {
}); });
}; };
const choice = (index, item) => { const choice = (index, item) => {
getPlatformProdList({ categoryId: router.query.categoryId }).then((res) => {
detailList.value = res.data;
});
testData.value = detailList.value[index].prodList; testData.value = detailList.value[index].prodList;
testData.value.forEach((item) => { testData.value.forEach((item) => {
item.imgUrl = import.meta.env.VITE_APP_IMG_URL + item.pic; item.imgUrl = import.meta.env.VITE_APP_IMG_URL + item.pic;
...@@ -406,7 +412,7 @@ page { ...@@ -406,7 +412,7 @@ page {
font-weight: 500; font-weight: 500;
line-height: 28rpx; line-height: 28rpx;
letter-spacing: 0em; letter-spacing: 0em;
margin-left: 48rpx; margin-left: 20rpx;
color: #3d3d3d; color: #3d3d3d;
width: 190rpx; width: 190rpx;
white-space: nowrap; white-space: nowrap;
...@@ -420,7 +426,7 @@ page { ...@@ -420,7 +426,7 @@ page {
font-size: 24rpx; font-size: 24rpx;
font-weight: 500; font-weight: 500;
color: #abaaaa; color: #abaaaa;
margin-left: 40rpx; margin-left: 20rpx;
} }
.price { .price {
font-size: 24rpx; font-size: 24rpx;
......
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