Commit a441de99 authored by 罗超's avatar 罗超

修改

parent 6afeeca4
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
<style> <style>
@import url('~assets/css/font.css'); @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, html,
body, body,
......
This diff is collapsed.
...@@ -58,6 +58,8 @@ ...@@ -58,6 +58,8 @@
@click="gotoSub(props.row,'chapter')"></q-btn> @click="gotoSub(props.row,'chapter')"></q-btn>
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑" <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
@click="EditCourse(props.row)" /> @click="EditCourse(props.row)" />
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="详情"
@click="goMycourse()" />
</q-td> </q-td>
</template> </template>
</q-table> </q-table>
...@@ -238,6 +240,12 @@ ...@@ -238,6 +240,12 @@
//关闭弹窗 //关闭弹窗
closeMenuSaveForm() { closeMenuSaveForm() {
this.isShowCourseForm = false this.isShowCourseForm = false
},
//跳转至我的课程
goMycourse(){
this.$router.push({
path: '/myCourse',
});
} }
} }
} }
......
<style>
.page-content p{
margin:16px 0 0 0!important;
}
</style>
<template> <template>
<div class="page-body"> <div class="page-body">
<div class="page-search row items-center"> <div class="page-search row items-center">
...@@ -42,10 +47,10 @@ ...@@ -42,10 +47,10 @@
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="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="编辑" <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
@click="EditQuestion(props.row)" /> @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> </q-td>
</template> </template>
</q-table> </q-table>
......
...@@ -452,6 +452,14 @@ const routes = [{ ...@@ -452,6 +452,14 @@ const routes = [{
}, },
] ]
}, },
{
path:"/myCourse",
component: () =>
import("layouts/myCourse.vue"),
children:[
]
},
// Always leave this as last one, // Always leave this as last one,
// but you can also remove it // 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