加载窗样式
This commit is contained in:
@@ -501,7 +501,12 @@ class _MhtSleepReportPageState extends State<MhtSleepReportPage> {
|
||||
padding: EdgeInsets.fromLTRB(
|
||||
0, 30.rpx, 0, 0),
|
||||
child: Center(
|
||||
child: CircularProgressIndicator()),
|
||||
child:CircularProgressIndicator(
|
||||
strokeWidth: 2,
|
||||
valueColor: AlwaysStoppedAnimation<Color>(
|
||||
themeController.currentColor.sc1,
|
||||
),
|
||||
),),
|
||||
)
|
||||
: hasValidData
|
||||
? Column(
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user