feat(protocol): add dedicated full-text legal protocol page with smooth scroll view and link from login and user center
这个提交包含在:
@@ -249,20 +249,30 @@ const loginWithDemo = (acc) => {
|
||||
};
|
||||
|
||||
const openUserAgreement = () => {
|
||||
uni.showModal({
|
||||
title: platformProtocol.value.userAgreementTitle || '用户服务协议',
|
||||
content: platformProtocol.value.userAgreementContent,
|
||||
showCancel: false,
|
||||
confirmText: '我知道了'
|
||||
uni.navigateTo({
|
||||
url: '/pages/common/protocol?type=service',
|
||||
fail: () => {
|
||||
uni.showModal({
|
||||
title: platformProtocol.value.userAgreementTitle || '用户服务协议',
|
||||
content: platformProtocol.value.userAgreementContent,
|
||||
showCancel: false,
|
||||
confirmText: '我知道了'
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
const openPrivacyAgreement = () => {
|
||||
uni.showModal({
|
||||
title: platformProtocol.value.privacyPolicyTitle || '隐私保护指引',
|
||||
content: platformProtocol.value.privacyPolicyContent,
|
||||
showCancel: false,
|
||||
confirmText: '我知道了'
|
||||
uni.navigateTo({
|
||||
url: '/pages/common/protocol?type=privacy',
|
||||
fail: () => {
|
||||
uni.showModal({
|
||||
title: platformProtocol.value.privacyPolicyTitle || '隐私保护指引',
|
||||
content: platformProtocol.value.privacyPolicyContent,
|
||||
showCancel: false,
|
||||
confirmText: '我知道了'
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
||||
在新工单中引用
屏蔽一个用户