加载窗样式

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

@@ -169,7 +169,7 @@ class _MessageWidgetWidgetState extends State<MessageWidgetWidget> {
child: Text(
label.tr,
overflow: TextOverflow.ellipsis,
maxLines: 1,
maxLines: 2,
style: TextStyle(
fontFamily: 'Inter',
fontSize: 26.rpx,
@@ -184,15 +184,13 @@ class _MessageWidgetWidgetState extends State<MessageWidgetWidget> {
Widget _buildValueItem(BuildContext context, value) {
return Container(
constraints: BoxConstraints(
minHeight: 62.rpx,
),
constraints: BoxConstraints(minHeight: 60.rpx, maxHeight: 60.rpx),
child: Align(
alignment: AlignmentDirectional(-1, 0),
child: Text(
"${value}",
overflow: TextOverflow.ellipsis,
maxLines: 1,
maxLines: 2,
style: TextStyle(
fontFamily: 'Inter',
fontSize: 26.rpx,

View File

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