邓洁 : 修改细节

This commit is contained in:
dengj
2023-11-15 17:15:10 +08:00
parent eaf7fbfee1
commit f7537b0b82
2 changed files with 140 additions and 126 deletions

View File

@@ -47,7 +47,6 @@
this.getNotice()
this.getStat()
this.open()
this.getRegionList()
},
methods: {
getBanner(){
@@ -89,8 +88,6 @@
success(res) {
console.log('res.latitude', res.latitude);
console.log('res.longitude', res.longitude);
uni.setStorageSync('latitude', res.latitude);
uni.setStorageSync('longitude', res.longitude);
qqmapsdk.reverseGeocoder({
location: {
latitude: res.latitude,
@@ -106,6 +103,7 @@
uni.setStorageSync('city_code', re.result.ad_info.city_code.substring(3));
uni.setStorageSync('city', city.slice(0, 2));
uni.setStorageSync('district', district);
that.getRegionList()
// that.position = city.slice(0, 2) + district.slice(0, 2)
},
fail: (re) => {