feat(protocol): add dedicated full-text legal protocol page with smooth scroll view and link from login and user center
这个提交包含在:
@@ -816,18 +816,26 @@ const openFaq = () => {
|
||||
};
|
||||
|
||||
const openAbout = () => {
|
||||
const proto = platformConfigs.value.platform_protocol || {};
|
||||
if (privacyModalRef.value && privacyModalRef.value.show) {
|
||||
privacyModalRef.value.show();
|
||||
} else {
|
||||
const fullText = (proto.userAgreementContent ? `【用户服务协议】\n${proto.userAgreementContent}\n\n` : '') +
|
||||
(proto.privacyPolicyContent ? `【隐私保护指引】\n${proto.privacyPolicyContent}` : (proto.content || proto.summary || '严禁发布任何违规言论及低俗诈骗行为,平台全面遵循微信内容安全风控与用户隐私保护标准。'));
|
||||
uni.showModal({
|
||||
title: proto.title || '用户服务协议与隐私规范',
|
||||
content: fullText,
|
||||
showCancel: false
|
||||
});
|
||||
}
|
||||
uni.showActionSheet({
|
||||
itemList: ['用户服务协议', '隐私保护指引'],
|
||||
success: (res) => {
|
||||
const type = res.tapIndex === 1 ? 'privacy' : 'service';
|
||||
uni.navigateTo({
|
||||
url: `/pages/common/protocol?type=${type}`,
|
||||
fail: () => {
|
||||
const proto = platformConfigs.value.platform_protocol || {};
|
||||
const fullText = type === 'privacy'
|
||||
? (proto.privacyPolicyContent || '平台全面遵守微信小程序开发者隐私规范要求,对用户数据实施高强度加密保护。')
|
||||
: (proto.userAgreementContent || '平台遵循合法合规与安全原则,所有同城活动履约均须在公开透明街区展开。');
|
||||
uni.showModal({
|
||||
title: type === 'privacy' ? (proto.privacyPolicyTitle || '隐私保护指引') : (proto.userAgreementTitle || '用户服务协议'),
|
||||
content: fullText,
|
||||
showCancel: false
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
const navTo = (url) => {
|
||||
|
||||
在新工单中引用
屏蔽一个用户