|
|
|
@ -187,20 +187,6 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
uni.getStorage({ |
|
|
|
|
key: 'accountType', |
|
|
|
|
success(e) { |
|
|
|
|
if (e.data) { |
|
|
|
|
app.globalData.accountType = e.data; |
|
|
|
|
if (e.data == '000000#/' && app.globalData.h5code) { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '../../goods/refuel-details/refuel-details' |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
// #endif |
|
|
|
|
}, |
|
|
|
|
onLoad(options) { |
|
|
|
@ -384,6 +370,7 @@ |
|
|
|
|
success: function(res) { |
|
|
|
|
app.globalData.latitude = res.latitude; |
|
|
|
|
app.globalData.longitude = res.longitude; |
|
|
|
|
|
|
|
|
|
// that.findByLatAndLng(res.longitude, res.latitude); |
|
|
|
|
// #ifdef H5 |
|
|
|
|
that.getUserLocation(res.longitude, res.latitude); |
|
|
|
@ -520,6 +507,20 @@ |
|
|
|
|
that.getCmsContentcmshome(); |
|
|
|
|
that.getCmsContentcmsContent(); |
|
|
|
|
} |
|
|
|
|
uni.getStorage({ |
|
|
|
|
key: 'accountType', |
|
|
|
|
success(e) { |
|
|
|
|
if (e.data) { |
|
|
|
|
app.globalData.accountType = e.data; |
|
|
|
|
if (e.data == '000000#/' && app.globalData.h5code) { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '../../goods/refuel-details/refuel-details' |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
.catch(err => { |
|
|
|
|