更新:ios支付
This commit is contained in:
@@ -115,7 +115,7 @@
|
||||
</view>
|
||||
|
||||
<!-- 游客体验 -->
|
||||
<view class="youke-l">
|
||||
<view class="youke-l" v-if="!isAndorid">
|
||||
<view @click="onPageJump('/pages/course/index')">
|
||||
{{ $t('login.noLogin') }}
|
||||
</view>
|
||||
@@ -184,6 +184,7 @@ let codeTimer: any = null
|
||||
|
||||
// 提交点击次数
|
||||
const submitClickNum = ref(0)
|
||||
const isAndorid = ref(false)
|
||||
|
||||
/**
|
||||
* 切换登录方式
|
||||
@@ -437,7 +438,18 @@ const agreeAgreements = () => {
|
||||
uni.setStorageSync('Agreements_agreed', agree.value);
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断当前系统
|
||||
*/
|
||||
const getOS = () =>{
|
||||
const oprateOs = uni.getSystemInfoSync().platform
|
||||
console.log(oprateOs, 'oprateOs');
|
||||
isAndorid.value = oprateOs === "android" ? true : false
|
||||
console.log(isAndorid.value);
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
getOS()
|
||||
loadAgreements()
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user