diff --git a/src/project/qujing/AppLegalLearning/AppLegalLearning.vue b/src/project/qujing/AppLegalLearning/AppLegalLearning.vue index 19b491a..b54bb58 100644 --- a/src/project/qujing/AppLegalLearning/AppLegalLearning.vue +++ b/src/project/qujing/AppLegalLearning/AppLegalLearning.vue @@ -6,8 +6,8 @@ :active-item-style="{color: '#222222'}" :is-scroll="true" :current="currIndex" @change="(i) => (currIndex = i)">
- - + +
diff --git a/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue b/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue index 7bd2771..64b908e 100644 --- a/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue +++ b/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue @@ -81,6 +81,7 @@ export default { flag: false, current: 1, testList: [], + testId: '', } }, computed: { @@ -110,6 +111,7 @@ export default { handleToTest(id) { if(!this.user.areaId) { this.showAuth = true; + this.testId = id; } else { this.$emit('toTest',id) } @@ -136,10 +138,10 @@ export default { this.$instance.post(`/app/appwechatuserqujing/idNumberAttestation`, this.form).then(res=> { if(res?.code == 0) { this.flag = false - this.$u.toast("提交成功"); + this.showAuth = false + this.$u.toast("认证成功"); setTimeout(()=> { - this.showAuth = false - this.$emit('toTest',id) + this.$emit('toTest',this.testId) }, 500) } else { this.flag = false