From afb7bcf6e31979be352bfcf14812d52339478cef Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期日, 25 六月 2023 08:55:23 +0800 Subject: [PATCH] Merge tag '苹果审核修改' into develop --- uniapp/pages/mine/mine.vue | 38 ++++++++++++++++++++++++-------------- 1 files changed, 24 insertions(+), 14 deletions(-) diff --git a/uniapp/pages/mine/mine.vue b/uniapp/pages/mine/mine.vue index 47f7d73..87f34a6 100644 --- a/uniapp/pages/mine/mine.vue +++ b/uniapp/pages/mine/mine.vue @@ -291,6 +291,7 @@ inviteCodeShow:false, inviterShow:false, isshowtype:false, + hasshow:false } }, onPageScroll(e) { @@ -323,26 +324,36 @@ 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) if(!getApp().globalData.hasinit) { + console.log('鍒濆鍖�1111') getApp().getAppInfo(); setTimeout(()=>{ this.getInit(); @@ -383,7 +394,6 @@ var that = this; this.$u.api.getBanner({type:'2'}).then(e => { if(e.code == 1)return that.$alert(e.msg); - console.log(e.data.info) that.bannerList = e.data.info; }).catch(function (err) { }) -- Gitblit v1.9.3