加载窗样式
This commit is contained in:
@@ -169,7 +169,7 @@ class _MessageWidgetWidgetState extends State<MessageWidgetWidget> {
|
||||
child: Text(
|
||||
label.tr,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 2,
|
||||
maxLines: 1,
|
||||
style: TextStyle(
|
||||
fontFamily: 'Inter',
|
||||
fontSize: 26.rpx,
|
||||
@@ -184,13 +184,15 @@ class _MessageWidgetWidgetState extends State<MessageWidgetWidget> {
|
||||
|
||||
Widget _buildValueItem(BuildContext context, value) {
|
||||
return Container(
|
||||
constraints: BoxConstraints(minHeight: 60.rpx, maxHeight: 60.rpx),
|
||||
constraints: BoxConstraints(
|
||||
minHeight: 62.rpx,
|
||||
),
|
||||
child: Align(
|
||||
alignment: AlignmentDirectional(-1, 0),
|
||||
child: Text(
|
||||
"${value}",
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 2,
|
||||
maxLines: 1,
|
||||
style: TextStyle(
|
||||
fontFamily: 'Inter',
|
||||
fontSize: 26.rpx,
|
||||
|
||||
@@ -135,13 +135,7 @@ class _EPageState extends State<EPage> with AutomaticKeepAliveClientMixin {
|
||||
Widget _buildLoggedInContent() {
|
||||
return Obx(() {
|
||||
if (finalUri.isEmpty) {
|
||||
return Center(
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor: AlwaysStoppedAnimation<Color>(
|
||||
themeController.currentColor.sc1,
|
||||
),
|
||||
));
|
||||
return Center(child: CircularProgressIndicator());
|
||||
}
|
||||
|
||||
// 如果设备列表为空
|
||||
@@ -179,13 +173,7 @@ class _EPageState extends State<EPage> with AutomaticKeepAliveClientMixin {
|
||||
valueListenable: isPageLoading,
|
||||
builder: (context, isLoading, child) {
|
||||
return isLoading
|
||||
? Center(
|
||||
child: CircularProgressIndicator(
|
||||
strokeWidth: 1,
|
||||
valueColor: AlwaysStoppedAnimation<Color>(
|
||||
themeController.currentColor.sc1,
|
||||
),
|
||||
))
|
||||
? Center(child: CircularProgressIndicator())
|
||||
: SizedBox.shrink();
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user