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

This commit is contained in:
linxi
2024-10-11 16:19:38 +08:00
parent e493acec59
commit 28ce362a39
3 changed files with 127 additions and 3 deletions
+5 -3
View File
@@ -11,8 +11,8 @@
class="icon"
/>
<view class="v12-font-28 v12-secondary-dark-text v12-mr-3">{{ cityName }}</view>
<view class="flex-1">
<u-search searchIconColor="#C52733" :showAction="false" v-model="keyword" @search="search"></u-search>
<view class="flex-1" @click="search">
<u-search searchIconColor="#C52733" :disabled="true" :showAction="false" v-model="keyword" ></u-search>
</view>
</view>
<swiper v-if="traveItems.length > 0" class="v12-justify-between swap" autoplay circular next-margin="300rpx" duration="10000" interval="3000" >
@@ -126,7 +126,9 @@ export default {
})
},
search() {
this.getList()
uni.navigateTo({
url: '/pkg_product/views/healthSearch?city=' + this.cityId + '&cityName=' + this.cityName
})
},
getTop() {
const params = {