整合api请求、添加购买会员卡页面、登陆页面

This commit is contained in:
future
2026-06-23 22:17:53 +08:00
parent 1c547a717e
commit 8d8c823616
70 changed files with 7666 additions and 2656 deletions
@@ -1,6 +1,9 @@
/** 个人中心模块 mock 数据(后续可替换为 API) */
export const memberCenterMock = {
// Mock 数据开关 - 设为 false 可关闭所有 mock 数据
export const MOCK_ENABLED = false
export const memberCenterMock = MOCK_ENABLED ? {
userInfo: {
name: '张小芳',
phone: '13812345678 已绑定微信',
@@ -65,7 +68,7 @@ export const memberCenterMock = {
registered: 3,
purchased: 2
}
}
} : null
export const userInfoMock = {
name: '张小芳',