This commit is contained in:
shijingjing
2023-03-23 13:39:14 +08:00
parent 2eb5df3759
commit 410d0e70e0
2 changed files with 3 additions and 4 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-study="toStudy" @to-test="toTest" v-show="currIndex == 1"></GeneralLawExam>
<GeneralLawExam ref="GeneralLawExam" :height="height" @to-test="toTest" v-show="currIndex == 1"></GeneralLawExam>
</div>
</div>
</template>
@@ -78,9 +78,6 @@ export default {
toDetail(id) {
uni.navigateTo({url: "./classDetail?id=" + id})
},
toStudy() {
this.currIndex == 1
}
}
}
</script>

View File

@@ -218,6 +218,8 @@ export default {
.card_top {
position: relative;
border-radius: 16px 16px 0 0;
padding: 38px;
box-sizing: border-box;
.card_title {
font-weight: 500;