| | |
| | | "name" : "大返官", |
| | | "appid" : "__UNI__FC8858A", |
| | | "description" : "大返官app", |
| | | "versionName" : "1.2.1", |
| | | "versionCode" : 121, |
| | | "versionName" : "1.2.2", |
| | | "versionCode" : 122, |
| | | "transformPx" : false, |
| | | /* 5+App特有相关 */ |
| | | "app-plus" : { |
| | |
| | | setTimeout(function(){ |
| | | univerifyManager.close(); |
| | | },2000); |
| | | that.isyj=false; |
| | | }) |
| | | }, |
| | | mobShow() |
| | |
| | | }, |
| | | bindMobile(){ |
| | | var that = this; |
| | | if(!this.hasLogin && this.wxUser != ""){ |
| | | console.log(this.hasLogin) |
| | | console.log(this.wxUser) |
| | | if(this.wxUser != ""){ |
| | | this.$u.api.bindMobileLogin({ |
| | | wxUser : encodeURIComponent(JSON.stringify(that.wxUser)), |
| | | mobile:this.phone, |
| | |
| | | }else{ |
| | | this.$u.api.changeMobile({ |
| | | mobile:this.phone, |
| | | captcha:this.code |
| | | captcha:this.code, |
| | | isyj:this.isyj |
| | | }).then(e => { |
| | | if(e.code != 0) return that.$alert(e.msg) |
| | | that.$alert('绑定成功'); |
| | |
| | | inviteCodeShow:false, |
| | | inviterShow:false, |
| | | isshowtype:false, |
| | | hasshow:false |
| | | } |
| | | }, |
| | | onPageScroll(e) { |
| | |
| | | this.getmoneyInfo() |
| | | this.getuserInfo() |
| | | } |
| | | |
| | | // #ifdef APP-PLUS |
| | | |
| | | var showtar = getApp().globalData.ifwt == 1 ? false : true; |
| | | var platform = plus.os.name; |
| | | console.log(showtar); |
| | | console.log(platform); |
| | | //showtar&&platform=='iOS' |
| | | if(showtar&&platform=='iOS') |
| | | {//跳转new |
| | | this.isshowtype=true; |
| | | return; |
| | | if(!this.hasshow) |
| | | { |
| | | this.shShow(); |
| | | } |
| | | // #endif |
| | | }, |
| | | methods: { |
| | | shShow() |
| | | { |
| | | var that=this; |
| | | this.$u.api.comminInt({}).then(e => { |
| | | that.hasshow=true; |
| | | // #ifdef APP-PLUS |
| | | if (plus.os.name == 'iOS') { |
| | | if (e.data.basic.iosExamine && plus.runtime.version == e.data.basic.IosExamineV) { |
| | | that.isshowtype=true; |
| | | } else { |
| | | that.isshowtype=false; |
| | | } |
| | | } |
| | | // #endif |
| | | }).catch(function(err) { |
| | | console.log(err); |
| | | }) |
| | | }, |
| | | getInit() |
| | | { |
| | | console.log(getApp().globalData) |