Skip to content

Commit

Permalink
doc:更新readme文件.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanotsu committed Jul 13, 2024
1 parent 99733d4 commit 3b6ff09
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ All notable changes to this project will be documented in this file.

- feat:
- 加入了“零一万物”AI 大模型的使用:
- 增加“饮食日记”中,对每天摄入食物和营养素,提供 AI 分析和问答建议
- 增加“餐食相册”中,对每餐的指定图片进行 AI 图像分析(仅仅单张),提供饮食建议
- 增加在`“饮食”模块-“饮食日记”`中,对每天摄入食物和营养素,提供 AI 分析和问答建议
- 增加在`“饮食”模块-“餐食相册”/“饮食日记”指定餐次照片`,对每餐的指定食物图片进行 AI 图像分析(仅仅单张),并支持问答式饮食建议
- 新增餐食相册上传文件保存在设备外部存储
- 即图片不放在`Android/data/……`目录下,app 卸载重装后,备份恢复后可以正常显示餐食图片。
- chore:
- 升级 flutter 从 3.16.3 到 3.22.2,修正对应 Android 配置和标记为弃用的部分代码
- 升级相关依赖,尤其是 fl_chart、flutter_tts、flutter_quill 不兼容的部分
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->


- [说明](#%E8%AF%B4%E6%98%8E)
- [版本更新](#%E7%89%88%E6%9C%AC%E6%9B%B4%E6%96%B0)
- [功能说明](#%E5%8A%9F%E8%83%BD%E8%AF%B4%E6%98%8E)
- [运动模块](#%E8%BF%90%E5%8A%A8%E6%A8%A1%E5%9D%97)
- [基础动作](#%E5%9F%BA%E7%A1%80%E5%8A%A8%E4%BD%9C)
Expand All @@ -29,10 +29,16 @@

# 说明

Free-Fitness 是使用 flutter(v3.16.2) 开发的集运动训练、饮食记录、日记编写等功能为一体的健身饮食记录管理 App。
Free-Fitness 是使用 flutter 3.x 开发的集运动训练、饮食记录、日记编写等功能为一体的健身饮食记录管理 App。

此 App 适合拥有运动健身、减肥增肌、随手记录等需求的辅助使用。所有数据全部在本地,无需联网,且默认无内置数据,自定性比较灵活。

## 版本更新

- 2024-07-13 `0.2.0-beta.1`
- 主要接入零一万物 AI 大模型,对饮食记录进行 AI 分析和问答式提供建议。
- 更多改动参看[CHANGELOG](CHANGELOG.md)

## 功能说明

对于保持健康身体的最普遍要求,是合理的饮食与锻炼。主要功能如下:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class MessageItem extends StatelessWidget {
isFromUser ? CrossAxisAlignment.end : CrossAxisAlignment.start;

// 所有的文字颜色,暂定用户蓝色AI黑色
Color textColor = isFromUser ? Colors.blue : Colors.black;
// Color textColor = isFromUser ? Colors.blue : Colors.black;
Color textColor = isFromUser ? Colors.blue : Theme.of(context).hintColor;

/// 这里暂时不考虑外边框的距离,使用时在外面加padding之类的
return Row(
Expand Down

0 comments on commit 3b6ff09

Please sign in to comment.