| @@ -2,35 +2,45 @@ | |||||
| "ext": { | "ext": { | ||||
| "attr": { | "attr": { | ||||
| "car": { | "car": { | ||||
| "tjd": { | |||||
| "payPath": "", | |||||
| "tjdAppId": "wx6945d1bda68d7993" | |||||
| }, | |||||
| "etcp": { | "etcp": { | ||||
| "etcpAppId": "wx192b7d2e8dcbefd0", | |||||
| "etcpVersion": "release", | |||||
| "etcpCallbackUrl": "https://admintest.malls.iformall.com/api/carCallback/etcpPaidCallback" | |||||
| } | |||||
| "payPath": "pages/pay/order-pay-open/main", | |||||
| "etcpAppId": "wxc07f9d67923d676d", | |||||
| "etcpCallbackUrl": "https://admin.malls.iformall.com/api/carCallback/etcpPaidCallback" | |||||
| }, | |||||
| "bolink": { | |||||
| "payPath": "pages/park/park", | |||||
| "bolinkAppId": "wxbd08b4baa10fcc1d" | |||||
| }, | |||||
| "version": "release" | |||||
| }, | }, | ||||
| "mchId": "1604439800", | |||||
| "mchId": "1698320008", | |||||
| "imgProxy": [ | "imgProxy": [ | ||||
| { | { | ||||
| "newUrl": "https://ctest.malls.iformall.com/img", | |||||
| "newUrl": "https://c.malls.iformall.com/img", | |||||
| "orgUrl": "https://iformall-net.formall.oss-accelerate.aliyuncs.com" | "orgUrl": "https://iformall-net.formall.oss-accelerate.aliyuncs.com" | ||||
| }, | }, | ||||
| { | { | ||||
| "newUrl": "https://ctest.malls.iformall.com/img1", | |||||
| "newUrl": "https://c.malls.iformall.com/img1", | |||||
| "orgUrl": "https://formall.oss-accelerate.aliyuncs.com" | "orgUrl": "https://formall.oss-accelerate.aliyuncs.com" | ||||
| }, | }, | ||||
| { | { | ||||
| "newUrl": "https://ctest.malls.iformall.com/img2", | |||||
| "newUrl": "https://c.malls.iformall.com/img2", | |||||
| "orgUrl": "https://wx.qlogo.cn" | "orgUrl": "https://wx.qlogo.cn" | ||||
| } | } | ||||
| ], | ], | ||||
| "configUrl": "https://ctest.malls.iformall.com/C/api", | |||||
| "businessSwitch": "1", | |||||
| "mchIdOld": "1698320008", | |||||
| "configUrl": "https://c.malls.iformall.com/C/api", | |||||
| "ifStoreApp": "0", | |||||
| "ifHaveWebSocket": "0", | "ifHaveWebSocket": "0", | ||||
| "ifHaveCarModular": "1" | "ifHaveCarModular": "1" | ||||
| }, | }, | ||||
| "name": "金泸商务", | |||||
| "weappId": "wx649b3be73c1afe47", | |||||
| "appVersion": "C.test.5.2.0" | |||||
| "name": "株洲东都国际广场", | |||||
| "weappId": "wxdcaa5b92ea7de725", | |||||
| "appVersion": "C.5.1.1" | |||||
| }, | }, | ||||
| "debug": false, | "debug": false, | ||||
| "tabBar": { | "tabBar": { | ||||
| @@ -66,8 +76,7 @@ | |||||
| "selectedIconPath": "assets/images/user-a.png" | "selectedIconPath": "assets/images/user-a.png" | ||||
| } | } | ||||
| ], | ], | ||||
| "color": "#abb1be", | |||||
| "selectedColor": "#b2743d" | |||||
| "custom": true | |||||
| }, | }, | ||||
| "window": { | "window": { | ||||
| "backgroundTextStyle": "dark", | "backgroundTextStyle": "dark", | ||||
| @@ -75,17 +84,7 @@ | |||||
| "navigationBarTitleText": "", | "navigationBarTitleText": "", | ||||
| "navigationBarBackgroundColor": "#FFFFFF" | "navigationBarBackgroundColor": "#FFFFFF" | ||||
| }, | }, | ||||
| "plugins": { | |||||
| "auto-points-plugin": { | |||||
| "version": "1.3.0", | |||||
| "provider": "wxfab2bf944bfc4da6" | |||||
| }, | |||||
| "live-player-plugin": { | |||||
| "version": "1.3.4", | |||||
| "provider": "wx2b03c6e691cd7370" | |||||
| } | |||||
| }, | |||||
| "extAppid": "wx649b3be73c1afe47", | |||||
| "extAppid": "wxdcaa5b92ea7de725", | |||||
| "extEnable": true, | "extEnable": true, | ||||
| "permission": { | "permission": { | ||||
| "scope.userLocation": { | "scope.userLocation": { | ||||
| @@ -97,8 +96,5 @@ | |||||
| "request": 30000, | "request": 30000, | ||||
| "downloadFile": 10000 | "downloadFile": 10000 | ||||
| }, | }, | ||||
| "requiredPrivateInfos": [ | |||||
| "chooseLocation", | |||||
| "getLocation" | |||||
| ] | |||||
| "privacy_api_not_use": true | |||||
| } | } | ||||
| @@ -56,20 +56,22 @@ Page({ | |||||
| }) | }) | ||||
| }, | }, | ||||
| address: function () { | address: function () { | ||||
| let that = this; | |||||
| wx.chooseLocation({ | |||||
| success: function (res) { | |||||
| that.setData({ | |||||
| address: res.name + '(' + res.address + ')', | |||||
| addressStr: JSON.stringify(res) | |||||
| }) | |||||
| }, | |||||
| fail: function (error) { | |||||
| console.log(error) | |||||
| }, | |||||
| complete: function (data) { | |||||
| } | |||||
| }) | |||||
| return | |||||
| // let that = this; | |||||
| // wx.choose | |||||
| // Location({ | |||||
| // success: function (res) { | |||||
| // that.setData({ | |||||
| // address: res.name + '(' + res.address + ')', | |||||
| // addressStr: JSON.stringify(res) | |||||
| // }) | |||||
| // }, | |||||
| // fail: function (error) { | |||||
| // console.log(error) | |||||
| // }, | |||||
| // complete: function (data) { | |||||
| // } | |||||
| // }) | |||||
| }, | }, | ||||
| formSubmit: function (e) { | formSubmit: function (e) { | ||||
| console.log(e.detail, "formSubmit") | console.log(e.detail, "formSubmit") | ||||
| @@ -62,19 +62,21 @@ Page({ | |||||
| }) | }) | ||||
| }, | }, | ||||
| address: function () { | address: function () { | ||||
| return | |||||
| let that = this; | let that = this; | ||||
| wx.chooseLocation({ | |||||
| success: function (res) { | |||||
| that.setData({ | |||||
| address: res.name + '(' + res.address + ')', | |||||
| addressStr: JSON.stringify(res) | |||||
| }) | |||||
| }, | |||||
| fail: function (error) { | |||||
| console.log(error) | |||||
| }, | |||||
| complete: function (data) { } | |||||
| }) | |||||
| // wx.chooseLo | |||||
| // cation({ | |||||
| // success: function (res) { | |||||
| // that.setData({ | |||||
| // address: res.name + '(' + res.address + ')', | |||||
| // addressStr: JSON.stringify(res) | |||||
| // }) | |||||
| // }, | |||||
| // fail: function (error) { | |||||
| // console.log(error) | |||||
| // }, | |||||
| // complete: function (data) { } | |||||
| // }) | |||||
| }, | }, | ||||
| change(value) { | change(value) { | ||||
| console.log(value) | console.log(value) | ||||
| @@ -23,11 +23,11 @@ Page({ | |||||
| array1: ['附近住户', '距离2km', '距离3km', '更远'], | array1: ['附近住户', '距离2km', '距离3km', '更远'], | ||||
| index: 0, | index: 0, | ||||
| index1: 0, | index1: 0, | ||||
| showPage:false, | |||||
| credit:"", | |||||
| goHomeUrl:"", | |||||
| showPage: false, | |||||
| credit: "", | |||||
| goHomeUrl: "", | |||||
| }, | }, | ||||
| gotomyAc(){ | |||||
| gotomyAc() { | |||||
| wx.navigateTo({ | wx.navigateTo({ | ||||
| url: '/pages/user/myactivity/index', | url: '/pages/user/myactivity/index', | ||||
| }) | }) | ||||
| @@ -64,20 +64,22 @@ Page({ | |||||
| }) | }) | ||||
| }, | }, | ||||
| address: function () { | address: function () { | ||||
| return | |||||
| let that = this; | let that = this; | ||||
| wx.chooseLocation({ | |||||
| success: function (res) { | |||||
| that.setData({ | |||||
| address: res.name + '(' + res.address + ')', | |||||
| addressStr: JSON.stringify(res) | |||||
| }) | |||||
| }, | |||||
| fail: function (error) { | |||||
| console.log(error) | |||||
| }, | |||||
| complete: function (data) { | |||||
| } | |||||
| }) | |||||
| // wx.chooseL | |||||
| // ocation({ | |||||
| // success: function (res) { | |||||
| // that.setData({ | |||||
| // address: res.name + '(' + res.address + ')', | |||||
| // addressStr: JSON.stringify(res) | |||||
| // }) | |||||
| // }, | |||||
| // fail: function (error) { | |||||
| // console.log(error) | |||||
| // }, | |||||
| // complete: function (data) { | |||||
| // } | |||||
| // }) | |||||
| }, | }, | ||||
| formSubmit: function (e) { | formSubmit: function (e) { | ||||
| let that = this; | let that = this; | ||||
| @@ -115,7 +117,7 @@ Page({ | |||||
| if (username == null || address == null || sex == 0 || birthdate == null) { | if (username == null || address == null || sex == 0 || birthdate == null) { | ||||
| wx.showToast({ | wx.showToast({ | ||||
| title: '请输入完整的用户信息', | title: '请输入完整的用户信息', | ||||
| icon:"none" | |||||
| icon: "none" | |||||
| }) | }) | ||||
| } else { | } else { | ||||
| Http.post({ | Http.post({ | ||||
| @@ -128,22 +130,22 @@ Page({ | |||||
| activityId: that.data.activityId | activityId: that.data.activityId | ||||
| } | } | ||||
| }) | }) | ||||
| .then(res => { | |||||
| wx.showToast({ | |||||
| title: "修改成功", | |||||
| icon: 'none', | |||||
| duration: 2000, | |||||
| mask: false | |||||
| .then(res => { | |||||
| wx.showToast({ | |||||
| title: "修改成功", | |||||
| icon: 'none', | |||||
| duration: 2000, | |||||
| mask: false | |||||
| }) | |||||
| }) | }) | ||||
| }) | |||||
| .catch(err => { | |||||
| wx.showToast({ | |||||
| title: err.message, | |||||
| icon: 'none', | |||||
| duration: 2000, | |||||
| mask: false | |||||
| .catch(err => { | |||||
| wx.showToast({ | |||||
| title: err.message, | |||||
| icon: 'none', | |||||
| duration: 2000, | |||||
| mask: false | |||||
| }) | |||||
| }) | }) | ||||
| }) | |||||
| } | } | ||||
| }, | }, | ||||
| radioChange: function (e) { | radioChange: function (e) { | ||||
| @@ -161,7 +163,7 @@ Page({ | |||||
| goHomeUrl: app.globalData.goHomeUrl, | goHomeUrl: app.globalData.goHomeUrl, | ||||
| }) | }) | ||||
| console.log(options) | console.log(options) | ||||
| if (options && options.activityId){ | |||||
| if (options && options.activityId) { | |||||
| that.setData({ | that.setData({ | ||||
| activityId: options.activityId | activityId: options.activityId | ||||
| }) | }) | ||||
| @@ -177,7 +179,7 @@ Page({ | |||||
| } | } | ||||
| }).then(res => { | }).then(res => { | ||||
| if (res && res.data && res.data.activity) { | if (res && res.data && res.data.activity) { | ||||
| if (res.data.activity.useCredit===1){ | |||||
| if (res.data.activity.useCredit === 1) { | |||||
| that.setData({ | that.setData({ | ||||
| credit: res.data.activity.credit | credit: res.data.activity.credit | ||||
| }) | }) | ||||
| @@ -115,21 +115,23 @@ Page({ | |||||
| }, | }, | ||||
| setAddress() { | setAddress() { | ||||
| return | |||||
| let that = this; | let that = this; | ||||
| wx.chooseLocation({ | |||||
| success: function (res) { | |||||
| that.setData({ | |||||
| address: res.name + '(' + res.address + ')', | |||||
| addressStr: JSON.stringify(res) | |||||
| }) | |||||
| }, | |||||
| fail: function (error) { | |||||
| console.log(error) | |||||
| }, | |||||
| complete: function (data) { | |||||
| } | |||||
| }) | |||||
| // wx.chooseL | |||||
| // ocation({ | |||||
| // success: function (res) { | |||||
| // that.setData({ | |||||
| // address: res.name + '(' + res.address + ')', | |||||
| // addressStr: JSON.stringify(res) | |||||
| // }) | |||||
| // }, | |||||
| // fail: function (error) { | |||||
| // console.log(error) | |||||
| // }, | |||||
| // complete: function (data) { | |||||
| // } | |||||
| // }) | |||||
| }, | }, | ||||
| goSetChildren() { | goSetChildren() { | ||||
| @@ -35,7 +35,7 @@ | |||||
| }, | }, | ||||
| "compileType": "miniprogram", | "compileType": "miniprogram", | ||||
| "libVersion": "2.11.2", | "libVersion": "2.11.2", | ||||
| "appid": "wxfa336cad86ed598d", | |||||
| "appid": "wx453ae0d37f3550d0", | |||||
| "projectname": "C", | "projectname": "C", | ||||
| "simulatorType": "wechat", | "simulatorType": "wechat", | ||||
| "simulatorPluginLibVersion": {}, | "simulatorPluginLibVersion": {}, | ||||