曲靖考试

This commit is contained in:
shijingjing
2023-03-23 09:15:22 +08:00
parent 73d84875c3
commit 6027a46ee9
4 changed files with 29 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
</div>
<div>
<OnlineClass ref="OnlineClass" :height="height" @to-detail="toDetail" v-show="currIndex == 0"></OnlineClass>
<GeneralLawExam ref="GeneralLawExam" :height="height" @to-test="toTest" v-show="currIndex == 1"></GeneralLawExam>
<GeneralLawExam ref="GeneralLawExam" :height="height" @to-study="toStudy" @to-test="toTest" v-show="currIndex == 1"></GeneralLawExam>
</div>
</div>
</template>
@@ -77,6 +77,9 @@ export default {
},
toDetail(id) {
uni.navigateTo({url: "./classDetail?id=" + id})
},
toStudy() {
this.currIndex == 1
}
}
}