no message

This commit is contained in:
2025-08-14 20:22:46 +08:00
parent d11c19d337
commit cac43cc5dc
7 changed files with 54 additions and 31 deletions
+7 -1
View File
@@ -40,7 +40,7 @@
<text>{{ item.name }}</text>
</view>
<view class="item-container" v-if="item.foods && item.foods.length !== 0">
<view class="thumb-box" v-for="(item1, index1) in item.foods" :key="index1" @click="jumpSearch(item1)">
<view class="thumb-box" v-for="(item1, index1) in item.foods" :key="index1" @click="jumpInfo(item1)">
<image class="item-menu-image" :src="item1.icon ? item1.icon : '/static/common/def_img.jpg'" mode="">
</image>
<view class="item-menu-name">{{ item1.name }}</view>
@@ -132,6 +132,12 @@ export default {
uni.navigateTo({
url: '/pages/shop/search',
})
},
jumpInfo(item){
uni.navigateTo({
url: `/pages/other_package/productInfo/productInfo?id=${item.id}`,
})
},
// 查询分类
async getSort(pId) {