修复 登录时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">
<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();