Fix:2455 【商城小程序】养生圣地店铺搜索需要单独开个页面展示搜索结果,并且搜索结果不根据分类展示,直接展示当前城市下的所有店铺

This commit is contained in:
linxi
2024-10-11 17:39:12 +08:00
parent 37349183f2
commit 387fe8d2b8
+10 -2
View File
@@ -31,7 +31,7 @@
</view>
</view>
</view>
<view v-if="items.length === 0" class="v12-justify-center v12-mt-16">
<view v-if="items.length === 0 && keyword" class="v12-justify-center v12-mt-16">
<view class="no-data-wrap">
<image :src="webUrl + '/orderIcon/微信图片_20241009220552.png'" mode="widthFix"></image>
</view>
@@ -66,7 +66,15 @@ export default {
// console.log(res);
this.items = res.data.records
})
}
},
toStore(id) {
this.$yrouter.push({
path: '/pagesInn/inn/innHome',
query: {
id: id
}
})
},
}
}
</script>