|
|
@ -26,18 +26,6 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="Knowledge_point"> |
|
|
|
|
|
|
|
<ul> |
|
|
|
|
|
|
|
<li v-for="(item, index) in 6" :key="index"> |
|
|
|
|
|
|
|
知识点知识点知识点{{ item }} |
|
|
|
|
|
|
|
<span class="btn">×</span> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-tab-pane> |
|
|
|
</el-tab-pane> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<script setup> |
|
|
|
<script setup> |
|
|
@ -51,13 +39,18 @@ this.classList.toggle('noUpd') |
|
|
|
} |
|
|
|
} |
|
|
|
const arr = reactive([]) |
|
|
|
const arr = reactive([]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const a =[ |
|
|
|
const a =[ |
|
|
|
{ |
|
|
|
{ |
|
|
|
id:1, |
|
|
|
id:1, |
|
|
|
name:"操作系统", |
|
|
|
name:"操作系统", |
|
|
|
num:1, |
|
|
|
num:1, |
|
|
|
zjname:'操作系统引论', |
|
|
|
zjname:'操作系统引论', |
|
|
|
|
|
|
|
zsd:[ |
|
|
|
|
|
|
|
"sadas", |
|
|
|
|
|
|
|
"asdadsad", |
|
|
|
|
|
|
|
"asdasdas", |
|
|
|
|
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
id:2, |
|
|
|
id:2, |
|
|
@ -78,12 +71,14 @@ const a =[ |
|
|
|
arr.length=0 |
|
|
|
arr.length=0 |
|
|
|
arr.push(...a) |
|
|
|
arr.push(...a) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const ShowDel = ref(false) |
|
|
|
const ShowDel = ref(false) |
|
|
|
function XsDel(id){ |
|
|
|
function XsDel(id){ |
|
|
|
const item = arr.find(o=>o.a.id==id) |
|
|
|
const item = arr.find(o=>o.a.id==id) |
|
|
|
item.ShowDel = !item.ShowDel |
|
|
|
item.ShowDel = !item.ShowDel |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script> |
|
|
|
</script> |
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
.btn{ |
|
|
|
.btn{ |
|
|
|