更换banner组件,添加用户隐私协议链接

This commit is contained in:
zhouyanli
2026-06-26 10:07:44 +08:00
parent d0e80824d8
commit f19fb0d9d9
591 changed files with 79931 additions and 83 deletions

View File

@@ -72,7 +72,7 @@
<text class="agreePrivacy">《用户隐私政策》</text>
</text> -->
<text class="agreement-text" >我已阅读并同意
<text class="agreePrivacy" @click.stop="">《用户协议》</text>和
<text class="agreePrivacy" @click.stop="goToUserAgreement">《用户协议》</text>和
<text class="agreePrivacy" @click.stop="goToPrivacy">《隐私政策》</text>
</text>
</view>
@@ -139,10 +139,25 @@ const checkForm = () => {
const toggleAgreement = () => {
agreeAgreement.value = !agreeAgreement.value
}
// 打开隐私协议弹窗
const goToPrivacy = () => {
showPrivacyPopup.value = true
}
// 打开用户协议
const goToUserAgreement = () => {
// #ifdef APP-PLUS
plus.runtime.openURL('https://wuye.ckdzkj.com/parivw/butler_xieyi.html')
// #endif
// #ifdef H5
window.open('https://wuye.ckdzkj.com/parivw/butler_xieyi.html')
// #endif
}
// 打开隐私政策
const goToPrivacy = () => {
// #ifdef APP-PLUS
plus.runtime.openURL('https://wuye.ckdzkj.com/parivw/butler.html')
// #endif
// #ifdef H5
window.open('https://wuye.ckdzkj.com/parivw/butler.html')
// #endif
}
// 不同意隐私协议