qxf #394
@ -34,7 +34,8 @@
 | 
			
		||||
			<!-- 注册 -->
 | 
			
		||||
			<view class="more_Login">
 | 
			
		||||
				<text @click="registerUrl()">{{register}}</text>
 | 
			
		||||
				<text class="other" @click="mask_u">其他方式登录</text>
 | 
			
		||||
				<!-- TODO 苹果因审核原因暂时隐藏第三方登录 -->
 | 
			
		||||
				<text v-if="platform != 'ios'" class="other" @click="mask_u">其他方式登录</text>
 | 
			
		||||
			</view>
 | 
			
		||||
			<!-- denglu QQ weixin -->
 | 
			
		||||
			<view class="buttones">
 | 
			
		||||
@ -98,11 +99,19 @@
 | 
			
		||||
				}, ],
 | 
			
		||||
				temp_url: "", // 上个页面路径
 | 
			
		||||
				pagesArr: ["pages/mine/index"], // 特殊路径
 | 
			
		||||
				platform: '', // 手机平台
 | 
			
		||||
			};
 | 
			
		||||
		},
 | 
			
		||||
		onLoad() {
 | 
			
		||||
			// 数据的请求
 | 
			
		||||
			// this.apiwelcome();
 | 
			
		||||
			// 获取手机平台
 | 
			
		||||
			uni.getSystemInfo({
 | 
			
		||||
			    success: (res) => {
 | 
			
		||||
					console.log(res);
 | 
			
		||||
					this.platform = res.platform
 | 
			
		||||
			    }
 | 
			
		||||
			});
 | 
			
		||||
		},
 | 
			
		||||
		onShow() {
 | 
			
		||||
			let pages = getCurrentPages();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user