From 9a075e01191468d975d748025497cc91fb124e1d Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期三, 26 七月 2023 14:24:05 +0800
Subject: [PATCH] no message

---
 uniapp/pages/mine/mine.vue |   41 +++++++++++++++++++++++++----------------
 1 files changed, 25 insertions(+), 16 deletions(-)

diff --git a/uniapp/pages/mine/mine.vue b/uniapp/pages/mine/mine.vue
index 54c381c..87f34a6 100644
--- a/uniapp/pages/mine/mine.vue
+++ b/uniapp/pages/mine/mine.vue
@@ -1,8 +1,8 @@
 <template>
-	<!-- <view v-if="isshowtype">
+	<view v-if="isshowtype">
 		<minePage></minePage>
-	</view> -->
-	<view class="minePage-wrapper">
+	</view>
+	<view v-else class="minePage-wrapper">
 		<view class="fixed-box colCen" style="background:linear-gradient(263deg, #D20CFC, #8905F6);">
 			<view class="topbarbox"></view>
 			<view class="navigate-container rowCenBet">
@@ -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