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

分类空状态

parent 8c15e468
......@@ -133,6 +133,9 @@
/>
</view>
</view>
<view class="user flex-center" v-if="testData.length === 0">
<wd-status-tip image="content" tip="暂无数据" />
</view>
</view>
<!-- 购物车悬浮按钮 -->
<!--<view class="cart-floating" @tap="toCart">
......@@ -225,6 +228,9 @@ const platformProdList = () => {
});
};
const choice = (index, item) => {
getPlatformProdList({ categoryId: router.query.categoryId }).then((res) => {
detailList.value = res.data;
});
testData.value = detailList.value[index].prodList;
testData.value.forEach((item) => {
item.imgUrl = import.meta.env.VITE_APP_IMG_URL + item.pic;
......@@ -406,7 +412,7 @@ page {
font-weight: 500;
line-height: 28rpx;
letter-spacing: 0em;
margin-left: 48rpx;
margin-left: 20rpx;
color: #3d3d3d;
width: 190rpx;
white-space: nowrap;
......@@ -420,7 +426,7 @@ page {
font-size: 24rpx;
font-weight: 500;
color: #abaaaa;
margin-left: 40rpx;
margin-left: 20rpx;
}
.price {
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