Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
a441de99
Commit
a441de99
authored
Jan 08, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
6afeeca4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
451 additions
and
3 deletions
+451
-3
App.vue
src/App.vue
+1
-1
topBg.jpg
src/assets/images/myimg/topBg.jpg
+0
-0
myCourse.vue
src/layouts/myCourse.vue
+427
-0
course.vue
src/pages/course/course.vue
+8
-0
question.vue
src/pages/course/question.vue
+7
-2
routes.js
src/router/routes.js
+8
-0
No files found.
src/App.vue
View file @
a441de99
...
...
@@ -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
,
...
...
src/assets/images/myimg/topBg.jpg
0 → 100644
View file @
a441de99
2.34 KB
src/layouts/myCourse.vue
0 → 100644
View file @
a441de99
This diff is collapsed.
Click to expand it.
src/pages/course/course.vue
View file @
a441de99
...
...
@@ -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'
,
});
}
}
}
...
...
src/pages/course/question.vue
View file @
a441de99
<
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>
...
...
src/router/routes.js
View file @
a441de99
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment