1.新增一键加油功能

yj-dev
杨杰 2 years ago
parent f7e0dfa745
commit dece3803d4
  1. 16
      App.vue
  2. 18
      pages/goods/refuel/refuel.vue
  3. 7
      pages/tabBar/home/home.vue

@ -5,15 +5,15 @@
// brestUrl: 'http://192.168.3.4:9302/brest',
// imgUrl: 'https://192.168.3.4:9301/filesystem/',
//
// url: 'https://hsg.dctpay.com/crest',
// imgUrl: 'https://hsg.dctpay.com/filesystem/',
// brestUrl : 'https://hsg.dctpay.com/brest',
// imageWxImg:'https://hsg.dctpay.com/filesystem/wxApplets/',
url: 'https://hsg.dctpay.com/crest',
imgUrl: 'https://hsg.dctpay.com/filesystem/',
brestUrl : 'https://hsg.dctpay.com/brest',
imageWxImg:'https://hsg.dctpay.com/filesystem/wxApplets/',
//
url: 'https://hsgcs.dctpay.com/crest',
brestUrl : 'https://hsgcs.dctpay.com/brest',
imgUrl: 'https://hsgcs.dctpay.com/filesystem/',
imageWxImg:'https://hsgcs.dctpay.com/filesystem/wxApplets/',
// url: 'https://hsgcs.dctpay.com/crest',
// brestUrl : 'https://hsgcs.dctpay.com/brest',
// imgUrl: 'https://hsgcs.dctpay.com/filesystem/',
// imageWxImg:'https://hsgcs.dctpay.com/filesystem/wxApplets/',
userInfo: "",
brestUserInfo : '',
openId: '',

@ -161,14 +161,14 @@
if (app.globalData.accountId) {
that.isTyAgent = true;
}
uni.getLocation({
type: 'wgs84',
success: function(res) {
that.latitudeful = res.latitude;
that.longitudeful = res.longitude;
that.getGasStoreList();
}
})
// uni.getLocation({
// type: 'wgs84',
// success: function(res) {
// that.latitudeful = res.latitude;
// that.longitudeful = res.longitude;
// }
// })
},
onReachBottom() {
this.getGasStoreList();
@ -254,8 +254,8 @@
distance: this.distanceNum,
regionId: app.globalData.cityId,
oilNoName: this.onilName,
latitude: this.latitudeful,
longitude: this.longitudeful,
latitude: app.globalData.latitude,
longitude: app.globalData.longitude,
pageNum: pagenum,
pageSize: this.pageSize,
isTyAgent: this.isTyAgent

@ -249,12 +249,7 @@
})
// #endif
//
// #ifdef MP
this.postionIng();
// #endif
// #ifdef H5
this.getCoordinates();
// #endif
uni.getStorage({
key: "user",
success(e) {
@ -284,7 +279,7 @@
methods: {
jumpcdx() {
location.href =
'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa075e8509802f826&redirect_uri=https%3A%2F%2Fhsgcs.dctpay.com%2FhsgH5%2Findex.html%23%2F&response_type=code&scope=snsapi_base&state=1#wechat_redirect';
'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa075e8509802f826&redirect_uri=https%3A%2F%2Fhsg.dctpay.com%2FhsgH5%2Findex.html%23%2F&response_type=code&scope=snsapi_base&state=1#wechat_redirect';
},
//
getCmsContentcmsContent() {

Loading…
Cancel
Save