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
e76d6ba3
Commit
e76d6ba3
authored
Mar 17, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
8064c62f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
courseinfo.vue
src/pages/course/courseinfo.vue
+13
-11
No files found.
src/pages/course/courseinfo.vue
View file @
e76d6ba3
...
...
@@ -23,7 +23,6 @@
}
.nav-content
ul
{
/* border-bottom: 2px solid #F8F8F8; */
padding
:
12px
0
;
}
...
...
@@ -82,10 +81,10 @@
<div
class=
"text_Degree"
>
{{
courseInfo
.
CourseName
}}
</div>
<div
class=
"nav-content"
>
<ul>
<li
:class=
"
{'checkedLi':commonIndex==1}" @click="gotoPage('question',1)">
<
!--
<
li
:class=
"
{'checkedLi':commonIndex==1}" @click="gotoPage('question',1)">
<i
class=
"iconfont icon-tiku"
></i>
题库
</li>
<
!--
<
li
:class=
"
{'checkedLi':commonIndex==2}" @click="gotoPage('teachplan',2)">
</li>
-->
<li
:class=
"
{'checkedLi':commonIndex==2}" @click="gotoPage('teachplan',2)">
<i
style=
"font-size:20px;"
class=
"iconfont icon-PPT"
></i>
教案
</li>
<li
:class=
"
{'checkedLi':commonIndex==3}" @click="gotoPage('chapter',3)">
...
...
@@ -93,7 +92,7 @@
</li>
<li
:class=
"
{'checkedLi':commonIndex==4}" @click="gotoPage('coursejob',4)">
<i
class=
"iconfont icon-icon_zhangjielianxi"
></i>
作业
</li>
-->
</li>
</ul>
</div>
</q-list>
...
...
@@ -131,7 +130,7 @@
opacity
:
0.5
},
CourseId
:
0
,
commonIndex
:
1
,
//选中
commonIndex
:
2
,
//选中
courseInfo
:
{},
//课程信息
}
},
...
...
@@ -140,14 +139,17 @@
handler
:
function
(
route
)
{
var
newPath
=
route
.
path
.
split
(
"?"
)[
0
].
toLowerCase
();
switch
(
newPath
)
{
case
"/course/c
hapter
"
:
this
.
commonIndex
=
3
;
case
"/course/c
ourseinfo
"
:
this
.
commonIndex
=
1
;
break
;
case
"/course/teachplan"
:
this
.
commonIndex
=
2
;
break
;
case
"/course/courseinfo"
:
this
.
commonIndex
=
1
;
case
"/course/chapter"
:
this
.
commonIndex
=
3
;
break
;
case
"/course/coursejob"
:
this
.
commonIndex
=
4
;
break
;
}
},
...
...
@@ -164,7 +166,7 @@
this
.
getCourseInfo
();
},
mounted
()
{
this
.
gotoPage
(
'
question'
,
1
);
this
.
gotoPage
(
'
teachplan'
,
2
);
},
methods
:
{
//获取课程信息
...
...
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