feat:性能优化

This commit is contained in:
2026-07-25 09:12:36 +08:00
parent 3eba959b48
commit 9ab39d2aec
138 changed files with 232 additions and 1511 deletions
+3 -3
View File
@@ -45,9 +45,9 @@
<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="jumpInfo(item1)">
<view class="thumb-box" v-for="(item1, index1) in item.foods" :key="item1.id || index1" @click="jumpInfo(item1)">
<image class="item-menu-image" :src="item1.icon ? item1.icon : '/static/common/def_img.jpg'"
mode="aspectFill">
mode="aspectFill" lazy-load>
</image>
<view class="item-menu-name">{{ item1.name }}</view>
</view>
@@ -154,7 +154,7 @@ export default {
},
jumpSearch(item) {
uni.navigateTo({
url: "/pages/rwa_package/dongjian/search",
url: "/pages/rwa_package/insights/search",
});
},
jumpInfo(item) {