This commit is contained in:
zhangmanman
2021-08-13 13:30:35 +08:00
parent 540d76bdb8
commit 8f7cc986c2
46 changed files with 1582 additions and 1056 deletions

13
app.js
View File

@@ -9,7 +9,10 @@ var QQMapWX = require('utils/qqmap-wx-jssdk.min.js');
var qqmapsdk;
App({
onLaunch() {
onLaunch(e) {
// 获取打开场景值
this.globalData.scene = e.scene
// 沃支付是否开启
api.index.woPayment().then(res=>{
this.globalData.unicomPay = res.data.unicom_pay
@@ -61,6 +64,7 @@ App({
wx.$api = api
},
globalData: {
scene : '',
isUser : false,
userInfo : null,
token : "",
@@ -72,6 +76,11 @@ App({
adcode : '',
longitude : '',
latitude : '',
unicomPay : false
unicomPay : '',
shareObj : {
type : '',
goodsId : '',
userId : ''
}
}
})