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