| | |
| | | setTimeout(function(){ |
| | | univerifyManager.close(); |
| | | },2000); |
| | | that.isyj=false; |
| | | }) |
| | | }, |
| | | mobShow() |
| | |
| | | url: './setInviteCode' |
| | | }) |
| | | } |
| | | else if (e.data.userinfo.isPwd == 'N') { |
| | | /* else if (e.data.userinfo.isPwd == 'N') { |
| | | uni.redirectTo({ |
| | | url: './setPass' |
| | | }) |
| | | } else { |
| | | } */else { |
| | | uni.switchTab({ |
| | | url: '../index/index' |
| | | }) |
| | |
| | | }, |
| | | 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('绑定成功'); |