Fix:4601 【旅居管理后台,商城小程序】旅居商户管理—修改所属分类为“康养分类”,在前端小程序中不显示
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user