Compare commits

...

3 Commits

Author SHA1 Message Date
tanghong668
b1832f04ff 修正我在想想退回时页面闪过 2023-12-02 12:34:09 +08:00
tanghong668
3600f2ea41 Merge branch 'yuanjunyao_dev' of https://git.sqlce.cn/jest/dreampad into yuanjunyao_dev 2023-12-02 12:31:06 +08:00
tanghong668
5df8e1d1a2 修正页面显示闪过 2023-12-02 12:29:49 +08:00

View File

@ -240,11 +240,14 @@ class SelectController extends GetxController {
} }
Future confimSelected() async { Future confimSelected() async {
showBtn.value = false;
allAnswer.value = false;
showOccupationName.value = false;
confirm.value = true; confirm.value = true;
recommend.value = false; recommend.value = false;
confirmTitle.value = '你的梦想职业是'; confirmTitle.value = '你的梦想职业是';
showOccupationName.value = true; showOccupationName.value = true;
await Future.delayed(const Duration(milliseconds: 1000)); await Future.delayed(const Duration(milliseconds: 1500));
showOccupationName.value = false; showOccupationName.value = false;
} }
@ -304,7 +307,7 @@ class SelectController extends GetxController {
await setStep(); await setStep();
textController.text = ''; textController.text = '';
if (allAnswer.value) { if (allAnswer.value) {
await Future.delayed(const Duration(milliseconds: 1000)); await Future.delayed(const Duration(milliseconds: 1500));
for (var questionAnswer in questionAnswers) { for (var questionAnswer in questionAnswers) {
questionAnswer.update((val) { questionAnswer.update((val) {
val!.display = false; val!.display = false;
@ -322,9 +325,6 @@ class SelectController extends GetxController {
val!.display = false; val!.display = false;
}); });
} }
showBtn.value = false;
allAnswer.value = false;
showOccupationName.value = false;
} }
Future openDream() async { Future openDream() async {