Fix:4601 【旅居管理后台,商城小程序】旅居商户管理—修改所属分类为“康养分类”,在前端小程序中不显示
This commit is contained in:
@@ -113,7 +113,7 @@
|
|||||||
<view
|
<view
|
||||||
v-if="tabIndex === 0"
|
v-if="tabIndex === 0"
|
||||||
class="city-item"
|
class="city-item"
|
||||||
@click="goStore(item.cityId, item.cityName)"
|
@click="goStore(item.id, item.cityName, item.cityId)"
|
||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
:src="item.icon"
|
:src="item.icon"
|
||||||
@@ -364,9 +364,9 @@ export default {
|
|||||||
this.label = label
|
this.label = label
|
||||||
this.searchReq()
|
this.searchReq()
|
||||||
},
|
},
|
||||||
goStore(id, name) {
|
goStore(id, name, cityId) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pkg_product/views/healthSanctum?city=' + id +'&cityName=' + name
|
url: '/pkg_product/views/healthSanctum?city=' + id +'&cityName=' + name + '&goodCityId=' + cityId
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
goGoods(id) {
|
goGoods(id) {
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ export default {
|
|||||||
onLoad(opts) {
|
onLoad(opts) {
|
||||||
console.log(opts);
|
console.log(opts);
|
||||||
|
|
||||||
this.cityId = opts.city
|
this.cityId = opts.goodCityId
|
||||||
this.cityName = decodeURIComponent(decodeURIComponent(opts.cityName))
|
this.cityName = decodeURIComponent(decodeURIComponent(opts.cityName))
|
||||||
getCategory().then(res => {
|
getCategory().then(res => {
|
||||||
this.tabs = res.data
|
this.tabs = res.data
|
||||||
@@ -126,7 +126,7 @@ export default {
|
|||||||
getList() {
|
getList() {
|
||||||
const params = {
|
const params = {
|
||||||
// countyId: this.cityId,
|
// countyId: this.cityId,
|
||||||
cityId: this.cityId,
|
goodCityId: this.cityId,
|
||||||
wellnessPlaceCateId : this.categoryId,
|
wellnessPlaceCateId : this.categoryId,
|
||||||
shopType: 'wellness',
|
shopType: 'wellness',
|
||||||
page: 1,
|
page: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user