Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-learn
Commits
b7692483
提交
b7692483
authored
11月 25, 2020
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
11405ede
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
40 行增加
和
20 行删除
+40
-20
.config.dev.js
.config.dev.js
+1
-1
CourseListItem.vue
src/components/CourseListItem.vue
+1
-0
aside.vue
src/components/layout/aside.vue
+34
-19
index.html
src/index.html
+1
-0
chapterPlayer.vue
src/modules/viewer/components/player/chapterPlayer.vue
+3
-0
没有找到文件。
.config.dev.js
浏览文件 @
b7692483
module
.
exports
=
{
module
.
exports
=
{
domain
:
'dev.ezijing.com'
,
domain
:
'dev.ezijing.com'
,
url
:
'https://
transport
.ezijing.com/api'
,
url
:
'https://
x-learning2
.ezijing.com/api'
,
webpack
:
{
webpack
:
{
externals
:
{
externals
:
{
CKEDITOR
:
'window.CKEDITOR'
,
CKEDITOR
:
'window.CKEDITOR'
,
...
...
src/components/CourseListItem.vue
浏览文件 @
b7692483
...
@@ -71,6 +71,7 @@ export default {
...
@@ -71,6 +71,7 @@ export default {
}
}
.course-item__title
{
.course-item__title
{
font-size
:
18px
;
font-size
:
18px
;
font-weight
:
bold
;
color
:
#222
;
color
:
#222
;
display
:
-
webkit-box
;
display
:
-
webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
...
...
src/components/layout/aside.vue
浏览文件 @
b7692483
<
template
>
<
template
>
<div
class=
"app-aside"
>
<div
class=
"app-aside"
>
<div
class=
"user"
v-if=
"showUser"
>
<div
class=
"inner"
>
<div
class=
"user-avatar"
><img
:src=
"avatar"
/></div>
<div
class=
"user"
v-if=
"showUser"
>
<div
class=
"user-tools"
>
<div
class=
"user-avatar"
><img
:src=
"avatar"
/></div>
<span><router-link
to=
"/account/password"
>
修改密码
</router-link></span>
<div
class=
"user-tools"
>
<span
@
click=
"logout"
>
退出登录
</span>
<span><router-link
to=
"/account/password"
>
修改密码
</router-link></span>
<span
@
click=
"logout"
>
退出登录
</span>
</div>
</div>
</div>
<ul
class=
"nav"
>
<li
v-for=
"(item, index) in datalist"
:key=
"index"
:class=
"genClasses(item)"
>
<router-link
:to=
"item.path"
>
<i
class=
"iconfont"
:class=
"item.icon"
v-if=
"item.icon"
></i>
<span>
{{
item
.
title
}}
</span>
</router-link>
</li>
</ul>
</div>
</div>
<ul
class=
"nav"
>
<li
v-for=
"(item, index) in datalist"
:key=
"index"
:class=
"genClasses(item)"
>
<router-link
:to=
"item.path"
>
{{
item
.
title
}}
</router-link>
</li>
</ul>
</div>
</div>
</
template
>
</
template
>
...
@@ -27,14 +32,14 @@ export default {
...
@@ -27,14 +32,14 @@ export default {
data
()
{
data
()
{
return
{
return
{
defaultMenus
:
[
defaultMenus
:
[
{
title
:
'考前摸底'
,
icon
:
''
,
path
:
'/testExam'
},
{
title
:
'考前摸底'
,
icon
:
'
icon-bianzuhong
'
,
path
:
'/testExam'
},
{
title
:
'真题实战'
,
icon
:
''
,
path
:
'/mock'
},
{
title
:
'真题实战'
,
icon
:
'
icon-kaoshihong
'
,
path
:
'/mock'
},
{
title
:
'错题集合'
,
icon
:
''
,
path
:
'/my/questions/wrong'
},
{
title
:
'错题集合'
,
icon
:
'
icon-guanlizhongxinbeifen-hong
'
,
path
:
'/my/questions/wrong'
},
{
title
:
'收藏试题'
,
icon
:
''
,
path
:
'/my/questions/collection'
},
{
title
:
'收藏试题'
,
icon
:
'
icon-shoucang-hong
'
,
path
:
'/my/questions/collection'
},
{
title
:
'必考考点'
,
icon
:
''
,
path
:
'/course/test'
},
{
title
:
'必考考点'
,
icon
:
'
icon-kaozheng-hong
'
,
path
:
'/course/test'
},
{
title
:
'考证课程'
,
icon
:
''
,
path
:
'/course/learn'
},
{
title
:
'考证课程'
,
icon
:
'
icon-bianzu6-hong
'
,
path
:
'/course/learn'
},
{
title
:
'意见反馈'
,
icon
:
''
,
path
:
'/feedback'
},
{
title
:
'意见反馈'
,
icon
:
'
icon-fankui-hong
'
,
path
:
'/feedback'
},
{
title
:
'联系客服'
,
icon
:
''
,
path
:
'/contact'
}
{
title
:
'联系客服'
,
icon
:
'
icon-bianzu8-hong
'
,
path
:
'/contact'
}
]
]
}
}
},
},
...
@@ -71,7 +76,10 @@ export default {
...
@@ -71,7 +76,10 @@ export default {
.app-aside
{
.app-aside
{
width
:
200px
;
width
:
200px
;
background-color
:
#fff
;
background-color
:
#fff
;
.inner
{
position
:
sticky
;
top
:
0
;
}
.user
{
.user
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -116,6 +124,13 @@ export default {
...
@@ -116,6 +124,13 @@ export default {
&
.is-active
{
&
.is-active
{
color
:
#c01540
;
color
:
#c01540
;
background-color
:
#fff4f7
;
background-color
:
#fff4f7
;
.iconfont
{
color
:
#c01540
;
}
}
.iconfont
{
margin-right
:
4px
;
color
:
#ccc
;
}
}
}
}
}
}
...
...
src/index.html
浏览文件 @
b7692483
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no, viewport-fit=cover"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no, viewport-fit=cover"
/>
/>
<link
rel=
"stylesheet"
href=
"https://g.alicdn.com/de/prismplayer/2.9.1/skins/default/aliplayer-min.css"
/>
<link
rel=
"stylesheet"
href=
"https://g.alicdn.com/de/prismplayer/2.9.1/skins/default/aliplayer-min.css"
/>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_2173492_ctgt96uojqw.css"
/>
</head>
</head>
<body>
<body>
<div
id=
"app"
></div>
<div
id=
"app"
></div>
...
...
src/modules/viewer/components/player/chapterPlayer.vue
浏览文件 @
b7692483
...
@@ -261,6 +261,9 @@ export default {
...
@@ -261,6 +261,9 @@ export default {
this
.
getChapterVideo
()
this
.
getChapterVideo
()
// 获取视频进度
// 获取视频进度
this
.
getChapterVideoProgress
()
this
.
getChapterVideoProgress
()
},
beforeDestroy
()
{
this
.
throttled
&&
this
.
throttled
.
cancel
()
}
}
}
}
</
script
>
</
script
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论