6a18d3de61
- 门票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页注册
29 lines
661 B
Vue
29 lines
661 B
Vue
<template>
|
|
<view class="login-page">
|
|
<UnauthLoginPanel @login="handleLogin" />
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { useComprehensiveSessionStore } from '@/modules/comprehensive/stores/session'
|
|
import UnauthLoginPanel from '@/components/UnauthLoginPanel.vue'
|
|
|
|
const session = useComprehensiveSessionStore()
|
|
|
|
const handleLogin = async () => {
|
|
try {
|
|
await session.login()
|
|
uni.redirectTo({ url: '/pages/comprehensive/profile/detail' })
|
|
} catch {
|
|
uni.showToast({ title: '登录失败,请重试', icon: 'none' })
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.login-page {
|
|
min-height: 100vh;
|
|
background: $bg-color-soft;
|
|
}
|
|
</style>
|