加载窗样式

This commit is contained in:
czz
2025-08-20 17:47:46 +08:00
parent 8b26c4b8fa
commit 4072541e7b
31 changed files with 161 additions and 129 deletions

View File

@@ -78,11 +78,11 @@ class _DeviceComponentWidgetState extends State<DeviceComponentWidget> {
return SizedBox(
width: 24.rpx,
height: 24.rpx,
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor: AlwaysStoppedAnimation<Color>(
stringToColor("#929699")),
),
child:CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)
);
}
return Container();
@@ -387,10 +387,11 @@ class _DeviceComponentWidgetState extends State<DeviceComponentWidget> {
return SizedBox(
width: 24.rpx,
height: 24.rpx,
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor: AlwaysStoppedAnimation<Color>(Colors.white),
),
child:CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)
);
}
return Container();

View File

@@ -140,7 +140,11 @@ class _MHTPeopleInfoPageState extends State<MHTPeopleInfoPage> {
@override
Widget build(BuildContext context) {
if (isLoading) {
return Center(child: CircularProgressIndicator());
return Center(child:CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
));
}
return LayoutBuilder(

View File

@@ -169,11 +169,11 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
return SizedBox(
width: 24.rpx,
height: 24.rpx,
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(Colors.white),
),
child:CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)
);
}
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>(Colors.white),
),
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)
);
}
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>(Colors.white),
),
child:CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)
);
}
return Container();
@@ -640,13 +640,11 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
width: 32.rpx,
height: 32.rpx,
child:
CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<
Color>(
Colors.white),
),
CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)
)
else
getWifiIconByRsso(

View File

@@ -166,11 +166,11 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
return SizedBox(
width: 24.rpx,
height: 24.rpx,
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(Colors.white),
),
child:CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)
);
}
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>(Colors.white),
),
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)
);
}
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>(Colors.white),
),
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)
);
}
return Container();
@@ -613,13 +613,11 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
width: 32.rpx,
height: 32.rpx,
child:
CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<
Color>(
Colors.white),
),
CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)
)
else
getWifiIconByRsso(

View File

@@ -152,7 +152,7 @@ class _ExperienceStorePageState extends State<ExperienceStorePage> {
return CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(Colors.white),
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
);
} else {
return Container();

View File

@@ -99,10 +99,11 @@ class _HelpArticleState extends State<HelpArticle> {
Container(
color: const Color(0xFF042C46),
alignment: Alignment.center,
child: const CircularProgressIndicator(
valueColor:
AlwaysStoppedAnimation<Color>(Colors.white),
),
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)
),
],
),

View File

@@ -501,7 +501,11 @@ class _MhtSleepReportPageState extends State<MhtSleepReportPage> {
padding: EdgeInsets.fromLTRB(
0, 30.rpx, 0, 0),
child: Center(
child: CircularProgressIndicator()),
child:CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)),
)
: hasValidData
? Column(

View File

@@ -73,7 +73,11 @@ class IssueListPage extends GetView<IssueListController> {
),
child: Obx(() {
if (controller.model.isLoading) {
return Center(child: CircularProgressIndicator()); // ✅ 加载中
return Center(child:CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
)); // ✅ 加载中
}
if (controller.model.issueList.isEmpty) {

View File

@@ -94,7 +94,11 @@ class _PrivacyPolicyPageState extends State<PrivacyPolicyPage> {
Expanded(
child: Obx(() {
if (pdfController.localPdfPath.value == null) {
return Center(child: CircularProgressIndicator());
return Center(child:CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
));
} else {
return PDFView(
filePath: pdfController.localPdfPath.value!,

View File

@@ -565,7 +565,11 @@ class WebviewTestView extends GetComponent<WebviewTestController> {
// return (controller.ready.value && (MainPageBBottomChange.getCurrentIndex() == 2))
return (controller.ready.value)
? controller.web.build()
: Center(child: CircularProgressIndicator());
: Center(child:CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
));
}),
),
),

View File

@@ -98,7 +98,11 @@ class _UserAgreementPageState extends State<UserAgreementPage> {
Expanded(
child: Obx(() {
if (pdfController.localPdfPath.value == null) {
return Center(child: CircularProgressIndicator());
return Center(child: CircularProgressIndicator(
strokeWidth: 1,
valueColor:
AlwaysStoppedAnimation<Color>(themeController.currentColor.sc1),
));
} else {
return PDFView(
filePath: pdfController.localPdfPath.value!,