Commit a441de99 authored by 罗超's avatar 罗超

修改

parent 6afeeca4
......@@ -12,7 +12,7 @@ export default {
<style>
@import url('~assets/css/font.css');
@import url('//at.alicdn.com/t/font_2077629_i2jhncmmilc.css');
@import url('//at.alicdn.com/t/font_2077629_cuetpapmdg.css');
html,
body,
......
This diff is collapsed.
......@@ -58,6 +58,8 @@
@click="gotoSub(props.row,'chapter')"></q-btn>
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
@click="EditCourse(props.row)" />
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="详情"
@click="goMycourse()" />
</q-td>
</template>
</q-table>
......@@ -238,6 +240,12 @@
//关闭弹窗
closeMenuSaveForm() {
this.isShowCourseForm = false
},
//跳转至我的课程
goMycourse(){
this.$router.push({
path: '/myCourse',
});
}
}
}
......
<style>
.page-content p{
margin:16px 0 0 0!important;
}
</style>
<template>
<div class="page-body">
<div class="page-search row items-center">
......@@ -42,10 +47,10 @@
</template>
<template v-slot:body-cell-optioned="props">
<q-td :props="props">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="删除"
@click="setQuestionStatus(props.row)"></q-btn>
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
@click="EditQuestion(props.row)" />
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="删除"
@click="setQuestionStatus(props.row)"></q-btn>
</q-td>
</template>
</q-table>
......
......@@ -452,6 +452,14 @@ const routes = [{
},
]
},
{
path:"/myCourse",
component: () =>
import("layouts/myCourse.vue"),
children:[
]
},
// Always leave this as last one,
// but you can also remove it
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment