Commit Graph

21 Commits

Author SHA1 Message Date
iHeyTang 64569f843c feat: add zustand for state management and refactor History component 2025-09-29 15:01:31 +08:00
iHeyTang bf0cfffd54 refactor: streamline authentication handling and improve user prompts across the application 2025-09-29 11:28:33 +08:00
iHeyTang 1153b7e09f style: update layout and improve text for result and history pages 2025-09-28 21:37:21 +08:00
iHeyTang bc2abb29d2 style: update app and friends-photo styles for improved layout and loading indicators 2025-09-28 18:30:34 +08:00
iHeyTang b7c4fc8b92 style: update history page styles and improve text readability 2025-09-28 15:12:04 +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 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
imeepos 39b81bf0bb fix: 修改历史记录bug 2025-09-04 23:20:01 +08:00
imeepos 870991d81d fix: 修复样式问题 2025-09-04 22:38:24 +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
杨明明 ed15d2d44b feat: 美化历史记录页面并统一设计风格
- 美化历史记录页面UI设计:
  - 添加现代化的卡片设计和动画效果
  - 优化状态指示器和交互反馈
  - 增加下拉刷新和点击查看功能
  - 改进空状态和加载状态显示
- 统一页面背景风格:
  - 历史记录页面背景与首页保持一致
  - 调整颜色主题为统一的蓝色系
  - 优化文字对比度和可读性
- 修复结果页面参数传递格式
- 优化布局和响应式设计
2025-09-03 21:09:12 +08:00
杨明明 c5fcab683f feat: 修复字体大小问题并添加历史记录功能
- 将所有页面和组件的px单位改为rpx,确保跨设备适配
- 修复首页右侧padding超出屏幕的问题
- 在模板执行流程中添加历史记录功能:
  - 开始处理时创建generating状态记录
  - 处理成功时更新为completed状态并保存结果
  - 处理失败时更新为failed状态并记录错误信息
- 优化布局间距和字体大小,提升用户体验
2025-09-03 20:53:29 +08:00
imeepos c8480308e0 feat: 添加图标 2025-09-03 15:57:27 +08:00