修改用户隐私协议 改成app内跳转

This commit is contained in:
zhouyanli
2026-08-11 17:30:58 +08:00
parent 5247b538b2
commit ffdc8f095e
7 changed files with 300 additions and 161 deletions

View File

@@ -149,22 +149,16 @@ const toggleAgreement = () => {
}
// 打开用户协议
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
uni.navigateTo({
url: '/pageSubPack/loginSub/user-agreement'
})
}
// 打开隐私政策
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
uni.navigateTo({
url: '/pageSubPack/loginSub/privacy'
})
}
// 不同意隐私协议