Fix:2455 【商城小程序】养生圣地店铺搜索需要单独开个页面展示搜索结果,并且搜索结果不根据分类展示,直接展示当前城市下的所有店铺
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</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">
|
<view class="no-data-wrap">
|
||||||
<image :src="webUrl + '/orderIcon/微信图片_20241009220552.png'" mode="widthFix"></image>
|
<image :src="webUrl + '/orderIcon/微信图片_20241009220552.png'" mode="widthFix"></image>
|
||||||
</view>
|
</view>
|
||||||
@@ -66,7 +66,15 @@ export default {
|
|||||||
// console.log(res);
|
// console.log(res);
|
||||||
this.items = res.data.records
|
this.items = res.data.records
|
||||||
})
|
})
|
||||||
}
|
},
|
||||||
|
toStore(id) {
|
||||||
|
this.$yrouter.push({
|
||||||
|
path: '/pagesInn/inn/innHome',
|
||||||
|
query: {
|
||||||
|
id: id
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user