更新:ios支付

This commit is contained in:
2025-12-11 17:30:45 +08:00
parent b3d9b0c100
commit d98e1ef024
8 changed files with 176 additions and 32 deletions

View File

@@ -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>