From dd13f704cd41f0f4d84bb48f5d216112250fe1a3 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期三, 21 六月 2023 15:36:42 +0800 Subject: [PATCH] no message --- uniapp/pages/mine/mine.vue | 35 ++++++++++++++++++++++------------- 1 files changed, 22 insertions(+), 13 deletions(-) diff --git a/uniapp/pages/mine/mine.vue b/uniapp/pages/mine/mine.vue index caf3789..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,22 +324,30 @@ 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) -- Gitblit v1.9.3