Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
aa55dfd3
提交
aa55dfd3
authored
4月 11, 2020
作者:
zyx
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
1096231a
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
28 行增加
和
7 行删除
+28
-7
course.vue
client/src/pages/learn/course.vue
+1
-1
courseDetail.vue
client/src/pages/learn/courseDetail.vue
+5
-5
style.scss
client/src/style.scss
+22
-1
没有找到文件。
client/src/pages/learn/course.vue
浏览文件 @
aa55dfd3
...
...
@@ -26,7 +26,7 @@
<div
class=
"switch-box"
>
<el-button
type=
"info"
size=
"medium"
@
click=
"studyEarlyUpdate"
plain
>
{{ $t('pages.learn.course.lastLearn') }}
<i
:class=
"['el-icon-caret-' + (filter.studyEarly == 'down' ? 'bottom' : 'top'), 'icon']"
></i></el-button>
<el-button
type=
"info"
size=
"medium"
@
click=
"selectTimeUpdate"
plain
>
{{ $t('pages.learn.course.updateTime') }}
<i
:class=
"['el-icon-caret-' + (filter.selectTime == 'down' ? 'bottom' : 'top'), 'icon']"
></i></el-button>
<
el-button
class=
"rbtn"
type=
"primary"
size=
"medium"
icon=
"el-icon-self-cc-book icon"
@
click=
"goCourseAll"
>
{{ $t('pages.learn.course.changeCourse') }}
</el-button
>
<
!-- <el-button class="rbtn" type="primary" size="medium" icon="el-icon-self-cc-book icon" @click="goCourseAll">{{ $t('pages.learn.course.changeCourse') }}</el-button> --
>
</div>
<div
class=
"con-box"
>
...
...
client/src/pages/learn/courseDetail.vue
浏览文件 @
aa55dfd3
...
...
@@ -379,7 +379,7 @@ export default {
this
.
tabs
[
3
].
assess
=
json1
loading
.
close
()
}).
catch
(
e
=>
{
this
.
$message
.
error
(
e
.
message
)
}).
finally
(()
=>
{
})
cAction
.
discussAction
.
getCourseDiscussList
(
this
.
cid
,
this
.
sid
,
this
.
param
).
then
(
json2
=>
{
cAction
.
Discuss
.
getCourseDiscussList
(
this
.
cid
,
this
.
sid
,
this
.
param
).
then
(
json2
=>
{
this
.
discussList
=
json2
}).
catch
(
e
=>
{
this
.
$message
.
error
(
e
.
message
)
}).
finally
(()
=>
{
})
}).
catch
(
e
=>
{
this
.
$message
.
error
(
e
.
message
);
loading
.
close
()
}).
finally
(()
=>
{
})
...
...
@@ -599,7 +599,7 @@ export default {
/* 字母 f */
if
(
e
.
keyCode
===
70
)
{
/* 直接 调用接口 完成 本课程学习 */
cAction
.
chapterAction
.
updateProgress
({
cAction
.
Player
.
updateProgress
({
d
:
cTool
.
other
.
getIdt
(),
i
:
cTool
.
other
.
getIdt
(),
c
:
_cid
,
...
...
@@ -665,13 +665,13 @@ export default {
}
else
{
this
.
publish
.
contents
=
this
.
ckeditor
.
getData
()
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
''
,
spinner
:
''
,
background
:
'rgba(255, 255, 255, 0.9)'
})
cAction
.
discussAction
.
publishQues
(
this
.
publish
).
then
(
json
=>
{
cAction
.
Discuss
.
publishQues
(
this
.
publish
).
then
(
json
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'问题发布成功'
})
this
.
isPublicShow
=
false
cAction
.
discussAction
.
getCourseDiscussList
(
this
.
cid
,
this
.
sid
,
this
.
param
).
then
(
json2
=>
{
cAction
.
Discuss
.
getCourseDiscussList
(
this
.
cid
,
this
.
sid
,
this
.
param
).
then
(
json2
=>
{
this
.
discussList
=
json2
}).
catch
(
e
=>
{
this
.
$message
.
error
(
e
.
message
)
}).
finally
(()
=>
{
})
}).
catch
(
e
=>
{
this
.
$message
.
error
(
e
.
message
)
}).
finally
(()
=>
{
loading
.
close
()
})
...
...
@@ -701,7 +701,7 @@ export default {
this
.
param
.
offset
=
0
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
''
,
spinner
:
''
,
background
:
'rgba(255, 255, 255, 0.9)'
})
cAction
.
discussAction
.
getCourseDiscussList
(
this
.
cid
,
this
.
sid
,
this
.
param
).
then
(
json
=>
{
cAction
.
Discuss
.
getCourseDiscussList
(
this
.
cid
,
this
.
sid
,
this
.
param
).
then
(
json
=>
{
this
.
discussList
=
json
}).
catch
(
e
=>
{
this
.
$message
.
error
(
e
.
message
)
}).
finally
(()
=>
{
loading
.
close
()
})
}
...
...
client/src/style.scss
浏览文件 @
aa55dfd3
...
...
@@ -21,7 +21,6 @@ html, body {
sans-serif
;
}
/* 公共标题 - 样式 /app/learn */
.con-title
{
padding
:
0
30px
;
...
...
@@ -38,6 +37,28 @@ html, body {
position
:
relative
;
}
/* 进度条 原始背景色 加深 */
.el-progress-bar__outer
{
background-color
:
#e5e5e5
!
important
;
}
.el-progress-bar__innerText
{
color
:
#313131
;
}
.el-progress-bar
{
margin-right
:
-65px
;
padding-right
:
65px
;
}
.el-progress__text
{
margin-left
:
6px
;
}
/* 学分 页面 - 进度条样式 */
.el-progress-bar__outer
{
border-radius
:
0
;
}
.el-progress-bar__inner
{
border-radius
:
0
;
}
/* 富文本 */
.course-assess
.detail
.b1
{
display
:
block
;
max-width
:
5rem
;
margin
:
0
.2rem
auto
;
width
:
100%
;
height
:
auto
;
}
.course-assess
.detail
.h1
{
font-size
:
0
.16rem
;
font-weight
:
700
;
color
:
#313131
;
line-height
:
0
.38rem
;
}
.course-assess
.detail
.h2
{
font-size
:
0
.14rem
;
font-weight
:
700
;
color
:
#313131
;
line-height
:
0
.3rem
;
}
.course-assess
.detail
.p
{
font-size
:
0
.14rem
;
color
:
#313131
;
line-height
:
1
.5
;
text-align
:
justify
;
}
.course-assess
.detail
.em
{
font-size
:
0
.12rem
;
color
:
#b49441
;
line-height
:
1
.5
;
text-align
:
justify
;
}
/* 富文本 */
.discuss-scroll
.item-list
.text
p
{
margin
:
0
;
padding
:
0
;
}
/* 富文本 */
.discuss-detail-scroll
.ques
.text
p
{
margin
:
0
;
padding
:
0
;
}
.discuss-detail-scroll
.ask
.text
p
{
margin
:
0
;
padding
:
0
;
}
/* Extra small devices (portrait phones, less than 576px) */
@media
(
max-width
:
575px
)
{
html
{
font-size
:
80px
;
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论