feat: 页面重写与流程优化

- 门票Tab展示已购门票记录(可核销/已核销/已退款)
- 购买次数去掉合计金额行
- 登录后直接跳profile/detail,合并setup页(不区分模式)
- profile/detail增加返回首页按钮
- 约课页移除UnauthLoginPanel
- 401跳转改为reLaunch到login页,不显示toast
- membership/cards仅展示可用卡,恢复点击进详情
- available-sessions改为只读展示,移除预约逻辑
- profile/orders重写样式,单行状态筛选
- profile/balance重写样式,onShow自动刷新
- profile/index移除冗余菜单项(篮球门票/充值/我的预约/个人信息/切换场馆)
- profile/index移除AgreementLinks,我的次卡改为我的会员卡
- pages.json移除setup页注册
This commit is contained in:
gqt
2026-07-13 21:43:59 +08:00
parent 5487ece142
commit 6a18d3de61
9 changed files with 385 additions and 433 deletions
@@ -13,7 +13,7 @@ const session = useComprehensiveSessionStore()
const handleLogin = async () => {
try {
await session.login()
uni.redirectTo({ url: '/pages/comprehensive/profile/setup' })
uni.redirectTo({ url: '/pages/comprehensive/profile/detail' })
} catch {
uni.showToast({ title: '登录失败,请重试', icon: 'none' })
}