修复 登录时iOS平台暂时隐藏第三方登录,方便过审

This commit is contained in:
亓雪峰 2020-11-12 15:19:15 +08:00
parent ecfc79fbf8
commit 456edb252e

View File

@ -34,7 +34,8 @@
<!-- 注册 --> <!-- 注册 -->
<view class="more_Login"> <view class="more_Login">
<text @click="registerUrl()">{{register}}</text> <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> </view>
<!-- denglu QQ weixin --> <!-- denglu QQ weixin -->
<view class="buttones"> <view class="buttones">
@ -98,11 +99,19 @@
}, ], }, ],
temp_url: "", // temp_url: "", //
pagesArr: ["pages/mine/index"], // pagesArr: ["pages/mine/index"], //
platform: '', //
}; };
}, },
onLoad() { onLoad() {
// //
// this.apiwelcome(); // this.apiwelcome();
//
uni.getSystemInfo({
success: (res) => {
console.log(res);
this.platform = res.platform
}
});
}, },
onShow() { onShow() {
let pages = getCurrentPages(); let pages = getCurrentPages();