加载窗样式
This commit is contained in:
@@ -78,11 +78,11 @@ class _DeviceComponentWidgetState extends State<DeviceComponentWidget> {
|
||||
return SizedBox(
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor: AlwaysStoppedAnimation<Color>(
|
||||
stringToColor("#929699")),
|
||||
),
|
||||
);
|
||||
}
|
||||
return Container();
|
||||
@@ -387,11 +387,10 @@ class _DeviceComponentWidgetState extends State<DeviceComponentWidget> {
|
||||
return SizedBox(
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor: AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
return Container();
|
||||
|
||||
@@ -140,11 +140,7 @@ class _MHTPeopleInfoPageState extends State<MHTPeopleInfoPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
if (isLoading) {
|
||||
return Center(child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
));
|
||||
return Center(child: CircularProgressIndicator());
|
||||
}
|
||||
|
||||
return LayoutBuilder(
|
||||
|
||||
@@ -169,11 +169,11 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
|
||||
return SizedBox(
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
if (blueteethBindController.netType.value == 0) {
|
||||
@@ -181,10 +181,10 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
if (blueteethBindController.wifiConnectStatus.value ==
|
||||
@@ -192,11 +192,11 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
|
||||
return SizedBox(
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
return Container();
|
||||
@@ -640,11 +640,13 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
|
||||
width: 32.rpx,
|
||||
height: 32.rpx,
|
||||
child:
|
||||
CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<
|
||||
Color>(
|
||||
Colors.white),
|
||||
),
|
||||
)
|
||||
else
|
||||
getWifiIconByRsso(
|
||||
|
||||
@@ -166,11 +166,11 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
|
||||
return SizedBox(
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
if (blueteethBindController.netType.value == 0) {
|
||||
@@ -178,10 +178,10 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
if (blueteethBindController.wifiConnectStatus.value ==
|
||||
@@ -190,10 +190,10 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
|
||||
width: 24.rpx,
|
||||
height: 24.rpx,
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
);
|
||||
}
|
||||
return Container();
|
||||
@@ -613,11 +613,13 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
|
||||
width: 32.rpx,
|
||||
height: 32.rpx,
|
||||
child:
|
||||
CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<
|
||||
Color>(
|
||||
Colors.white),
|
||||
),
|
||||
)
|
||||
else
|
||||
getWifiIconByRsso(
|
||||
|
||||
@@ -152,7 +152,7 @@ class _ExperienceStorePageState extends State<ExperienceStorePage> {
|
||||
return CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
);
|
||||
} else {
|
||||
return Container();
|
||||
|
||||
@@ -99,11 +99,10 @@ class _HelpArticleState extends State<HelpArticle> {
|
||||
Container(
|
||||
color: const Color(0xFF042C46),
|
||||
alignment: Alignment.center,
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)
|
||||
child: const CircularProgressIndicator(
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(Colors.white),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -501,11 +501,7 @@ class _MhtSleepReportPageState extends State<MhtSleepReportPage> {
|
||||
padding: EdgeInsets.fromLTRB(
|
||||
0, 30.rpx, 0, 0),
|
||||
child: Center(
|
||||
child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)),
|
||||
child: CircularProgressIndicator()),
|
||||
)
|
||||
: hasValidData
|
||||
? Column(
|
||||
|
||||
@@ -73,11 +73,7 @@ class IssueListPage extends GetView<IssueListController> {
|
||||
),
|
||||
child: Obx(() {
|
||||
if (controller.model.isLoading) {
|
||||
return Center(child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
)); // ✅ 加载中
|
||||
return Center(child: CircularProgressIndicator()); // ✅ 加载中
|
||||
}
|
||||
|
||||
if (controller.model.issueList.isEmpty) {
|
||||
|
||||
@@ -94,11 +94,7 @@ class _PrivacyPolicyPageState extends State<PrivacyPolicyPage> {
|
||||
Expanded(
|
||||
child: Obx(() {
|
||||
if (pdfController.localPdfPath.value == null) {
|
||||
return Center(child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
));
|
||||
return Center(child: CircularProgressIndicator());
|
||||
} else {
|
||||
return PDFView(
|
||||
filePath: pdfController.localPdfPath.value!,
|
||||
|
||||
@@ -565,11 +565,7 @@ class WebviewTestView extends GetComponent<WebviewTestController> {
|
||||
// return (controller.ready.value && (MainPageBBottomChange.getCurrentIndex() == 2))
|
||||
return (controller.ready.value)
|
||||
? controller.web.build()
|
||||
: Center(child:CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
));
|
||||
: Center(child: CircularProgressIndicator());
|
||||
}),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -98,11 +98,7 @@ class _UserAgreementPageState extends State<UserAgreementPage> {
|
||||
Expanded(
|
||||
child: Obx(() {
|
||||
if (pdfController.localPdfPath.value == null) {
|
||||
return Center(child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor:
|
||||
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
|
||||
));
|
||||
return Center(child: CircularProgressIndicator());
|
||||
} else {
|
||||
return PDFView(
|
||||
filePath: pdfController.localPdfPath.value!,
|
||||
|
||||
Reference in New Issue
Block a user