diff --git a/src/manifest.json b/src/manifest.json index 86c7a7ad..5a0a5bb0 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -97,7 +97,7 @@ "sdkConfigs": { "maps": { "qqmap": { - "key": "3RZBZ-LZUCF-CT6J5-NWKZH-FCWOQ-UUFKY" + "key": "RWWBZ-64BEJ-MVLFJ-FTHLQ-JTR6J-SAB2S" } } } diff --git a/src/project/xicheng/AppMerchantManage/ChooseAddess.vue b/src/project/xicheng/AppMerchantManage/ChooseAddess.vue new file mode 100644 index 00000000..66f2cb34 --- /dev/null +++ b/src/project/xicheng/AppMerchantManage/ChooseAddess.vue @@ -0,0 +1,337 @@ + + + + + diff --git a/src/project/xicheng/AppMerchantManage/add.vue b/src/project/xicheng/AppMerchantManage/add.vue index e47323fb..82d02737 100644 --- a/src/project/xicheng/AppMerchantManage/add.vue +++ b/src/project/xicheng/AppMerchantManage/add.vue @@ -99,15 +99,24 @@ this.id = query.id this.getInfo() } + + uni.$on('chooseAddress', e => { + this.form.lat = e.lat + this.form.lng = e.lng + }) }, methods: { chooseLocation () { - uni.chooseLocation({ - success: res => { - this.form.lat = res.latitude - this.form.lng = res.longitude - } + // uni.chooseLocation({ + // success: res => { + // this.form.lat = res.latitude + // this.form.lng = res.longitude + // } + // }) + + uni.navigateTo({ + url: './ChooseAddess' }) }, @@ -151,7 +160,7 @@ delta: 1 }) }, 500) - } + } }) } }