feat(fe): 隐藏社区 tab(只留首页/报告/我的)+ 别人主页关注粉丝不可再点开

- custom-tab-bar 去掉社区入口(页面与 app.json 注册保留,加回一行即可恢复)
- profile-head 新增 relationsClickable,别人主页传 false:从关注/粉丝列表进对方
  主页后,对方的关注/粉丝数字只展示不可点开,避免无限套娃;「我的」页不受影响

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Blizzard
2026-08-04 09:51:09 +08:00
parent 8812ffd7b9
commit b49bf0f0f9
3 changed files with 9 additions and 2 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ module.exports.isUrl = function (s) { return s && s.indexOf('http') === 0; }
<view wx:if="{{loading}}" class="empty lg">加载中…</view>
<block wx:elif="{{card}}">
<profile-head card="{{card}}" bind:follow="toggleFollow"
<!-- 别人主页:关注/粉丝数字只展示、不可点开,避免从列表进主页后又开对方列表无限套娃 -->
<profile-head card="{{card}}" relations-clickable="{{false}}" bind:follow="toggleFollow"
bind:relations="goRelations" bind:decorate="goDecorate"
bind:pet="goPet"></profile-head>