更新样式

This commit is contained in:
wyf
2025-11-18 10:53:31 +08:00
parent 0ebe7116f6
commit 808c450eb9
6 changed files with 27 additions and 27 deletions

View File

@@ -630,7 +630,7 @@ class _InstantBodyPageState extends State<InstantBodyPage>
style: TextStyle(
color: themeController.currentColor.sc4,
fontSize:
AppConstants().middler_text_fontSize,
AppConstants().smaller_text_fontSize,
),
),
SizedBox(
@@ -641,7 +641,7 @@ class _InstantBodyPageState extends State<InstantBodyPage>
style: TextStyle(
color: themeController.currentColor.sc4,
fontSize:
AppConstants().middler_text_fontSize,
AppConstants().smaller_text_fontSize,
),
),
],

View File

@@ -143,7 +143,7 @@ class _MinePageState extends State<MinePage> {
decoration: BoxDecoration(
shape: BoxShape.circle,
),
/* child: login == 1
child: login == 1
? (userInfoController.model.user!
.avatar ==
null ||
@@ -161,25 +161,25 @@ class _MinePageState extends State<MinePage> {
: Image.asset(
"assets/img/avatar.png",
fit: BoxFit.cover,
), */
child: login == 1
? (userInfoController.model.user!
.avatar ==
null ||
userInfoController.model
.user!.avatar!.isEmpty
? Image.asset(
"assets/img/avatar.png",
fit: BoxFit.cover,
)
: Image.asset(
"assets/img/avatar.png",
fit: BoxFit.cover,
))
: Image.asset(
"assets/img/avatar.png",
fit: BoxFit.cover,
),
),
// child: login == 1
// ? (userInfoController.model.user!
// .avatar ==
// null ||
// userInfoController.model
// .user!.avatar!.isEmpty
// ? Image.asset(
// "assets/img/avatar.jpg",
// fit: BoxFit.cover,
// )
// : Image.asset(
// "assets/img/avatar.jpg",
// fit: BoxFit.cover,
// ))
// : Image.asset(
// "assets/img/avatar.jpg",
// fit: BoxFit.cover,
// ),
),
Column(
mainAxisSize: MainAxisSize.max,

View File

@@ -919,7 +919,7 @@ class _NewSleepReportPageState extends State<NewSleepReportPage> {
style: TextStyle(
color: themeController.currentColor.sc4,
fontSize:
AppConstants().middler_text_fontSize,
AppConstants().smaller_text_fontSize,
),
),
SizedBox(
@@ -930,7 +930,7 @@ class _NewSleepReportPageState extends State<NewSleepReportPage> {
style: TextStyle(
color: themeController.currentColor.sc4,
fontSize:
AppConstants().middler_text_fontSize,
AppConstants().smaller_text_fontSize,
),
),
],