feat(site): 导航登录态下拉菜单 + 个人信息/退出登录页,登录不再直跳 App

- 导航「进入系统 · 名字」改为下拉:个人信息 / 进入系统 / 退出登录,导航可重入刷新(window.jiuNavRender)
- 新增 /profile/(账号 / 门店 / 授权三卡,authFetch 实时拉取)与 /logout/(撤销会话 + 清本地凭证)
- 登录成功默认落地 /profile/(?next= 站内白名单不变),不再直跳 /app/
- auth.js 增加 jiuAuth.clear();site.css 含本轮下拉 / profile / 特惠卡样式

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
This commit is contained in:
wangjia
2026-07-03 22:24:55 +08:00
parent 24123eb93c
commit c7de728c18
7 changed files with 237 additions and 16 deletions
+2 -2
View File
@@ -25,7 +25,7 @@
<a href="/#pricing">价格</a>
<a href="/download/">下载</a>
<a href="/docs/">帮助</a>
<a href="/register/">注册门店</a>
<a href="/login/">登录</a>
<a href="/register/" data-auth>注册门店</a>
<a href="/login/" data-auth>登录</a>
</div>
</nav>