普法考试

This commit is contained in:
shijingjing
2023-02-13 16:13:27 +08:00
parent 825ae8e41b
commit b7433bdd55
3 changed files with 42 additions and 9 deletions

View File

@@ -6,6 +6,7 @@
<p class="all_class">全部课程</p>
<!-- v-if="classList.length" -->
<div class="card_list">
<div class="card" @click="handleToDetail">
<div class="card_left">
@@ -17,6 +18,7 @@
</div>
</div>
</div>
<!-- <AiEmpty :description="`暂无数据`" class="emptyWrap" v-else/> -->
</div>
</template>
@@ -26,6 +28,7 @@ export default {
return {
current: 1,
keyword: '',
classList: [],
}
},
onLoad() {
@@ -34,7 +37,17 @@ export default {
methods: {
getList() {
console.log('在线课堂列表');
// this.$instance.post(``, null, {
// params: {
// current: this.current,
// size: 10,
// title: this.title
// }
// }).then(res=> {
// if(res?.data) {
// this.classList = res.data.records
// }
// })
},
handleToDetail() {
this.$emit('toDetail')