曲靖考试
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user