| | |
| | | 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) |