优化决定了对话框逻辑
This commit is contained in:
parent
d6ea57859c
commit
9355fc2016
@ -41,12 +41,12 @@ class SelectView extends GetView<SelectController> {
|
||||
}
|
||||
|
||||
Widget buildSelect(BuildContext context) {
|
||||
return Stack(
|
||||
return _ShowUp(
|
||||
child: Stack(
|
||||
children: [
|
||||
Positioned(
|
||||
top: 2.h,
|
||||
left: 412.w,
|
||||
child: _ShowUp(
|
||||
child: Container(
|
||||
width: 360.w,
|
||||
height: 164.h,
|
||||
@ -63,9 +63,9 @@ class SelectView extends GetView<SelectController> {
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
buildSelectOccupation(context),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@ -287,22 +287,24 @@ class SelectView extends GetView<SelectController> {
|
||||
),
|
||||
),
|
||||
),
|
||||
controller.recommend.value
|
||||
? buildRecommendConfirmBtn(
|
||||
context, controller.selectOccupation.value!.name!)
|
||||
: buildConfirmBtn(
|
||||
context, controller.selectOccupation.value!.name!),
|
||||
controller.showOccupationName.value
|
||||
? Container()
|
||||
: Positioned(
|
||||
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!),
|
||||
RSizedBox(
|
||||
child: Stack(
|
||||
children: controller.questionAnswers.map((element) {
|
||||
|
Loading…
Reference in New Issue
Block a user