feat:优化分类

This commit is contained in:
2026-07-24 09:48:31 +08:00
parent 1a493b4faf
commit 22a8f279f7
4 changed files with 129 additions and 61 deletions
+8 -3
View File
@@ -7,8 +7,10 @@
</view>
<view class="choiceness_product" :class="platformType ? '' : 'iosplatformType'">
<view v-for="item in productList" :key="item.id" class="choiceness_product_item" @click="jumpInfo(item)">
<up-image :src="item.url" width="100%" height="140" bgColor="#f1f6ff00"></up-image>
<view class="product_item_name">{{ item.title }}</view>
<view>
<up-image :src="item.url" width="100%" height="140" bgColor="#f1f6ff00"></up-image>
<view class="product_item_name">{{ item.title }}</view>
</view>
<view class="product_item_price">
<view class="price_">
<text>¥</text>
@@ -49,7 +51,7 @@ export default {
},
//
jumpInfo(item) {
console.log('秦星星---1',item);
console.log('秦星星---1', item);
uni.navigateTo({
url: "/pages/other_package/productInfo/productInfo?id=" + item.id,
});
@@ -101,6 +103,9 @@ export default {
width: 43%;
margin-bottom: 20rpx;
padding: 20rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.product_item_name {