加载窗样式

This commit is contained in:
czz
2025-08-20 18:22:10 +08:00
parent 2cbe9c2713
commit a69209db72
25 changed files with 244 additions and 127 deletions

View File

@@ -580,7 +580,23 @@ class _NewHomePageState extends State<NewHomePage> {
if (homeController
.homeSleepDays.value.length ==
0)
Expanded(child: NullDataWidget()),
Expanded(
child: Center(
child: SizedBox(
width: 40.rpx, // 宽度
height: 40.rpx, // 高度
child: CircularProgressIndicator(
strokeWidth: 2,
valueColor:
AlwaysStoppedAnimation<
Color>(
themeController
.currentColor.sc1,
),
),
),
),
),
if (homeController
.homeSleepDays.value.length !=
0)
@@ -632,7 +648,7 @@ class _NewHomePageState extends State<NewHomePage> {
personInfo
.value,
'backgroundImg':
'assets/images/new_background.png',
'assets/images/new_background.png',
// 'backgroundColor':stringToColor("#003058"),
'person_show':
false,