From 4ac3c2382e0733685f7612f8e9ca4e85d15c1411 Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期日, 25 六月 2023 08:55:00 +0800
Subject: [PATCH] Merge branch 'hotfix/苹果审核修改'

---
 uniapp/pages/rankinglist/xianbao.vue |   24 +++++++++++-------------
 1 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/uniapp/pages/rankinglist/xianbao.vue b/uniapp/pages/rankinglist/xianbao.vue
index e0d4a4b..eace27c 100644
--- a/uniapp/pages/rankinglist/xianbao.vue
+++ b/uniapp/pages/rankinglist/xianbao.vue
@@ -1,5 +1,5 @@
 <template>
-	<view v-if="!isshowtype">
+	<view v-if="isshowtype">
 		<findPage></findPage>
 	</view>
 	<view v-else>
@@ -35,22 +35,20 @@
 			if(showtar&&platform=='iOS')
 			{//璺宠浆new
 				this.isshowtype=true;
-				
-				return;
+			}
+			else
+			{
+				if(!this.hasLogin){
+					uni.reLaunch({
+						url:"/pages/login/wxlogin"
+					})
+				}
 			}
 			// #endif
 		},
 		onLoad(options) {
-			if(!this.hasLogin){
-				uni.reLaunch({
-					url:"/pages/login/wxlogin"
-				})
-			}
-			else{
-				const value = uni.getStorageSync('userInfo');
-				this.webviewUrl = encodeURI('http://dfgapp.ushopvip.com/html/xianbao.html?token='+value.token);
-			}
-			
+			const value = uni.getStorageSync('userInfo');
+			this.webviewUrl = encodeURI('http://dfgapp.ushopvip.com/html/xianbao.html?token='+value.token);
 		},
 		onReady() {
 		  this.clearMuiBack();

--
Gitblit v1.9.3