Skip to content

Commit

Permalink
fix:修正readme为正式版本。
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanotsu committed Dec 31, 2023
1 parent 2242fff commit 8b556d8
Show file tree
Hide file tree
Showing 21 changed files with 228 additions and 1,044 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,7 @@ ios
**/_tests

# 统计行插件自己生成的文件夹
.VSCodeCounter
.VSCodeCounter

# 旧的说明文件,当成开发记录
**/_old_readme/*
285 changes: 185 additions & 100 deletions README.md

Large diffs are not rendered by default.

Binary file added _screenshots/10餐食相册页面.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _screenshots/11饮食报告页面.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _screenshots/12手记页面.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _screenshots/13用户与设置.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _screenshots/1主页面截图.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _screenshots/2动作模块基本功能.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _screenshots/3训练模块基本功能.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _screenshots/4计划模块基本功能.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _screenshots/5跟练训练的页面.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _screenshots/6运动报告页面.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _screenshots/7食物模块页面.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _screenshots/8食物详情页面.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _screenshots/9饮食记录基本功能.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 12 additions & 12 deletions lib/views/me/index.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import '../../common/utils/db_user_helper.dart';
import '../../layout/themes/cus_font_size.dart';
import '../../models/cus_app_localizations.dart';
import '../../models/user_state.dart';
import '_feature_mock_data/index.dart';
// import '_feature_mock_data/index.dart';
import 'backup_and_restore/index.dart';
import 'intake_goals/intake_target.dart';
import 'more_settings/index.dart';
Expand Down Expand Up @@ -201,17 +201,17 @@ class _UserAndSettingsState extends State<UserAndSettings> {
CusAL.of(context).moduleTitles('3'),
),
actions: [
IconButton(
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => const FeatureMockDemo(),
),
);
},
icon: const Icon(Icons.bug_report),
),
// IconButton(
// onPressed: () {
// Navigator.push(
// context,
// MaterialPageRoute(
// builder: (context) => const FeatureMockDemo(),
// ),
// );
// },
// icon: const Icon(Icons.bug_report),
// ),
// 切换用户(切换后缓存的用户编号也得修改)
IconButton(
onPressed: _switchUser,
Expand Down
54 changes: 27 additions & 27 deletions lib/views/me/more_settings/index.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';

import '../../../common/global/constants.dart';
import '../../../layout/app.dart';
import '../../../layout/themes/cus_font_size.dart';
// import '../../../layout/themes/cus_font_size.dart';
import '../../../models/cus_app_localizations.dart';

class MoreSettings extends StatefulWidget {
Expand Down Expand Up @@ -79,32 +79,32 @@ class _MoreSettingsState extends State<MoreSettings> {
),
],
),
SizedBox(height: 10.sp),
ListTile(
leading: const Icon(Icons.description),
title: Text(
"${CusAL.of(context).userGuide}(todo)",
style: TextStyle(
fontSize: CusFontSizes.pageSubTitle,
fontWeight: FontWeight.bold,
color: Theme.of(context).primaryColor,
),
),
onTap: null,
),
SizedBox(height: 10.sp),
ListTile(
leading: const Icon(Icons.question_answer),
title: Text(
"${CusAL.of(context).questionAndAnswer}(todo)",
style: TextStyle(
fontSize: CusFontSizes.pageSubTitle,
fontWeight: FontWeight.bold,
color: Theme.of(context).primaryColor,
),
),
onTap: null,
),
// SizedBox(height: 10.sp),
// ListTile(
// leading: const Icon(Icons.description),
// title: Text(
// "${CusAL.of(context).userGuide}(todo)",
// style: TextStyle(
// fontSize: CusFontSizes.pageSubTitle,
// fontWeight: FontWeight.bold,
// color: Theme.of(context).primaryColor,
// ),
// ),
// onTap: null,
// ),
// SizedBox(height: 10.sp),
// ListTile(
// leading: const Icon(Icons.question_answer),
// title: Text(
// "${CusAL.of(context).questionAndAnswer}(todo)",
// style: TextStyle(
// fontSize: CusFontSizes.pageSubTitle,
// fontWeight: FontWeight.bold,
// color: Theme.of(context).primaryColor,
// ),
// ),
// onTap: null,
// ),
],
),
);
Expand Down
Loading

0 comments on commit 8b556d8

Please sign in to comment.