Fix:4601 【旅居管理后台,商城小程序】旅居商户管理—修改所属分类为“康养分类”,在前端小程序中不显示

This commit is contained in:
linxi
2025-11-24 11:31:26 +08:00
parent 4ff62c50a1
commit 9de1574c86
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -113,7 +113,7 @@
<view
v-if="tabIndex === 0"
class="city-item"
@click="goStore(item.cityId, item.cityName)"
@click="goStore(item.id, item.cityName, item.cityId)"
>
<image
:src="item.icon"
@@ -364,9 +364,9 @@ export default {
this.label = label
this.searchReq()
},
goStore(id, name) {
goStore(id, name, cityId) {
uni.navigateTo({
url: '/pkg_product/views/healthSanctum?city=' + id +'&cityName=' + name
url: '/pkg_product/views/healthSanctum?city=' + id +'&cityName=' + name + '&goodCityId=' + cityId
})
},
goGoods(id) {
+2 -2
View File
@@ -98,7 +98,7 @@ export default {
onLoad(opts) {
console.log(opts);
this.cityId = opts.city
this.cityId = opts.goodCityId
this.cityName = decodeURIComponent(decodeURIComponent(opts.cityName))
getCategory().then(res => {
this.tabs = res.data
@@ -126,7 +126,7 @@ export default {
getList() {
const params = {
// countyId: this.cityId,
cityId: this.cityId,
goodCityId: this.cityId,
wellnessPlaceCateId : this.categoryId,
shopType: 'wellness',
page: 1,