Commit Graph

6 Commits

Author SHA1 Message Date
iHeyTang 9d890478d8 feat(config): enhance development configuration and update platform support
- Added `devServer` configuration for H5 platform to allow file system access.
- Updated platform type to include 'h5' in the factory.
- Adjusted icon paths in app configuration for consistency.
- Cleaned up code formatting and removed deprecated Redux store documentation.
2025-09-26 15:07:00 +08:00
imeepos 482318e7c3 fix: 修改图标颜色 2025-09-04 20:26:08 +08:00
杨明明 810abaa0b1 feat: 美化home页面布局,突出图片展示并优化文字布局
� 布局重构:
- 标题移至图片上方,突出模板名称
- 积分徽章悬浮在图片右上角,不占用布局空间
- 标签悬浮在图片底部,使用半透明黑色背景
- 简介移至图片下方,保持简洁描述

� 视觉优化:
- 增加图片区域占比,提升视觉冲击力
- 移除图片区域内边距,图片完全填充
- 优化卡片圆角和阴影效果
- 标签和积分使用毛玻璃效果增强层次感

� 样式改进:
- 积分徽章:橙色背景,右上角悬浮,带阴影
- 标签徽章:半透明黑色,底部悬浮,支持多标签
- 标题区域:白色背景,字体加粗突出
- 简介区域:限制2行显示,超出省略

 用户体验提升:
- 图片成为视觉焦点,占据主要空间
- 悬浮元素不影响布局流,信息层次清晰
- 保持拖拽分割线功能完整性
- 响应式设计适配不同屏幕尺寸
2025-09-03 18:57:42 +08:00
imeepos 4709666814 feat: 修改Template结构与后端保持一致 2025-09-03 16:59:58 +08:00
杨明明 14205a9021 feat: 配置 TailwindCSS 并迁移到 Redux
- 配置 TailwindCSS 支持小程序开发
  - 安装 tailwindcss, postcss, autoprefixer
  - 安装 weapp-tailwindcss 插件支持小程序
  - 配置 tailwind.config.js 和 postcss.config.js
  - 更新 Taro 配置支持 TailwindCSS

- 从 Zustand 迁移到 Redux Toolkit
  - 移除 zustand 依赖
  - 安装 redux, react-redux, redux-thunk, @reduxjs/toolkit
  - 重构状态管理架构:
    - src/constants/ - Action 类型常量
    - src/actions/ - Action creators 和异步 actions
    - src/reducers/ - Reducers
    - src/selectors/ - 状态选择器
    - src/hooks/redux.ts - 类型化 hooks
  - 更新组件使用新的 Redux API
  - 保持数据持久化功能

- 更新应用配置
  - 将 app.ts 重命名为 app.tsx 支持 JSX
  - 添加 Redux Provider 到应用根组件
  - 更新 TODO.md 标记完成状态

- 构建验证通过,所有功能正常
2025-09-03 16:33:06 +08:00
imeepos c8480308e0 feat: 添加图标 2025-09-03 15:57:27 +08:00