加载窗样式

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

@@ -135,7 +135,12 @@ class _EPageState extends State<EPage> with AutomaticKeepAliveClientMixin {
Widget _buildLoggedInContent() {
return Obx(() {
if (finalUri.isEmpty) {
return Center(child: CircularProgressIndicator());
return Center(child: CircularProgressIndicator(
strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
),);
}
// 如果设备列表为空
@@ -173,7 +178,12 @@ class _EPageState extends State<EPage> with AutomaticKeepAliveClientMixin {
valueListenable: isPageLoading,
builder: (context, isLoading, child) {
return isLoading
? Center(child: CircularProgressIndicator())
? Center(child:CircularProgressIndicator(
strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
),)
: SizedBox.shrink();
},
),