Commit Graph

12 Commits

Author SHA1 Message Date
zdl
70509a02c9 feat(HomePage): 已登录用户访问首页展示个人中心内容
- HomePage: 添加条件渲染,已登录时展示 Center 组件
- 重构 Center 目录结构,合并 Center.tsx 到 index.tsx
- 重命名 CenterDashboard 为 Center(lazy-components, homeRoutes)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-24 11:06:30 +08:00
zdl
dc617fb659 fix(HomePage): 修复页面高度为自适应
- 移除固定的 heroHeight (60vh/80vh/100vh)
- 改用 minH=100% 自适应容器高度
- 修复页面不必要的滚动问题

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-23 14:15:36 +08:00
zdl
ca97cb4ea2 revert: 小程序入口按钮恢复到右上角
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 11:45:22 +08:00
zdl
0b3044f78a style: 小程序入口按钮移到左下角
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 11:29:50 +08:00
zdl
012d0b22a2 feat: 强制使用 URL Scheme 跳转小程序
- HomePage 添加 forceLaunchMethod="urlScheme"
- 跳过环境检测,直接显示跳转按钮,避免"初始化"状态

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 11:09:54 +08:00
zdl
9ba2b7d424 feat: 小程序跳转改用明文 URL Scheme
- UrlSchemeLauncher: 使用明文 Scheme 格式,无需后端 API 生成
- HomePage: 修复 path 格式,去掉开头斜杠以匹配小程序后台配置

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 19:06:21 +08:00
zdl
44cc3304a4 feat: 首页添加小程序入口按钮(仅移动端显示)
- 右上角固定定位,导航栏下方
- 微信绿色圆角按钮
- PC 端自动隐藏

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 17:09:24 +08:00
zdl
6d4fe6065d fix: 移除 Home 页面容器 zIndex,修复客服按钮被遮挡问题
- HomePage.tsx: Container 移除 zIndex={30}
- 客服按钮 zIndex=10,之前被 30 的层级覆盖无法点击
- 移除后不影响页面内部布局

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 14:14:47 +08:00
zdl
16f946ae9b style: 首页整体尺寸缩小约 67%
- useHomeResponsive: 标题尺寸 4xl→2xl,正文 xl→md
- HomePage: VStack/SimpleGrid 间距缩小
- HeroHeader: spacing/padding 缩小,maxW 调整
- FeaturedFeatureCard: 图标、标题、按钮尺寸缩小
- FeatureCard: 卡片高度 180→120px,整体元素尺寸缩小

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 17:35:43 +08:00
zdl
bc63245f25 feat: 首页代码优化 2025-12-03 17:15:48 +08:00
zdl
228e62aa54 feat: 添加 认证检查 和 首页渲染 的性能标记 2025-11-26 11:10:50 +08:00
zdl
c7efde5154 feat: homets 化 创建类型定义文件
创建常量配置文件
 创建自定义 Hook

 创建组件目录
创建 HeroHeader 组件
创建 FeaturedFeatureCard 组件
创建 FeatureCard 组件
创建新的 HomePage.tsx
2025-11-25 17:58:53 +08:00