| | |
| | | "quickapp" : {}, |
| | | /* 快应用特有相关 */ |
| | | "mp-weixin" : { |
| | | "appid" : "wx3203fd935a6ffe09", |
| | | "appid" : "wx1441324401626290", |
| | | "setting" : { |
| | | "urlCheck" : false, |
| | | "es6" : true, |
| | |
| | | </view> |
| | | </view> |
| | | <view class="m-t-12 "> |
| | | <view class="desc-gray">我的收获地址</view> |
| | | <view class="desc-gray">我的收货地址</view> |
| | | |
| | | </view> |
| | | <no-data v-if="!list||list.length==0" style="width: 100%;"></no-data> |
| | |
| | | // that.search_flow = (location.name || '') |
| | | that.$store.commit('setAddressDesc', (location.name || location.address || '')) |
| | | that.$forceUpdate() |
| | | that.backpage() |
| | | } |
| | | |
| | | // if (!that.submitForm.province && location.provinceName) { |
| | |
| | | // }; |
| | | const { |
| | | code,data |
| | | } = that.$http.request('get', '/api/pub/customer/home/address/parse', { |
| | | } = await that.$http.request('get', '/api/pub/customer/home/address/parse', { |
| | | data: {}, |
| | | params: { |
| | | // https://apis.map.qq.com/ws/geocoder/v1/?location=39.984154,116.307490&key=[你的key]&get_poi=1 |
| | |
| | | }) |
| | | console.log('定位成功:', data); |
| | | if(data){ |
| | | var address = data.address || '' |
| | | var address = data.result&&data.result.address || '' |
| | | |
| | | that.$store.commit('setAddressDesc', (address || '')) |
| | | that.$forceUpdate() |
| | | |
| | | that.backpage() |
| | | |
| | | } |
| | | |
| | | |