Commit Graph

30 Commits

Author SHA1 Message Date
iHeyTang bf0cfffd54 refactor: streamline authentication handling and improve user prompts across the application 2025-09-29 11:28:33 +08:00
imeepos 3a8b99eac9 fix: payment id 2025-09-28 22:24:26 +08:00
iHeyTang d6b06723a0 style: enhance home page header with new user promotion and improve history navigation logic 2025-09-28 22:09:54 +08:00
iHeyTang 1153b7e09f style: update layout and improve text for result and history pages 2025-09-28 21:37:21 +08:00
iHeyTang 60dafdc9df refactor: simplify image comparison logic in TemplateCard and update history navigation handling 2025-09-28 20:21:22 +08:00
iHeyTang 8a1c5e982f refactor: remove alert notifications from history page error handling 2025-09-28 15:12:43 +08:00
iHeyTang b7c4fc8b92 style: update history page styles and improve text readability 2025-09-28 15:12:04 +08:00
iHeyTang bb7bf19236 refactor: 转vite 2025-09-28 15:03:57 +08:00
iHeyTang 4e5dc53741 fix: update button styling and image handling in history and result components 2025-09-28 13:03:03 +08:00
iHeyTang c855cfca82 refactor(i18n): simplify internationalization to support only English
- Removed language switching functionality and related hooks.
- Updated i18n configuration to default to English and support only English.
- Adjusted components to hide language switcher and related features.
- Ensured all language-related functions and formatting are fixed to English.
2025-09-28 11:49:08 +08:00
iHeyTang 157f055acb feat(i18n): implement internationalization support across the application
- Added a new i18n hook for managing language settings and translations.
- Introduced a LanguageSwitcher component for dynamic language switching.
- Updated existing components and pages to utilize the i18n system for text translations.
- Enhanced app configuration to support runtime language updates for tabBar and navigation titles.
- Added language resources for English, Japanese, Korean, and simplified Chinese.
- Improved loading and error messages to be language-aware.
- Refactored existing code to ensure compatibility with the new i18n structure.
2025-09-28 11:16:43 +08:00
iHeyTang 884d7410c8 style: update CSS and TSX for TemplateCard and history components 2025-09-12 19:17:55 +08:00
菜菜酱 44a382a551 style: generate css 2025-09-12 18:25:39 +08:00
菜菜酱 e6f83fa1ca style: css 2025-09-12 16:11:39 +08:00
菜菜酱 170dc6e244 style: css 2025-09-12 14:19:30 +08:00
菜菜酱 a1d286f08b style: css 2025-09-12 13:56:53 +08:00
iHeyTang 64df42678f refactor: 移除下载部分组件及样式,优化项目结构
- 删除DownloadSection组件及其相关CSS,简化代码结构
- 在历史页面中添加生成中任务的进度计算和显示功能
- 更新历史页面样式,增强用户体验和视觉效果
- 添加缩略图毛玻璃蒙版和进度指示器,提升信息传达的清晰度
2025-09-11 15:24:35 +08:00
iHeyTang ad5735b6a5 refactor(generate): 移除生成页面及相关资源,优化项目结构
- 删除生成页面的配置、样式和逻辑文件,简化项目结构
- 更新历史和首页逻辑,调整跳转至结果页面的参数
- 增强结果页面的任务轮询逻辑,提升用户体验
- 添加生成中和错误状态的组件,优化代码可读性
2025-09-11 14:43:35 +08:00
iHeyTang 1422eef000 style(history): 重新设计历史页面样式,优化布局和视觉效果
- 移除多余的样式规则,简化CSS结构
- 调整历史项的边距、内边距和圆角,提升视觉一致性
- 更新字体大小和颜色,增强可读性
- 删除不再使用的状态文本和颜色函数,精简代码
2025-09-11 12:56:42 +08:00
iHeyTang 09aa9d6192 style(history): 统一样式单位为px,优化代码格式
- 将CSS样式中的rpx单位替换为px,提升样式一致性
- 在TypeScript文件中添加缺失的分号,优化代码可读性
- 简化代码结构,移除多余的注释和空行
2025-09-10 19:44:03 +08:00
iHeyTang 6e3390a595 fix: 修复历史记录中图片显示逻辑,移除不必要的提示信息 2025-09-05 00:48:04 +08:00
imeepos 39b81bf0bb fix: 修改历史记录bug 2025-09-04 23:20:01 +08:00
imeepos 870991d81d fix: 修复样式问题 2025-09-04 22:38:24 +08:00
imeepos 374d909667 fix: 修复历史记录问题 2025-09-04 22:16:48 +08:00
imeepos 95d0776075 fix: 修复history对接后端接口 2025-09-04 21:32:50 +08:00
杨明明 03d1d67265 feat: 优化历史记录页面显示和布局
- 添加真实图片缩略图显示功能:
  - 已完成状态显示实际结果图片缩略图
  - 不同状态使用对应的占位符和颜色
  - 支持单图片和多图片数组格式处理
- 修复布局对齐问题:
  - 重新组织状态指示器和操作提示的位置
  - 确保状态标签始终靠右对齐
  - 优化加载指示器和操作提示的布局
- 改进时间格式显示:
  - 统一使用YYYY-MM-DD HH:mm:ss格式
  - 提供完整的日期时间信息
- 增强交互体验:
  - 添加图片缩放动画效果
  - 优化不同状态的视觉反馈
2025-09-03 21:29:06 +08:00
杨明明 0ebe5f9cc2 fix: 修复历史记录页面参数传递和清理未使用代码
- 统一结果页面参数格式,使用images参数传递图片数组
- 移除未使用的clearHistory函数,简化代码结构
- 保持与其他页面的参数传递格式一致
2025-09-03 21:16:02 +08:00
杨明明 ed15d2d44b feat: 美化历史记录页面并统一设计风格
- 美化历史记录页面UI设计:
  - 添加现代化的卡片设计和动画效果
  - 优化状态指示器和交互反馈
  - 增加下拉刷新和点击查看功能
  - 改进空状态和加载状态显示
- 统一页面背景风格:
  - 历史记录页面背景与首页保持一致
  - 调整颜色主题为统一的蓝色系
  - 优化文字对比度和可读性
- 修复结果页面参数传递格式
- 优化布局和响应式设计
2025-09-03 21:09:12 +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