|
|
@@ -34,6 +34,7 @@ export default {
|
|
|
},
|
|
|
merchant: {},
|
|
|
merchantList: [],
|
|
|
+ brandId: ''
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -54,7 +55,7 @@ export default {
|
|
|
async getLocation() {
|
|
|
let adres = await uni.Location();
|
|
|
console.log("adres",adres);
|
|
|
- this.Query = { ...this.Query, ...adres };
|
|
|
+ this.Query = { ...this.Query, ...adres, brand_id: this.brandId };
|
|
|
this.getlists();
|
|
|
},
|
|
|
// 去店铺
|
|
|
@@ -67,7 +68,11 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
onLoad(da) {
|
|
|
+ this.brandId = da.brand_id
|
|
|
this.getLocation();
|
|
|
+ uni.setNavigationBarTitle({
|
|
|
+ title: da.name,
|
|
|
+ });
|
|
|
},
|
|
|
onShow() {},
|
|
|
mounted() {},
|