普法考试
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user