From 9355fc2016ed24af0d543bc27df4f358b5dc301e Mon Sep 17 00:00:00 2001 From: yuanjunyao <78557062@qq.com> Date: Sat, 2 Dec 2023 11:37:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=86=B3=E5=AE=9A=E4=BA=86?= =?UTF-8?q?=E5=AF=B9=E8=AF=9D=E6=A1=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/app/modules/select/views/select_view.dart | 42 ++++++++++--------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/lib/app/modules/select/views/select_view.dart b/lib/app/modules/select/views/select_view.dart index 42884d4..46a2878 100644 --- a/lib/app/modules/select/views/select_view.dart +++ b/lib/app/modules/select/views/select_view.dart @@ -41,12 +41,12 @@ class SelectView extends GetView { } Widget buildSelect(BuildContext context) { - return Stack( - children: [ - Positioned( - top: 2.h, - left: 412.w, - child: _ShowUp( + return _ShowUp( + child: Stack( + children: [ + Positioned( + top: 2.h, + left: 412.w, child: Container( width: 360.w, height: 164.h, @@ -63,9 +63,9 @@ class SelectView extends GetView { ), ), ), - ), - buildSelectOccupation(context), - ], + buildSelectOccupation(context), + ], + ), ); } @@ -287,22 +287,24 @@ class SelectView extends GetView { ), ), ), + Positioned( + left: 90.w, + top: 62.h, + child: AnimatedVisibilityWidget( + isVisible: !controller.showOccupationName.value, + animationWidgetBuilder: AnimatedVisibilityWidget.fadeAnimationWidgetBuilder, + child: Container( + width: 999.w, + height: 558.h, + color: const Color(0x8C02184B), + ), + ), + ), controller.recommend.value ? buildRecommendConfirmBtn( context, controller.selectOccupation.value!.name!) : buildConfirmBtn( context, controller.selectOccupation.value!.name!), - controller.showOccupationName.value - ? Container() - : Positioned( - left: 90.w, - top: 62.h, - child: Container( - width: 999.w, - height: 558.h, - color: const Color(0x8C02184B), - ), - ), RSizedBox( child: Stack( children: controller.questionAnswers.map((element) {