feat(fe): 隐藏「我的帖子」入口 + 设置新增用户协议/隐私政策页

- mine 页「我的帖子」入口随社区下线隐藏(代码注释保留,恢复社区时解开)
- 新增 pages/agreement:一页两用(type=user/privacy),含完整协议/政策文案
- 设置页新增「用户协议」「隐私政策」两个入口

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Blizzard
2026-08-04 10:03:20 +08:00
parent b49bf0f0f9
commit d3a3e9ad1e
8 changed files with 186 additions and 1 deletions
+4
View File
@@ -40,6 +40,10 @@ Page({
openSheet(e) {
this.setData({ sheetType: e.currentTarget.dataset.type, sheetShow: true });
},
// 用户协议 / 隐私政策
goAgreement(e) {
wx.navigateTo({ url: '/pages/agreement/agreement?type=' + e.currentTarget.dataset.type });
},
// 自己的关注/粉丝。之前只有帖子上的「+关注」按钮,关注完没有任何地方能看
goRelations(e) {
const uid = (this.data.user && this.data.user.id) || '';