This commit is contained in:
wyf
2025-08-16 17:45:55 +08:00
parent 7d3e4ad1e8
commit 111bd78a24
15 changed files with 477 additions and 137 deletions

View File

@@ -112,6 +112,7 @@ class _SleepCardState extends State<SleepCard> with TickerProviderStateMixin {
padding:
EdgeInsetsDirectional.fromSTEB(26.rpx, 29.rpx, 26.rpx, 45.rpx),
child: Wrap(
alignment: WrapAlignment.center,
spacing: 23.rpx,
runSpacing: 25.rpx,
children: List.generate(data.length, (index) {

View File

@@ -86,7 +86,7 @@ class _SleepScoreWidgetState extends State<SleepScoreWidget> {
child: Text(
'30天平均分'.tr,
style: TextStyle(
color: Color(0xFFD3D3D3),
color: themeController.currentColor.sc4,
fontSize: 26.rpx,
letterSpacing: 0.0,
),
@@ -105,7 +105,7 @@ class _SleepScoreWidgetState extends State<SleepScoreWidget> {
letterSpacing: 0.0,
),
),
].divide(SizedBox(height: 56.rpx)),
].divide(SizedBox(height: 62.rpx)),
),
Column(
mainAxisSize: MainAxisSize.max,
@@ -114,7 +114,7 @@ class _SleepScoreWidgetState extends State<SleepScoreWidget> {
Text(
'睡眠等级'.tr,
style: TextStyle(
color: Color(0xFFD3D3D3),
color: themeController.currentColor.sc4,
fontSize: 26.rpx,
letterSpacing: 0.0,
),
@@ -132,7 +132,7 @@ class _SleepScoreWidgetState extends State<SleepScoreWidget> {
letterSpacing: 0.0,
),
),
].divide(SizedBox(height: 56.rpx)),
].divide(SizedBox(height: 62.rpx)),
),
],
),
@@ -153,7 +153,8 @@ class _SleepScoreWidgetState extends State<SleepScoreWidget> {
child: Text(
"睡眠评分".tr,
style: TextStyle(
color: Colors.white,
color: themeController.currentColor.sc4,
// color: Colors.red,
fontSize:
AppConstants().normal_text_fontSize,
),