Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
2173f62e
提交
2173f62e
authored
1月 09, 2019
作者:
GOD_ZYX
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
提交 BUG修改
上级
46a287e2
显示空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
41 行增加
和
14 行删除
+41
-14
build.zip
build.zip
+0
-0
index.html
client-dist/index.html
+2
-2
11.6521c812.js
client-dist/resources/11.6521c812.js
+0
-2
11.7b12fe3f.js
client-dist/resources/11.7b12fe3f.js
+2
-0
11.970f20fae48e.css
client-dist/resources/11.970f20fae48e.css
+2
-2
16.30dff0c0c0cb.css
client-dist/resources/16.30dff0c0c0cb.css
+2
-2
16.6ba9727d.js
client-dist/resources/16.6ba9727d.js
+2
-0
16.f7419562.js
client-dist/resources/16.f7419562.js
+0
-2
manifest.2bf0819b.js
client-dist/resources/manifest.2bf0819b.js
+2
-2
chapterExam.vue
client/components/player/chapterExam/chapterExam.vue
+4
-0
courseDetail.vue
client/project/elearning-node/pages/myLearn/courseDetail.vue
+1
-1
index.js
server/elearning-node/routes/index.js
+24
-1
没有找到文件。
build.zip
浏览文件 @
2173f62e
No preview for this file type
client-dist/index.html
浏览文件 @
2173f62e
...
...
@@ -2,4 +2,4 @@
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/console-polyfill.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/html5shiv.min.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/respond.min.js"></script>
<![endif]-->
<script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/manifest.d2997f4d.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.c34ded55.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.5b490b42.js"
></script></body></html>
\ No newline at end of file
<![endif]-->
<script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/manifest.2bf0819b.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.c34ded55.js"
></script><script
type=
"text/javascript"
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.5b490b42.js"
></script></body></html>
\ No newline at end of file
client-dist/resources/11.6521c812.js
deleted
100644 → 0
浏览文件 @
46a287e2
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
11
],{
270
:
function
(
e
,
t
,
r
){
"use strict"
;
r
.
r
(
t
);
var
a
=
r
(
439
),
s
=
r
(
354
);
for
(
var
i
in
s
)
"default"
!==
i
&&
function
(
e
){
r
.
d
(
t
,
e
,
function
(){
return
s
[
e
]})}(
i
);
r
(
400
);
var
o
=
r
(
3
),
c
=
Object
(
o
.
a
)(
s
.
default
,
a
.
a
,
a
.
b
,
!
1
,
null
,
"dfa87ad4"
,
null
);
c
.
options
.
__file
=
"chapterExam.vue"
,
t
.
default
=
c
.
exports
},
354
:
function
(
e
,
t
,
r
){
"use strict"
;
r
.
r
(
t
);
var
a
=
r
(
355
),
s
=
r
.
n
(
a
);
for
(
var
i
in
a
)
"default"
!==
i
&&
function
(
e
){
r
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
t
.
default
=
s
.
a
},
355
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
,
s
=
r
(
68
),
h
=
(
a
=
s
)
&&
a
.
__esModule
?
a
:{
default
:
a
};
t
.
default
=
{
props
:{
chapterId
:{
type
:
String
,
require
:
!
1
},
chapterName
:{
type
:
String
,
require
:
!
1
},
chapterExam
:{
type
:
Object
,
require
:
!
1
},
sid
:{
type
:
String
,
require
:
!
1
},
cid
:{
type
:
String
,
require
:
!
1
},
id
:{
type
:
String
,
require
:
!
1
}},
data
:
function
(){
return
{
exam
:{},
param
:{
course_id
:
""
,
chapter_id
:
""
,
work_id
:
""
,
semester_id
:
""
,
work_contents
:
""
,
duration
:
0
,
score
:
0
},
startTime
:
""
,
recordAll
:[],
setTime
:
null
,
radioCur
:
""
,
checkCur
:
""
}},
mounted
:
function
(){
this
.
loadAjax
()},
methods
:{
updateData
:
function
(
n
){
return
this
.
param
=
{
course_id
:
n
.
course_id
,
chapter_id
:
n
.
chapter_id
,
work_id
:
n
.
work_id
,
semester_id
:
n
.
semester_id
,
work_contents
:
""
,
duration
:
0
,
score
:
0
},
this
.
startTime
=
(
new
Date
).
getTime
(),{
id
:
n
.
id
,
semester_id
:
n
.
semester_id
,
title
:
n
.
work_title
,
score
:
n
.
score
||
(
0
===
n
.
score
?
"0"
:
""
),
work_contents
:
n
.
work_contents
||
""
,
group
:
n
.
questions
.
map
(
function
(
e
,
t
){
var
r
=
""
,
a
=
JSON
.
parse
(
e
.
question_options
);
a
.
forEach
(
function
(
e
,
t
){
if
(
e
.
checked
)
switch
(
t
){
case
0
:
r
+=
"A,"
;
break
;
case
1
:
r
+=
"B,"
;
break
;
case
2
:
r
+=
"C,"
;
break
;
case
3
:
r
+=
"D,"
}});
var
s
=
""
;
if
(
n
.
work_contents
){
for
(
var
i
=
JSON
.
parse
(
n
.
work_contents
),
o
=
0
;
o
<
i
.
length
;
o
++
)
if
(
i
[
o
].
question_id
===
e
.
id
){
a
=
i
[
o
].
options
;
break
}
if
(
1
===
e
.
question_type
)
for
(
var
c
=
0
;
c
<
a
.
length
;
c
++
)
if
(
a
[
c
].
selected
){
s
=
c
;
break
}}
return
{
id
:
e
.
id
,
type
:
e
.
question_type
,
title
:
e
.
question_content
,
arr
:
a
,
cur
:
n
.
work_contents
&&
r
.
substr
(
0
,
r
.
length
-
1
)
||
""
,
arrSel
:[],
sel
:
s
}})}},
updateData1
:
function
(
e
){
this
.
exam
.
id
=
e
.
id
,
this
.
exam
.
semester_id
=
e
.
semester_id
,
this
.
exam
.
title
=
e
.
work_title
,
this
.
exam
.
score
=
e
.
score
||
"0"
,
this
.
exam
.
work_contents
=
e
.
work_contents
||
""
;
for
(
var
t
=
0
;
t
<
this
.
exam
.
group
.
length
;
t
++
){
var
r
=
""
,
a
=
e
.
questions
[
t
],
s
=
JSON
.
parse
(
a
.
question_options
);
s
.
forEach
(
function
(
e
,
t
){
if
(
e
.
checked
)
switch
(
t
){
case
0
:
r
+=
"A,"
;
break
;
case
1
:
r
+=
"B,"
;
break
;
case
2
:
r
+=
"C,"
;
break
;
case
3
:
r
+=
"D,"
}});
var
i
=
""
;
if
(
e
.
work_contents
){
for
(
var
o
=
JSON
.
parse
(
e
.
work_contents
),
c
=
0
;
c
<
o
.
length
;
c
++
)
if
(
o
[
c
].
question_id
===
a
.
id
){
s
=
o
[
c
].
options
;
break
}
if
(
1
===
a
.
question_type
)
for
(
var
n
=
0
;
n
<
s
.
length
;
n
++
)
if
(
s
[
n
].
selected
){
i
=
n
;
break
}}
this
.
exam
.
group
[
t
].
id
=
a
.
id
,
this
.
exam
.
group
[
t
].
type
=
a
.
question_type
,
this
.
exam
.
group
[
t
].
title
=
a
.
question_content
,
this
.
exam
.
group
[
t
].
cur
=
e
.
work_contents
&&
r
.
substr
(
0
,
r
.
length
-
1
)
||
""
,
this
.
exam
.
group
[
t
].
arrSel
=
[],
this
.
exam
.
group
[
t
].
sel
=
i
;
for
(
var
u
=
this
.
exam
.
group
[
t
].
arr
,
l
=
0
;
l
<
u
.
length
;
l
++
)
u
[
l
].
selected
=
s
[
l
].
selected
,
u
[
l
].
id
=
u
[
l
].
id
+
"1"
}},
loadAjax
:
function
(){
var
r
=
this
,
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
h
.
default
.
chapterAction
.
getExamDetail
(
this
.
sid
,
this
.
id
).
then
(
function
(
e
){
var
t
=
e
.
homework
;
r
.
exam
=
t
?(
t
.
score
=
e
.
score
,
t
.
work_contents
=
e
.
work_contents
,
r
.
updateData
(
t
)):{}}).
catch
(
function
(
e
){
r
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
r
.
setTime
=
setInterval
(
function
(){
r
.
chapterExam
.
work_id
&&
r
.
chapterExam
.
work_id
===
r
.
id
&&
(
r
.
exam
.
id
||
(
r
.
exam
=
r
.
updateData
(
r
.
chapterExam
),
document
.
querySelector
(
".play-paper"
).
scrollTop
=
0
),
clearInterval
(
r
.
setTime
))},
50
),
e
.
close
()})},
radioClick
:
function
(
e
){
this
.
radioCur
=
e
.
currentTarget
.
dataset
.
index
},
radioChange
:
function
(
e
){
for
(
var
t
=
this
.
radioCur
,
r
=
this
.
exam
.
group
[
t
].
arr
,
a
=
e
,
s
=
0
;
s
<
r
.
length
;
s
++
)
r
[
s
].
selected
=
0
;
r
[
a
].
selected
=
1
,
this
.
exam
.
group
[
t
].
arr
=
r
,
this
.
recordAll
.
push
(
t
)},
checkboxClick
:
function
(
e
){
this
.
checkboxCur
=
e
.
currentTarget
.
dataset
.
index
},
checkboxChange
:
function
(
e
){
for
(
var
r
=
this
.
checkboxCur
,
t
=
this
.
exam
.
group
[
r
].
arr
,
a
=
e
,
s
=
0
;
s
<
t
.
length
;
s
++
)
t
[
s
].
selected
=
0
;
for
(
var
i
=
0
;
i
<
a
.
length
;
i
++
)
t
[
a
[
i
]].
selected
=
1
;
this
.
exam
.
group
[
r
].
arr
=
t
,
a
.
length
?
this
.
recordAll
.
push
(
r
):
this
.
recordAll
=
this
.
recordAll
.
filter
(
function
(
e
,
t
){
return
e
!==
r
})},
submitExam
:
function
(
e
){
var
r
=
this
;
if
(
e
.
currentTarget
.
dataset
.
submit
)
this
.
$message
.
error
(
"已做过,不能再提交"
);
else
{
this
.
param
.
duration
=
Math
.
floor
(((
new
Date
).
getTime
()
-
this
.
startTime
)
/
1
e3
);
for
(
var
t
=
this
.
exam
.
group
,
a
=
t
.
length
,
s
=
[],
i
=
0
,
o
=
0
,
c
=
0
;
c
<
a
;
c
++
){
for
(
var
n
=
0
;
n
<
this
.
recordAll
.
length
&&
this
.
recordAll
[
n
]
!==
c
+
""
;
n
++
);
if
(
n
===
this
.
recordAll
.
length
)
return
void
this
.
$message
.
error
(
"还有题目未做,不能提交"
)}
for
(
var
u
=
0
;
u
<
t
.
length
;
u
++
){
if
(
o
=
0
,
1
===
t
[
u
].
type
&&
t
[
u
].
arr
.
forEach
(
function
(
e
,
t
){
e
.
checked
&&
e
.
selected
&&
(
i
+=
o
=
1
)}),
2
===
t
[
u
].
type
){
var
l
=!
0
;
t
[
u
].
arr
.
forEach
(
function
(
e
,
t
){
e
.
checked
!==!!
e
.
selected
&&
(
l
=!
1
)}),
l
&&
(
i
+=
o
=
1
)}
s
.
push
({
question_id
:
t
[
u
].
id
,
is_correct
:
o
,
options
:
t
[
u
].
arr
})}
this
.
param
.
work_contents
=
JSON
.
stringify
(
s
),
this
.
param
.
score
=
(
i
/
a
*
100
).
toFixed
(
1
);
var
d
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
h
.
default
.
chapterAction
.
submitExamDetail
(
this
.
param
).
then
(
function
(
e
){
e
.
status
?
h
.
default
.
chapterAction
.
getExamDetail
(
r
.
sid
,
r
.
id
).
then
(
function
(
e
){
var
t
=
e
.
homework
;
t
&&
(
t
.
score
=
e
.
score
,
t
.
work_contents
=
e
.
work_contents
,
r
.
updateData1
(
t
))}).
catch
(
function
(
e
){
r
.
$message
.
error
(
e
.
message
)}):
r
.
$message
.
error
(
e
.
data
.
error
)}).
catch
(
function
(
e
){
r
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
d
.
close
()})}}},
watch
:{
id
:{
handler
:
function
(){
this
.
loadAjax
()}}}}},
356
:
function
(
e
,
t
,
r
){},
400
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
356
);
r
.
n
(
a
).
a
},
439
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
function
(){
var
a
=
this
,
e
=
a
.
$createElement
,
s
=
a
.
_self
.
_c
||
e
;
return
s
(
"div"
,{
staticClass
:
"play-paper"
},[
s
(
"div"
,{
staticClass
:
"play-paper-body"
},[
s
(
"div"
,{
staticClass
:
"play-paper-title"
},[
s
(
"div"
,[
s
(
"h3"
,[
a
.
_v
(
a
.
_s
(
a
.
chapterName
))])])]),
a
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"play-paper-content play-chapter-exam"
},[
this
.
exam
.
id
?[
s
(
"div"
,{
staticClass
:
"exam"
},[
s
(
"div"
,{
staticStyle
:{
"text-align"
:
"center"
}},[
s
(
"div"
,{
staticClass
:
"topic"
},[
a
.
exam
.
score
?[
s
(
"div"
,{
staticClass
:
"cur"
},[
a
.
_v
(
"正确率:"
+
a
.
_s
(
a
.
exam
.
score
)
+
"%"
)])]:
a
.
_e
()],
2
)]),
a
.
_v
(
" "
),
s
(
"div"
,{},[
a
.
_l
(
a
.
exam
.
group
,
function
(
r
,
e
){
return
[
1
==
r
.
type
?[
s
(
"div"
,{
key
:
e
,
staticClass
:
"q-group"
,
attrs
:{
"data-index"
:
e
},
on
:{
click
:
a
.
radioClick
}},[
s
(
"div"
,{
staticClass
:
"q-num"
},[
a
.
_v
(
a
.
_s
(
e
+
1
)
+
"."
)]),
s
(
"div"
,{
staticClass
:
"q-title"
,
domProps
:{
innerHTML
:
a
.
_s
(
r
.
title
)}}),
s
(
"div"
,{
staticClass
:
"q-type"
},[
a
.
_v
(
"(单选题)"
)]),
a
.
_v
(
" "
),
s
(
"el-radio-group"
,{
staticClass
:
"radio-group"
,
on
:{
change
:
a
.
radioChange
},
model
:{
value
:
r
.
sel
,
callback
:
function
(
e
){
a
.
$set
(
r
,
"sel"
,
e
)},
expression
:
"item.sel"
}},[
a
.
_l
(
r
.
arr
,
function
(
e
,
t
){
return
[
s
(
"el-radio"
,{
key
:
t
,
class
:[
"radio"
,
r
.
cur
&&
e
.
checked
&&
"success"
,
r
.
cur
&&!
e
.
checked
&&
e
.
selected
&&
"error"
],
attrs
:{
label
:
t
,
disabled
:
!!
r
.
cur
}},[
a
.
_v
(
a
.
_s
(
0
==
t
?
"A"
:
1
==
t
?
"B"
:
2
==
t
?
"C"
:
3
==
t
?
"D"
:
4
==
t
?
"E"
:
5
==
t
?
"F"
:
"G"
)
+
". "
+
a
.
_s
(
e
.
option
))])]})],
2
),
a
.
_v
(
" "
),
r
.
cur
?[
s
(
"div"
,{
staticClass
:
"result"
},[
a
.
_v
(
"正确答案:"
+
a
.
_s
(
r
.
cur
))])]:
a
.
_e
()],
2
)]:
a
.
_e
(),
a
.
_v
(
" "
),
2
==
r
.
type
?[
s
(
"div"
,{
key
:
e
,
staticClass
:
"q-group"
,
attrs
:{
"data-index"
:
e
},
on
:{
click
:
a
.
checkboxClick
}},[
s
(
"div"
,{
staticClass
:
"q-num"
},[
a
.
_v
(
a
.
_s
(
e
+
1
)
+
"."
)]),
s
(
"div"
,{
staticClass
:
"q-title"
,
domProps
:{
innerHTML
:
a
.
_s
(
r
.
title
)}}),
s
(
"div"
,{
staticClass
:
"q-type"
},[
a
.
_v
(
"(多选题)"
)]),
a
.
_v
(
" "
),
s
(
"el-checkbox-group"
,{
staticClass
:
"checkbox-group"
,
on
:{
change
:
a
.
checkboxChange
},
model
:{
value
:
r
.
arrSel
,
callback
:
function
(
e
){
a
.
$set
(
r
,
"arrSel"
,
e
)},
expression
:
"item.arrSel"
}},[
a
.
_l
(
r
.
arr
,
function
(
e
,
t
){
return
[
s
(
"el-checkbox"
,{
key
:
e
.
id
,
class
:[
"checkbox"
,
r
.
cur
&&
e
.
checked
&&
"success"
,
r
.
cur
&&!
e
.
checked
&&
e
.
selected
&&
"error"
],
attrs
:{
label
:
t
,
checked
:
!!
e
.
selected
,
disabled
:
!!
r
.
cur
}},[
a
.
_v
(
a
.
_s
(
0
==
t
?
"A"
:
1
==
t
?
"B"
:
2
==
t
?
"C"
:
3
==
t
?
"D"
:
4
==
t
?
"E"
:
5
==
t
?
"F"
:
"G"
)
+
". "
+
a
.
_s
(
e
.
option
))])]})],
2
),
a
.
_v
(
" "
),
r
.
cur
?[
s
(
"div"
,{
staticClass
:
"result"
},[
a
.
_v
(
"正确答案:"
+
a
.
_s
(
r
.
cur
))])]:
a
.
_e
()],
2
)]:
a
.
_e
()]})],
2
),
a
.
_v
(
" "
),
s
(
"div"
,{
class
:[
"btn"
,
a
.
exam
.
work_contents
&&
"on"
],
attrs
:{
"data-submit"
:
!!
a
.
exam
.
work_contents
},
on
:{
click
:
a
.
submitExam
}},[
a
.
_v
(
a
.
_s
(
a
.
exam
.
work_contents
?
"已提交"
:
"提交"
))]),
a
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"care"
},[
a
.
_v
(
"(注意:测试只有一次提交机会)"
)])])]:
a
.
_e
()],
2
)])])},
s
=
[];
r
.
d
(
t
,
"a"
,
function
(){
return
a
}),
r
.
d
(
t
,
"b"
,
function
(){
return
s
})}}]);
\ No newline at end of file
client-dist/resources/11.7b12fe3f.js
0 → 100644
浏览文件 @
2173f62e
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
11
],{
270
:
function
(
e
,
t
,
r
){
"use strict"
;
r
.
r
(
t
);
var
a
=
r
(
439
),
s
=
r
(
354
);
for
(
var
i
in
s
)
"default"
!==
i
&&
function
(
e
){
r
.
d
(
t
,
e
,
function
(){
return
s
[
e
]})}(
i
);
r
(
400
);
var
c
=
r
(
3
),
o
=
Object
(
c
.
a
)(
s
.
default
,
a
.
a
,
a
.
b
,
!
1
,
null
,
"529794d4"
,
null
);
o
.
options
.
__file
=
"chapterExam.vue"
,
t
.
default
=
o
.
exports
},
354
:
function
(
e
,
t
,
r
){
"use strict"
;
r
.
r
(
t
);
var
a
=
r
(
355
),
s
=
r
.
n
(
a
);
for
(
var
i
in
a
)
"default"
!==
i
&&
function
(
e
){
r
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
t
.
default
=
s
.
a
},
355
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
,
s
=
r
(
68
),
h
=
(
a
=
s
)
&&
a
.
__esModule
?
a
:{
default
:
a
};
t
.
default
=
{
props
:{
chapterId
:{
type
:
String
,
require
:
!
1
},
chapterName
:{
type
:
String
,
require
:
!
1
},
chapterExam
:{
type
:
Object
,
require
:
!
1
},
sid
:{
type
:
String
,
require
:
!
1
},
cid
:{
type
:
String
,
require
:
!
1
},
id
:{
type
:
String
,
require
:
!
1
}},
data
:
function
(){
return
{
exam
:{},
param
:{
course_id
:
""
,
chapter_id
:
""
,
work_id
:
""
,
semester_id
:
""
,
work_contents
:
""
,
duration
:
0
,
score
:
0
},
startTime
:
""
,
recordAll
:[],
setTime
:
null
,
radioCur
:
""
,
checkCur
:
""
}},
mounted
:
function
(){
this
.
loadAjax
()},
methods
:{
updateData
:
function
(
n
){
return
this
.
param
=
{
course_id
:
n
.
course_id
,
chapter_id
:
n
.
chapter_id
,
work_id
:
n
.
work_id
,
semester_id
:
n
.
semester_id
,
work_contents
:
""
,
duration
:
0
,
score
:
0
},
this
.
startTime
=
(
new
Date
).
getTime
(),{
id
:
n
.
id
,
semester_id
:
n
.
semester_id
,
title
:
n
.
work_title
,
score
:
n
.
score
||
(
0
===
n
.
score
?
"0"
:
""
),
work_contents
:
n
.
work_contents
||
""
,
group
:
n
.
questions
.
map
(
function
(
e
,
t
){
var
r
=
""
,
a
=
JSON
.
parse
(
e
.
question_options
);
a
.
forEach
(
function
(
e
,
t
){
if
(
e
.
checked
)
switch
(
t
){
case
0
:
r
+=
"A,"
;
break
;
case
1
:
r
+=
"B,"
;
break
;
case
2
:
r
+=
"C,"
;
break
;
case
3
:
r
+=
"D,"
;
break
;
case
4
:
r
+=
"E,"
;
break
;
case
5
:
r
+=
"F,"
}});
var
s
=
""
;
if
(
n
.
work_contents
){
for
(
var
i
=
JSON
.
parse
(
n
.
work_contents
),
c
=
0
;
c
<
i
.
length
;
c
++
)
if
(
i
[
c
].
question_id
===
e
.
id
){
a
=
i
[
c
].
options
;
break
}
if
(
1
===
e
.
question_type
)
for
(
var
o
=
0
;
o
<
a
.
length
;
o
++
)
if
(
a
[
o
].
selected
){
s
=
o
;
break
}}
return
{
id
:
e
.
id
,
type
:
e
.
question_type
,
title
:
e
.
question_content
,
arr
:
a
,
cur
:
n
.
work_contents
&&
r
.
substr
(
0
,
r
.
length
-
1
)
||
""
,
arrSel
:[],
sel
:
s
}})}},
updateData1
:
function
(
e
){
this
.
exam
.
id
=
e
.
id
,
this
.
exam
.
semester_id
=
e
.
semester_id
,
this
.
exam
.
title
=
e
.
work_title
,
this
.
exam
.
score
=
e
.
score
||
"0"
,
this
.
exam
.
work_contents
=
e
.
work_contents
||
""
;
for
(
var
t
=
0
;
t
<
this
.
exam
.
group
.
length
;
t
++
){
var
r
=
""
,
a
=
e
.
questions
[
t
],
s
=
JSON
.
parse
(
a
.
question_options
);
s
.
forEach
(
function
(
e
,
t
){
if
(
e
.
checked
)
switch
(
t
){
case
0
:
r
+=
"A,"
;
break
;
case
1
:
r
+=
"B,"
;
break
;
case
2
:
r
+=
"C,"
;
break
;
case
3
:
r
+=
"D,"
;
break
;
case
4
:
r
+=
"E,"
;
break
;
case
5
:
r
+=
"F,"
}});
var
i
=
""
;
if
(
e
.
work_contents
){
for
(
var
c
=
JSON
.
parse
(
e
.
work_contents
),
o
=
0
;
o
<
c
.
length
;
o
++
)
if
(
c
[
o
].
question_id
===
a
.
id
){
s
=
c
[
o
].
options
;
break
}
if
(
1
===
a
.
question_type
)
for
(
var
n
=
0
;
n
<
s
.
length
;
n
++
)
if
(
s
[
n
].
selected
){
i
=
n
;
break
}}
this
.
exam
.
group
[
t
].
id
=
a
.
id
,
this
.
exam
.
group
[
t
].
type
=
a
.
question_type
,
this
.
exam
.
group
[
t
].
title
=
a
.
question_content
,
this
.
exam
.
group
[
t
].
cur
=
e
.
work_contents
&&
r
.
substr
(
0
,
r
.
length
-
1
)
||
""
,
this
.
exam
.
group
[
t
].
arrSel
=
[],
this
.
exam
.
group
[
t
].
sel
=
i
;
for
(
var
u
=
this
.
exam
.
group
[
t
].
arr
,
l
=
0
;
l
<
u
.
length
;
l
++
)
u
[
l
].
selected
=
s
[
l
].
selected
,
u
[
l
].
id
=
u
[
l
].
id
+
"1"
}},
loadAjax
:
function
(){
var
r
=
this
,
e
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
h
.
default
.
chapterAction
.
getExamDetail
(
this
.
sid
,
this
.
id
).
then
(
function
(
e
){
var
t
=
e
.
homework
;
r
.
exam
=
t
?(
t
.
score
=
e
.
score
,
t
.
work_contents
=
e
.
work_contents
,
r
.
updateData
(
t
)):{}}).
catch
(
function
(
e
){
r
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
r
.
setTime
=
setInterval
(
function
(){
r
.
chapterExam
.
work_id
&&
r
.
chapterExam
.
work_id
===
r
.
id
&&
(
r
.
exam
.
id
||
(
r
.
exam
=
r
.
updateData
(
r
.
chapterExam
),
document
.
querySelector
(
".play-paper"
).
scrollTop
=
0
),
clearInterval
(
r
.
setTime
))},
50
),
e
.
close
()})},
radioClick
:
function
(
e
){
this
.
radioCur
=
e
.
currentTarget
.
dataset
.
index
},
radioChange
:
function
(
e
){
for
(
var
t
=
this
.
radioCur
,
r
=
this
.
exam
.
group
[
t
].
arr
,
a
=
e
,
s
=
0
;
s
<
r
.
length
;
s
++
)
r
[
s
].
selected
=
0
;
r
[
a
].
selected
=
1
,
this
.
exam
.
group
[
t
].
arr
=
r
,
this
.
recordAll
.
push
(
t
)},
checkboxClick
:
function
(
e
){
this
.
checkboxCur
=
e
.
currentTarget
.
dataset
.
index
},
checkboxChange
:
function
(
e
){
for
(
var
r
=
this
.
checkboxCur
,
t
=
this
.
exam
.
group
[
r
].
arr
,
a
=
e
,
s
=
0
;
s
<
t
.
length
;
s
++
)
t
[
s
].
selected
=
0
;
for
(
var
i
=
0
;
i
<
a
.
length
;
i
++
)
t
[
a
[
i
]].
selected
=
1
;
this
.
exam
.
group
[
r
].
arr
=
t
,
a
.
length
?
this
.
recordAll
.
push
(
r
):
this
.
recordAll
=
this
.
recordAll
.
filter
(
function
(
e
,
t
){
return
e
!==
r
})},
submitExam
:
function
(
e
){
var
r
=
this
;
if
(
e
.
currentTarget
.
dataset
.
submit
)
this
.
$message
.
error
(
"已做过,不能再提交"
);
else
{
this
.
param
.
duration
=
Math
.
floor
(((
new
Date
).
getTime
()
-
this
.
startTime
)
/
1
e3
);
for
(
var
t
=
this
.
exam
.
group
,
a
=
t
.
length
,
s
=
[],
i
=
0
,
c
=
0
,
o
=
0
;
o
<
a
;
o
++
){
for
(
var
n
=
0
;
n
<
this
.
recordAll
.
length
&&
this
.
recordAll
[
n
]
!==
o
+
""
;
n
++
);
if
(
n
===
this
.
recordAll
.
length
)
return
void
this
.
$message
.
error
(
"还有题目未做,不能提交"
)}
for
(
var
u
=
0
;
u
<
t
.
length
;
u
++
){
if
(
c
=
0
,
1
===
t
[
u
].
type
&&
t
[
u
].
arr
.
forEach
(
function
(
e
,
t
){
e
.
checked
&&
e
.
selected
&&
(
i
+=
c
=
1
)}),
2
===
t
[
u
].
type
){
var
l
=!
0
;
t
[
u
].
arr
.
forEach
(
function
(
e
,
t
){
e
.
checked
!==!!
e
.
selected
&&
(
l
=!
1
)}),
l
&&
(
i
+=
c
=
1
)}
s
.
push
({
question_id
:
t
[
u
].
id
,
is_correct
:
c
,
options
:
t
[
u
].
arr
})}
this
.
param
.
work_contents
=
JSON
.
stringify
(
s
),
this
.
param
.
score
=
(
i
/
a
*
100
).
toFixed
(
1
);
var
d
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
h
.
default
.
chapterAction
.
submitExamDetail
(
this
.
param
).
then
(
function
(
e
){
e
.
status
?
h
.
default
.
chapterAction
.
getExamDetail
(
r
.
sid
,
r
.
id
).
then
(
function
(
e
){
var
t
=
e
.
homework
;
t
&&
(
t
.
score
=
e
.
score
,
t
.
work_contents
=
e
.
work_contents
,
r
.
updateData1
(
t
))}).
catch
(
function
(
e
){
r
.
$message
.
error
(
e
.
message
)}):
r
.
$message
.
error
(
e
.
data
.
error
)}).
catch
(
function
(
e
){
r
.
$message
.
error
(
e
.
message
)}).
finally
(
function
(){
d
.
close
()})}}},
watch
:{
id
:{
handler
:
function
(){
this
.
loadAjax
()}}}}},
356
:
function
(
e
,
t
,
r
){},
400
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
356
);
r
.
n
(
a
).
a
},
439
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
function
(){
var
a
=
this
,
e
=
a
.
$createElement
,
s
=
a
.
_self
.
_c
||
e
;
return
s
(
"div"
,{
staticClass
:
"play-paper"
},[
s
(
"div"
,{
staticClass
:
"play-paper-body"
},[
s
(
"div"
,{
staticClass
:
"play-paper-title"
},[
s
(
"div"
,[
s
(
"h3"
,[
a
.
_v
(
a
.
_s
(
a
.
chapterName
))])])]),
a
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"play-paper-content play-chapter-exam"
},[
this
.
exam
.
id
?[
s
(
"div"
,{
staticClass
:
"exam"
},[
s
(
"div"
,{
staticStyle
:{
"text-align"
:
"center"
}},[
s
(
"div"
,{
staticClass
:
"topic"
},[
a
.
exam
.
score
?[
s
(
"div"
,{
staticClass
:
"cur"
},[
a
.
_v
(
"正确率:"
+
a
.
_s
(
a
.
exam
.
score
)
+
"%"
)])]:
a
.
_e
()],
2
)]),
a
.
_v
(
" "
),
s
(
"div"
,{},[
a
.
_l
(
a
.
exam
.
group
,
function
(
r
,
e
){
return
[
1
==
r
.
type
?[
s
(
"div"
,{
key
:
e
,
staticClass
:
"q-group"
,
attrs
:{
"data-index"
:
e
},
on
:{
click
:
a
.
radioClick
}},[
s
(
"div"
,{
staticClass
:
"q-num"
},[
a
.
_v
(
a
.
_s
(
e
+
1
)
+
"."
)]),
s
(
"div"
,{
staticClass
:
"q-title"
,
domProps
:{
innerHTML
:
a
.
_s
(
r
.
title
)}}),
s
(
"div"
,{
staticClass
:
"q-type"
},[
a
.
_v
(
"(单选题)"
)]),
a
.
_v
(
" "
),
s
(
"el-radio-group"
,{
staticClass
:
"radio-group"
,
on
:{
change
:
a
.
radioChange
},
model
:{
value
:
r
.
sel
,
callback
:
function
(
e
){
a
.
$set
(
r
,
"sel"
,
e
)},
expression
:
"item.sel"
}},[
a
.
_l
(
r
.
arr
,
function
(
e
,
t
){
return
[
s
(
"el-radio"
,{
key
:
t
,
class
:[
"radio"
,
r
.
cur
&&
e
.
checked
&&
"success"
,
r
.
cur
&&!
e
.
checked
&&
e
.
selected
&&
"error"
],
attrs
:{
label
:
t
,
disabled
:
!!
r
.
cur
}},[
a
.
_v
(
a
.
_s
(
0
==
t
?
"A"
:
1
==
t
?
"B"
:
2
==
t
?
"C"
:
3
==
t
?
"D"
:
4
==
t
?
"E"
:
5
==
t
?
"F"
:
"G"
)
+
". "
+
a
.
_s
(
e
.
option
))])]})],
2
),
a
.
_v
(
" "
),
r
.
cur
?[
s
(
"div"
,{
staticClass
:
"result"
},[
a
.
_v
(
"正确答案:"
+
a
.
_s
(
r
.
cur
))])]:
a
.
_e
()],
2
)]:
a
.
_e
(),
a
.
_v
(
" "
),
2
==
r
.
type
?[
s
(
"div"
,{
key
:
e
,
staticClass
:
"q-group"
,
attrs
:{
"data-index"
:
e
},
on
:{
click
:
a
.
checkboxClick
}},[
s
(
"div"
,{
staticClass
:
"q-num"
},[
a
.
_v
(
a
.
_s
(
e
+
1
)
+
"."
)]),
s
(
"div"
,{
staticClass
:
"q-title"
,
domProps
:{
innerHTML
:
a
.
_s
(
r
.
title
)}}),
s
(
"div"
,{
staticClass
:
"q-type"
},[
a
.
_v
(
"(多选题)"
)]),
a
.
_v
(
" "
),
s
(
"el-checkbox-group"
,{
staticClass
:
"checkbox-group"
,
on
:{
change
:
a
.
checkboxChange
},
model
:{
value
:
r
.
arrSel
,
callback
:
function
(
e
){
a
.
$set
(
r
,
"arrSel"
,
e
)},
expression
:
"item.arrSel"
}},[
a
.
_l
(
r
.
arr
,
function
(
e
,
t
){
return
[
s
(
"el-checkbox"
,{
key
:
e
.
id
,
class
:[
"checkbox"
,
r
.
cur
&&
e
.
checked
&&
"success"
,
r
.
cur
&&!
e
.
checked
&&
e
.
selected
&&
"error"
],
attrs
:{
label
:
t
,
checked
:
!!
e
.
selected
,
disabled
:
!!
r
.
cur
}},[
a
.
_v
(
a
.
_s
(
0
==
t
?
"A"
:
1
==
t
?
"B"
:
2
==
t
?
"C"
:
3
==
t
?
"D"
:
4
==
t
?
"E"
:
5
==
t
?
"F"
:
"G"
)
+
". "
+
a
.
_s
(
e
.
option
))])]})],
2
),
a
.
_v
(
" "
),
r
.
cur
?[
s
(
"div"
,{
staticClass
:
"result"
},[
a
.
_v
(
"正确答案:"
+
a
.
_s
(
r
.
cur
))])]:
a
.
_e
()],
2
)]:
a
.
_e
()]})],
2
),
a
.
_v
(
" "
),
s
(
"div"
,{
class
:[
"btn"
,
a
.
exam
.
work_contents
&&
"on"
],
attrs
:{
"data-submit"
:
!!
a
.
exam
.
work_contents
},
on
:{
click
:
a
.
submitExam
}},[
a
.
_v
(
a
.
_s
(
a
.
exam
.
work_contents
?
"已提交"
:
"提交"
))]),
a
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"care"
},[
a
.
_v
(
"(注意:测试只有一次提交机会)"
)])])]:
a
.
_e
()],
2
)])])},
s
=
[];
r
.
d
(
t
,
"a"
,
function
(){
return
a
}),
r
.
d
(
t
,
"b"
,
function
(){
return
s
})}}]);
\ No newline at end of file
client-dist/resources/11.
a630db62e31b
.css
→
client-dist/resources/11.
970f20fae48e
.css
浏览文件 @
2173f62e
.play
.exam
[
data-v-dfa87ad4
]
{
padding
:
0
}
.play
.exam
.topic
[
data-v-dfa87ad4
]
{
display
:
inline-block
;
margin-bottom
:
.1rem
}
.play
.exam
.topic
.tit
[
data-v-dfa87ad4
]
{
margin
:
0
auto
;
padding
:
0
.2rem
;
text-align
:
center
;
font-size
:
.24rem
;
color
:
#313131
;
background
:
#fff
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
}
.play
.exam
.topic
.cur
[
data-v-dfa87ad4
]
{
text-align
:
center
;
font-size
:
.18rem
;
color
:
#313131
;
line-height
:
.4rem
}
.play
.exam
.q-group
[
data-v-dfa87ad4
]
{
padding
:
.1rem
;
border-bottom
:
1px
solid
hsla
(
0
,
0%
,
78.8%
,
.48
);
overflow
:
hidden
}
.play
.exam
.q-group
.q-num
[
data-v-dfa87ad4
]
{
float
:
left
;
margin-right
:
.1rem
;
font-size
:
.16rem
;
color
:
#676a6c
}
.play
.exam
.q-group
.q-title
[
data-v-dfa87ad4
]
{
float
:
left
;
width
:
90%
;
font-size
:
.16rem
;
color
:
#676a6c
;
text-align
:
justify
}
.play
.exam
.q-group
.q-type
[
data-v-dfa87ad4
]
{
float
:
right
;
font-size
:
.16rem
;
color
:
#676a6c
}
.play
.exam
.q-group
.radio-group
[
data-v-dfa87ad4
]
{
float
:
left
;
margin-top
:
.1rem
;
width
:
100%
}
.play
.exam
.q-group
.radio-group
.radio
[
data-v-dfa87ad4
]
{
display
:
block
;
font-size
:
.18rem
;
color
:
#3f3b3a
;
line-height
:
.3rem
;
margin-bottom
:
.1rem
}
.play
.exam
.q-group
.checkbox-group
[
data-v-dfa87ad4
]
{
float
:
left
;
margin-top
:
.1rem
;
width
:
100%
}
.play
.exam
.q-group
.checkbox-group
.checkbox
[
data-v-dfa87ad4
]
{
display
:
block
;
font-size
:
.18rem
;
color
:
#3f3b3a
;
line-height
:
.3rem
;
margin-bottom
:
.1rem
}
.play
.exam
.q-group
.checkbox-group
.checkbox.error
[
data-v-dfa87ad4
],
.play
.exam
.q-group
.radio-group
.radio.error
[
data-v-dfa87ad4
]
{
color
:
#d80000
}
.play
.exam
.q-group
.checkbox-group
.checkbox.success
[
data-v-dfa87ad4
],
.play
.exam
.q-group
.radio-group
.radio.success
[
data-v-dfa87ad4
]
{
color
:
#090
}
.play
.exam
.q-group
.result
[
data-v-dfa87ad4
]
{
float
:
right
;
font-size
:
.18rem
;
color
:
#3f3b3a
;
margin-right
:
0
}
.play
.exam
.q-group
[
data-v-dfa87ad4
]
:last-child
{
border-bottom
:
none
}
.play
.exam
.btn
[
data-v-dfa87ad4
]
{
margin
:
.2rem
auto
;
width
:
60%
;
height
:
.5rem
;
line-height
:
.5rem
;
font-size
:
.16rem
;
text-align
:
center
;
font-weight
:
300
;
color
:
#fff
;
-webkit-border-radius
:
.1rem
;
-moz-border-radius
:
.1rem
;
border-radius
:
.1rem
;
background
:
#b49441
;
cursor
:
pointer
}
.play
.exam
.btn.on
[
data-v-dfa87ad4
]
{
opacity
:
.5
}
.play
.exam
.care
[
data-v-dfa87ad4
]
{
font-size
:
.16rem
;
color
:
#d80000
;
text-align
:
center
}
\ No newline at end of file
.play
.exam
[
data-v-529794d4
]
{
padding
:
0
}
.play
.exam
.topic
[
data-v-529794d4
]
{
display
:
inline-block
;
margin-bottom
:
.1rem
}
.play
.exam
.topic
.tit
[
data-v-529794d4
]
{
margin
:
0
auto
;
padding
:
0
.2rem
;
text-align
:
center
;
font-size
:
.24rem
;
color
:
#313131
;
background
:
#fff
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
}
.play
.exam
.topic
.cur
[
data-v-529794d4
]
{
text-align
:
center
;
font-size
:
.18rem
;
color
:
#313131
;
line-height
:
.4rem
}
.play
.exam
.q-group
[
data-v-529794d4
]
{
padding
:
.1rem
;
border-bottom
:
1px
solid
hsla
(
0
,
0%
,
78.8%
,
.48
);
overflow
:
hidden
}
.play
.exam
.q-group
.q-num
[
data-v-529794d4
]
{
float
:
left
;
margin-right
:
.1rem
;
font-size
:
.16rem
;
color
:
#676a6c
}
.play
.exam
.q-group
.q-title
[
data-v-529794d4
]
{
float
:
left
;
width
:
90%
;
font-size
:
.16rem
;
color
:
#676a6c
;
text-align
:
justify
}
.play
.exam
.q-group
.q-type
[
data-v-529794d4
]
{
float
:
right
;
font-size
:
.16rem
;
color
:
#676a6c
}
.play
.exam
.q-group
.radio-group
[
data-v-529794d4
]
{
float
:
left
;
margin-top
:
.1rem
;
width
:
100%
}
.play
.exam
.q-group
.radio-group
.radio
[
data-v-529794d4
]
{
display
:
block
;
font-size
:
.18rem
;
color
:
#3f3b3a
;
line-height
:
.3rem
;
margin-bottom
:
.1rem
}
.play
.exam
.q-group
.checkbox-group
[
data-v-529794d4
]
{
float
:
left
;
margin-top
:
.1rem
;
width
:
100%
}
.play
.exam
.q-group
.checkbox-group
.checkbox
[
data-v-529794d4
]
{
display
:
block
;
font-size
:
.18rem
;
color
:
#3f3b3a
;
line-height
:
.3rem
;
margin-bottom
:
.1rem
}
.play
.exam
.q-group
.checkbox-group
.checkbox.error
[
data-v-529794d4
],
.play
.exam
.q-group
.radio-group
.radio.error
[
data-v-529794d4
]
{
color
:
#d80000
}
.play
.exam
.q-group
.checkbox-group
.checkbox.success
[
data-v-529794d4
],
.play
.exam
.q-group
.radio-group
.radio.success
[
data-v-529794d4
]
{
color
:
#090
}
.play
.exam
.q-group
.result
[
data-v-529794d4
]
{
float
:
right
;
font-size
:
.18rem
;
color
:
#3f3b3a
;
margin-right
:
0
}
.play
.exam
.q-group
[
data-v-529794d4
]
:last-child
{
border-bottom
:
none
}
.play
.exam
.btn
[
data-v-529794d4
]
{
margin
:
.2rem
auto
;
width
:
60%
;
height
:
.5rem
;
line-height
:
.5rem
;
font-size
:
.16rem
;
text-align
:
center
;
font-weight
:
300
;
color
:
#fff
;
-webkit-border-radius
:
.1rem
;
-moz-border-radius
:
.1rem
;
border-radius
:
.1rem
;
background
:
#b49441
;
cursor
:
pointer
}
.play
.exam
.btn.on
[
data-v-529794d4
]
{
opacity
:
.5
}
.play
.exam
.care
[
data-v-529794d4
]
{
font-size
:
.16rem
;
color
:
#d80000
;
text-align
:
center
}
\ No newline at end of file
client-dist/resources/16.
528cc7baf223
.css
→
client-dist/resources/16.
30dff0c0c0cb
.css
浏览文件 @
2173f62e
body
.el-tab-pane
[
data-v-5b5e57ae
]
{
padding-top
:
0
}
.detail-box
[
data-v-5b5e57ae
]
{
margin
:
.3rem
;
color
:
#313131
;
overflow
:
hidden
}
.detail-box
.box-thd
[
data-v-5b5e57ae
]
{
margin-bottom
:
.1rem
;
overflow
:
hidden
}
.detail-box
.box-thd
.title
[
data-v-5b5e57ae
]
{
font-size
:
.22rem
;
line-height
:
1.5
;
font-weight
:
700
}
.detail-box
.box-thd
.title
.rbtn
[
data-v-5b5e57ae
]
{
float
:
right
}
.detail-box
.box-thd
.tags
[
data-v-5b5e57ae
]
{
float
:
left
;
margin
:
.1rem
.2rem
.05rem
0
;
font-size
:
.14rem
}
.detail-box
.box-thd
.tags
span
[
data-v-5b5e57ae
]
{
padding
:
0
.1rem
;
margin
:
0
;
border-right
:
1px
solid
#313131
}
.detail-box
.box-thd
.tags
span
[
data-v-5b5e57ae
]
:first-child
{
padding-left
:
0
}
.detail-box
.box-thd
.tags
span
[
data-v-5b5e57ae
]
:last-child
{
border
:
none
}
.detail-box
.box-thd
.time
[
data-v-5b5e57ae
]
{
float
:
left
;
margin
:
.1rem
0
.05rem
;
font-size
:
.14rem
}
.detail-box
.box-thd
.progress
[
data-v-5b5e57ae
]
{
float
:
left
;
width
:
100%
;
font-size
:
14px
}
.detail-box
.box-thd
.progress
.el-progress
[
data-v-5b5e57ae
]
{
width
:
45%
;
display
:
inline-block
;
vertical-align
:
text-bottom
}
.detail-box
.box-tbd
[
data-v-5b5e57ae
]
{
margin-bottom
:
.2rem
;
overflow
:
hidden
}
.detail-box
.box-tbd
.left-pic
[
data-v-5b5e57ae
]
{
float
:
left
;
width
:
1.8rem
;
overflow
:
hidden
}
.detail-box
.box-tbd
.left-pic
.no-img
[
data-v-5b5e57ae
]
{
width
:
100%
;
height
:
1rem
;
text-align
:
center
;
line-height
:
1.1rem
;
border
:
1px
solid
#c9c9c9
}
.detail-box
.box-tbd
.left-pic
.no-img
i
[
data-v-5b5e57ae
]
{
font-size
:
.4rem
;
color
:
#c9c9c9
}
.detail-box
.box-tbd
.left-pic
img
[
data-v-5b5e57ae
]
{
display
:
block
;
width
:
100%
}
.detail-box
.box-tbd
.right-content
[
data-v-5b5e57ae
]
{
margin-left
:
2rem
;
line-height
:
1.5
;
font-size
:
14px
}
.detail-box
.course-list
[
data-v-5b5e57ae
]
{
padding
:
.2rem
0
.1rem
;
background
:
#fff
}
.detail-box
.course-list
.none
[
data-v-5b5e57ae
]
{
display
:
none
}
.detail-box
.course-list
.content-group
[
data-v-5b5e57ae
]
{
padding
:
0
.2rem
}
.detail-box
.course-list
.content-group.no-child
[
data-v-5b5e57ae
],
.detail-box
.course-list
.content-group.up
[
data-v-5b5e57ae
]
{
margin-bottom
:
.1rem
}
.detail-box
.course-list
.content-group.up
.body
[
data-v-5b5e57ae
]
{
display
:
none
}
.detail-box
.course-list
.content-group
.title
[
data-v-5b5e57ae
]
{
position
:
relative
;
padding
:
.1rem
.54rem
.1rem
.2rem
;
color
:
#313131
;
font-size
:
.16rem
;
line-height
:
.24rem
;
background
:
#e5e5e5
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
cursor
:
pointer
}
.detail-box
.course-list
.content-group
.title
.side
[
data-v-5b5e57ae
]
{
position
:
absolute
;
top
:
50%
;
right
:
.24rem
;
-webkit-transform
:
translateY
(
-50%
);
-moz-transform
:
translateY
(
-50%
);
-ms-transform
:
translateY
(
-50%
);
-o-transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
)}
.detail-box
.course-list
.content-group
.body
[
data-v-5b5e57ae
]
{
position
:
relative
;
padding
:
0
.2rem
;
font-size
:
.16rem
;
line-height
:
.24rem
;
color
:
#505050
;
cursor
:
pointer
}
.detail-box
.course-list
.content-group
.body
[
data-v-5b5e57ae
]
:hover
{
background
:
#f3f3f3
}
.detail-box
.course-list
.content-group
.body.on
.name
[
data-v-5b5e57ae
]
{
color
:
#b2183e
}
.detail-box
.course-list
.content-group
.body
.name
[
data-v-5b5e57ae
]
{
padding
:
.1rem
.8rem
.1rem
.2rem
;
border-left
:
.02rem
solid
#c9c9c9
}
.detail-box
.course-list
.content-group
.body
.name
[
data-v-5b5e57ae
]
:before
{
width
:
.2rem
;
height
:
.2rem
;
-webkit-border-radius
:
.32rem
;
-moz-border-radius
:
.32rem
;
border-radius
:
.32rem
;
border
:
.02rem
solid
#c9c9c9
;
background
:
#e5e5e5
;
position
:
absolute
;
left
:
.11rem
;
top
:
.12rem
;
content
:
""
;
display
:
block
;
z-index
:
10
}
.detail-box
.course-list
.content-group
.body
.name
.time
[
data-v-5b5e57ae
]
{
position
:
absolute
;
right
:
.16rem
;
top
:
.1rem
}
.detail-box
.list-teacher
[
data-v-5b5e57ae
]
{
margin-bottom
:
.2rem
;
overflow
:
hidden
}
.detail-box
.list-teacher
.img
[
data-v-5b5e57ae
]
{
float
:
left
;
width
:
30%
;
min-height
:
.8rem
;
background
:
#c9c9c9
}
.detail-box
.list-teacher
.ctx
[
data-v-5b5e57ae
]
{
position
:
relative
;
margin-left
:
32%
;
min-height
:
.5rem
}
.detail-box
.list-teacher
.ctx
.top-ctx
[
data-v-5b5e57ae
]
{
position
:
absolute
;
top
:
0
;
width
:
100%
;
overflow
:
hidden
}
.detail-box
.list-teacher
.ctx
.top-ctx
.tit
[
data-v-5b5e57ae
]
{
font-size
:
14px
;
color
:
#313131
;
line-height
:
1.5
;
overflow
:
hidden
;
word-break
:
break-all
}
.detail-box
.list-teacher
.ctx
.bottom-ctx
[
data-v-5b5e57ae
]
{
display
:
block
;
padding-top
:
.2rem
;
width
:
100%
;
overflow
:
hidden
}
.detail-box
.list-teacher
.ctx
.bottom-ctx
.t1
[
data-v-5b5e57ae
],
.detail-box
.list-teacher
.ctx
.bottom-ctx
.t2
[
data-v-5b5e57ae
]
{
font-size
:
12px
;
line-height
:
1.5
;
color
:
#707070
;
overflow
:
hidden
;
word-break
:
break-all
}
.detail-box
.list-teacher
.ctx
.bottom-ctx
.t3
[
data-v-5b5e57ae
]
{
font-size
:
12px
;
color
:
#707070
;
-o-text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
word-break
:
break-all
}
.detail-box
.pub-ques
[
data-v-5b5e57ae
]
{
padding
:
0
.26rem
;
overflow
:
hidden
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
}
.detail-box
.pub-ques
.ask
[
data-v-5b5e57ae
]
{
position
:
relative
;
float
:
left
;
margin-top
:
.22rem
;
width
:
40%
;
min-width
:
1rem
;
height
:
.42rem
;
-webkit-border-radius
:
.28rem
;
-moz-border-radius
:
.28rem
;
border-radius
:
.28rem
;
border
:
1
rpx
solid
#dcdcdc
;
background
:
#fff
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
cursor
:
pointer
}
.detail-box
.pub-ques
.ask
.img
[
data-v-5b5e57ae
]
{
position
:
absolute
;
left
:
.15rem
;
font-size
:
.24rem
;
line-height
:
.42rem
}
.detail-box
.pub-ques
.ask
.txt
[
data-v-5b5e57ae
]
{
position
:
absolute
;
left
:
.45rem
;
top
:
.01rem
;
height
:
.4rem
;
width
:
80%
;
border
:
none
;
line-height
:
.4rem
;
font-size
:
.2rem
;
color
:
#313131
}
.detail-box
.pub-ques
.item-order
[
data-v-5b5e57ae
]
{
float
:
right
;
margin-top
:
.22rem
;
padding
:
0
.3rem
;
margin-left
:
.2rem
;
font-size
:
.2rem
;
color
:
#313131
;
text-align
:
center
;
line-height
:
.42rem
;
-webkit-border-radius
:
.28rem
;
-moz-border-radius
:
.28rem
;
border-radius
:
.28rem
;
background
:
#fff
;
cursor
:
pointer
}
.detail-box
.pub-ques
.item-order.on
[
data-v-5b5e57ae
]
{
background
:
#b49441
;
color
:
#fff
}
.detail-box
.discuss-scroll
.item-list
[
data-v-5b5e57ae
]
:first-child
{
margin-top
:
.3rem
}
.detail-box
.discuss-scroll
.item-list
[
data-v-5b5e57ae
]
{
position
:
relative
;
padding
:
.3rem
.26rem
;
margin-bottom
:
.2rem
;
background
:
#fff
;
-webkit-box-shadow
:
0
2px
4px
rgba
(
10
,
4
,
6
,
.1
);
-moz-box-shadow
:
0
2px
4px
rgba
(
10
,
4
,
6
,
.1
);
box-shadow
:
0
2px
4px
rgba
(
10
,
4
,
6
,
.1
);
cursor
:
pointer
}
.detail-box
.discuss-scroll
.item-list
.user
[
data-v-5b5e57ae
]
{
position
:
relative
;
overflow
:
hidden
}
.detail-box
.discuss-scroll
.item-list
.user
.img
[
data-v-5b5e57ae
]
{
float
:
left
;
width
:
.6rem
;
height
:
.6rem
;
background
:
#e5e5e5
;
-webkit-border-radius
:
50%
;
-moz-border-radius
:
50%
;
border-radius
:
50%
}
.detail-box
.discuss-scroll
.item-list
.user
.right
[
data-v-5b5e57ae
]
{
position
:
absolute
;
left
:
.72rem
;
top
:
50%
;
-webkit-transform
:
translateY
(
-50%
);
-moz-transform
:
translateY
(
-50%
);
-ms-transform
:
translateY
(
-50%
);
-o-transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
)}
.detail-box
.discuss-scroll
.item-list
.user
.right
.name
[
data-v-5b5e57ae
]
{
font-size
:
.18rem
;
color
:
#313131
;
-o-text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
word-break
:
break-all
}
.detail-box
.discuss-scroll
.item-list
.user
.right
.time
[
data-v-5b5e57ae
]
{
margin-top
:
.05rem
;
font-size
:
.16rem
;
color
:
#a0a0a0
}
.detail-box
.discuss-scroll
.item-list
.title
[
data-v-5b5e57ae
]
{
margin
:
.15rem
0
;
font-size
:
.22rem
;
color
:
#313131
;
font-weight
:
700
;
line-height
:
1.5
;
text-align
:
justify
}
.detail-box
.discuss-scroll
.item-list
.text
[
data-v-5b5e57ae
]
{
font-size
:
.18rem
;
color
:
#535353
;
line-height
:
1.5
;
text-align
:
justify
;
word-break
:
break-all
;
overflow
:
hidden
}
.detail-box
.discuss-scroll
.item-list
.ellipsis
[
data-v-5b5e57ae
]
{
display
:
none
;
position
:
absolute
;
right
:
.24rem
;
bottom
:
.68rem
;
padding
:
0
.15rem
0
.05rem
;
color
:
#535353
;
background
:
#fff
;
font-size
:
.18rem
}
.detail-box
.discuss-scroll
.item-list
.ellipsis.on
[
data-v-5b5e57ae
]
{
display
:
block
}
.detail-box
.discuss-scroll
.item-list
.result
[
data-v-5b5e57ae
]
{
margin-top
:
.15rem
;
font-size
:
.16rem
;
color
:
#313131
}
.detail-box
.discuss-scroll
.item-list
.course-name
[
data-v-5b5e57ae
]
{
position
:
absolute
;
right
:
.32rem
;
bottom
:
.28rem
;
font-size
:
.16rem
;
color
:
#b49441
}
.detail-box
.discuss-scroll
.no-data
[
data-v-5b5e57ae
]
{
margin
:
.2rem
0
;
font-size
:
.24rem
;
color
:
#112c42
;
line-height
:
2rem
;
text-align
:
center
;
background
:
#fff
}
.detail-box
.publish
[
data-v-5b5e57ae
]
{
margin-bottom
:
.5rem
;
padding
:
.3rem
;
background
:
#f7f7f7
;
overflow
:
hidden
}
.detail-box
.publish
.right-goback-txt
[
data-v-5b5e57ae
]
{
float
:
right
;
font-size
:
.2rem
;
color
:
#000
;
line-height
:
40px
}
.detail-box
.course-assess
[
data-v-5b5e57ae
]
{
padding
:
.2rem
;
margin-bottom
:
1rem
;
background
:
#fff
;
overflow
:
hidden
}
.detail-box
.course-assess
.title
[
data-v-5b5e57ae
]
{
color
:
#313131
;
font-size
:
.2rem
;
margin
:
.4rem
auto
.2rem
;
text-align
:
center
}
.detail-box
.course-assess
.topic
[
data-v-5b5e57ae
]
{
position
:
relative
;
width
:
100%
;
height
:
.5rem
;
overflow
:
hidden
}
.detail-box
.course-assess
.topic
.line
[
data-v-5b5e57ae
]
{
width
:
3rem
;
height
:
1px
;
margin
:
.25rem
auto
0
;
background
:
#313131
}
.detail-box
.course-assess
.topic
.tit
[
data-v-5b5e57ae
]
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
padding
:
.1rem
.22rem
;
font-size
:
.14rem
;
font-weight
:
700
;
color
:
#313131
;
background
:
#fff
;
-webkit-transform
:
translate
(
-50%
,
-50%
);
-moz-transform
:
translate
(
-50%
,
-50%
);
-ms-transform
:
translate
(
-50%
,
-50%
);
-o-transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
)}
.detail-box
.course-assess
.detail
[
data-v-5b5e57ae
]
{
margin-bottom
:
.4rem
;
padding
:
0
.2rem
}
.detail-box
.course-assess
.table-title
[
data-v-5b5e57ae
]
{
font-size
:
.16rem
;
font-weight
:
700
;
margin
:
.2rem
.26rem
;
text-align
:
justify
;
color
:
#b49441
}
.detail-box
.course-assess
.table
[
data-v-5b5e57ae
]
{
color
:
#313131
;
padding
:
0
.2rem
.3rem
;
border-bottom
:
.02rem
solid
#c9c9c9
}
.detail-box
.course-assess
.table
.col3-td1
[
data-v-5b5e57ae
]
{
float
:
left
;
padding-left
:
.15rem
;
width
:
65%
;
text-align
:
left
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
}
.detail-box
.course-assess
.table
.col3-td2
[
data-v-5b5e57ae
]
{
float
:
left
;
width
:
21%
;
text-align
:
center
}
.detail-box
.course-assess
.table
.col3-td3
[
data-v-5b5e57ae
]
{
float
:
left
;
width
:
14%
;
text-align
:
right
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
}
.detail-box
.course-assess
.table
.col2-td1
[
data-v-5b5e57ae
]
{
float
:
left
;
padding-left
:
.15rem
;
width
:
86%
;
text-align
:
left
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
}
.detail-box
.course-assess
.table
.col2-td2
[
data-v-5b5e57ae
]
{
float
:
left
;
width
:
14%
;
text-align
:
right
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
}
.detail-box
.course-assess
.table
.th
[
data-v-5b5e57ae
]
{
padding
:
0
.2rem
;
font-size
:
.16rem
;
overflow
:
hidden
;
border-bottom
:
.02rem
solid
#e5e5e5
;
line-height
:
1.5
;
font-weight
:
700
}
.detail-box
.course-assess
.table
.tb
[
data-v-5b5e57ae
]
{
padding
:
0
.2rem
;
font-size
:
.14rem
;
overflow
:
hidden
}
.detail-box
.course-assess
.table
.tb
.tt
[
data-v-5b5e57ae
]
{
padding
:
.1rem
0
.02rem
;
line-height
:
.24rem
;
font-weight
:
700
}
.detail-box
.course-assess
.table
.tb
.rd
[
data-v-5b5e57ae
]
{
overflow
:
hidden
;
line-height
:
.26rem
}
.detail-box
.course-assess
.status-text
[
data-v-5b5e57ae
]
{
padding-left
:
.3rem
;
font-size
:
.14rem
;
color
:
#000
;
line-height
:
1.5
}
@media
(
max-width
:
767px
){
.detail-box
[
data-v-5b5e57ae
]
{
margin
:
.2rem
}
.detail-box
.box-thd
.progress
.el-progress
[
data-v-5b5e57ae
]
{
width
:
80%
}
.detail-box
.box-tbd
.left-pic
[
data-v-5b5e57ae
]
{
width
:
100%
;
margin-bottom
:
.2rem
}
.detail-box
.box-tbd
.right-content
[
data-v-5b5e57ae
]
{
margin-left
:
0
;
display
:
block
}
.detail-box
.course-assess
.detail
[
data-v-5b5e57ae
]
{
padding
:
0
}
.detail-box
.course-assess
.table
[
data-v-5b5e57ae
]
{
padding
:
0
0
.3rem
}}
\ No newline at end of file
body
.el-tab-pane
[
data-v-f6f44f66
]
{
padding-top
:
0
}
.detail-box
[
data-v-f6f44f66
]
{
margin
:
.3rem
;
color
:
#313131
;
overflow
:
hidden
}
.detail-box
.box-thd
[
data-v-f6f44f66
]
{
margin-bottom
:
.1rem
;
overflow
:
hidden
}
.detail-box
.box-thd
.title
[
data-v-f6f44f66
]
{
font-size
:
.22rem
;
line-height
:
1.5
;
font-weight
:
700
}
.detail-box
.box-thd
.title
.rbtn
[
data-v-f6f44f66
]
{
float
:
right
}
.detail-box
.box-thd
.tags
[
data-v-f6f44f66
]
{
float
:
left
;
margin
:
.1rem
.2rem
.05rem
0
;
font-size
:
.14rem
}
.detail-box
.box-thd
.tags
span
[
data-v-f6f44f66
]
{
padding
:
0
.1rem
;
margin
:
0
;
border-right
:
1px
solid
#313131
}
.detail-box
.box-thd
.tags
span
[
data-v-f6f44f66
]
:first-child
{
padding-left
:
0
}
.detail-box
.box-thd
.tags
span
[
data-v-f6f44f66
]
:last-child
{
border
:
none
}
.detail-box
.box-thd
.time
[
data-v-f6f44f66
]
{
float
:
left
;
margin
:
.1rem
0
.05rem
;
font-size
:
.14rem
}
.detail-box
.box-thd
.progress
[
data-v-f6f44f66
]
{
float
:
left
;
width
:
100%
;
font-size
:
14px
}
.detail-box
.box-thd
.progress
.el-progress
[
data-v-f6f44f66
]
{
width
:
45%
;
display
:
inline-block
;
vertical-align
:
text-bottom
}
.detail-box
.box-tbd
[
data-v-f6f44f66
]
{
margin-bottom
:
.2rem
;
overflow
:
hidden
}
.detail-box
.box-tbd
.left-pic
[
data-v-f6f44f66
]
{
float
:
left
;
width
:
1.8rem
;
overflow
:
hidden
}
.detail-box
.box-tbd
.left-pic
.no-img
[
data-v-f6f44f66
]
{
width
:
100%
;
height
:
1rem
;
text-align
:
center
;
line-height
:
1.1rem
;
border
:
1px
solid
#c9c9c9
}
.detail-box
.box-tbd
.left-pic
.no-img
i
[
data-v-f6f44f66
]
{
font-size
:
.4rem
;
color
:
#c9c9c9
}
.detail-box
.box-tbd
.left-pic
img
[
data-v-f6f44f66
]
{
display
:
block
;
width
:
100%
}
.detail-box
.box-tbd
.right-content
[
data-v-f6f44f66
]
{
margin-left
:
2rem
;
line-height
:
1.5
;
font-size
:
14px
}
.detail-box
.course-list
[
data-v-f6f44f66
]
{
padding
:
.2rem
0
.1rem
;
background
:
#fff
}
.detail-box
.course-list
.none
[
data-v-f6f44f66
]
{
display
:
none
}
.detail-box
.course-list
.content-group
[
data-v-f6f44f66
]
{
padding
:
0
.2rem
}
.detail-box
.course-list
.content-group.no-child
[
data-v-f6f44f66
],
.detail-box
.course-list
.content-group.up
[
data-v-f6f44f66
]
{
margin-bottom
:
.1rem
}
.detail-box
.course-list
.content-group.up
.body
[
data-v-f6f44f66
]
{
display
:
none
}
.detail-box
.course-list
.content-group
.title
[
data-v-f6f44f66
]
{
position
:
relative
;
padding
:
.1rem
.54rem
.1rem
.2rem
;
color
:
#313131
;
font-size
:
.16rem
;
line-height
:
.24rem
;
background
:
#e5e5e5
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
cursor
:
pointer
}
.detail-box
.course-list
.content-group
.title
.side
[
data-v-f6f44f66
]
{
position
:
absolute
;
top
:
50%
;
right
:
.24rem
;
-webkit-transform
:
translateY
(
-50%
);
-moz-transform
:
translateY
(
-50%
);
-ms-transform
:
translateY
(
-50%
);
-o-transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
)}
.detail-box
.course-list
.content-group
.body
[
data-v-f6f44f66
]
{
position
:
relative
;
padding
:
0
.2rem
;
font-size
:
.16rem
;
line-height
:
.24rem
;
color
:
#505050
;
cursor
:
pointer
}
.detail-box
.course-list
.content-group
.body
[
data-v-f6f44f66
]
:hover
{
background
:
#f3f3f3
}
.detail-box
.course-list
.content-group
.body.on
.name
[
data-v-f6f44f66
]
{
color
:
#b2183e
}
.detail-box
.course-list
.content-group
.body
.name
[
data-v-f6f44f66
]
{
padding
:
.1rem
.8rem
.1rem
.2rem
;
border-left
:
.02rem
solid
#c9c9c9
}
.detail-box
.course-list
.content-group
.body
.name
[
data-v-f6f44f66
]
:before
{
width
:
.2rem
;
height
:
.2rem
;
-webkit-border-radius
:
.32rem
;
-moz-border-radius
:
.32rem
;
border-radius
:
.32rem
;
border
:
.02rem
solid
#c9c9c9
;
background
:
#e5e5e5
;
position
:
absolute
;
left
:
.11rem
;
top
:
.12rem
;
content
:
""
;
display
:
block
;
z-index
:
10
}
.detail-box
.course-list
.content-group
.body
.name
.time
[
data-v-f6f44f66
]
{
position
:
absolute
;
right
:
.16rem
;
top
:
.1rem
}
.detail-box
.list-teacher
[
data-v-f6f44f66
]
{
margin-bottom
:
.2rem
;
overflow
:
hidden
}
.detail-box
.list-teacher
.img
[
data-v-f6f44f66
]
{
float
:
left
;
width
:
30%
;
min-height
:
.8rem
;
background
:
#c9c9c9
}
.detail-box
.list-teacher
.ctx
[
data-v-f6f44f66
]
{
position
:
relative
;
margin-left
:
32%
;
min-height
:
.5rem
}
.detail-box
.list-teacher
.ctx
.top-ctx
[
data-v-f6f44f66
]
{
position
:
absolute
;
top
:
0
;
width
:
100%
;
overflow
:
hidden
}
.detail-box
.list-teacher
.ctx
.top-ctx
.tit
[
data-v-f6f44f66
]
{
font-size
:
14px
;
color
:
#313131
;
line-height
:
1.5
;
overflow
:
hidden
;
word-break
:
break-all
}
.detail-box
.list-teacher
.ctx
.bottom-ctx
[
data-v-f6f44f66
]
{
display
:
block
;
padding-top
:
.2rem
;
width
:
100%
;
overflow
:
hidden
}
.detail-box
.list-teacher
.ctx
.bottom-ctx
.t1
[
data-v-f6f44f66
],
.detail-box
.list-teacher
.ctx
.bottom-ctx
.t2
[
data-v-f6f44f66
]
{
font-size
:
12px
;
line-height
:
1.5
;
color
:
#707070
;
overflow
:
hidden
;
word-break
:
break-all
}
.detail-box
.list-teacher
.ctx
.bottom-ctx
.t3
[
data-v-f6f44f66
]
{
font-size
:
12px
;
color
:
#707070
;
-o-text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
word-break
:
break-all
}
.detail-box
.pub-ques
[
data-v-f6f44f66
]
{
padding
:
0
.26rem
;
overflow
:
hidden
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
}
.detail-box
.pub-ques
.ask
[
data-v-f6f44f66
]
{
position
:
relative
;
float
:
left
;
margin-top
:
.22rem
;
width
:
40%
;
min-width
:
1rem
;
height
:
.42rem
;
-webkit-border-radius
:
.28rem
;
-moz-border-radius
:
.28rem
;
border-radius
:
.28rem
;
border
:
1
rpx
solid
#dcdcdc
;
background
:
#fff
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
cursor
:
pointer
}
.detail-box
.pub-ques
.ask
.img
[
data-v-f6f44f66
]
{
position
:
absolute
;
left
:
.15rem
;
font-size
:
.24rem
;
line-height
:
.42rem
}
.detail-box
.pub-ques
.ask
.txt
[
data-v-f6f44f66
]
{
position
:
absolute
;
left
:
.45rem
;
top
:
.01rem
;
height
:
.4rem
;
width
:
80%
;
border
:
none
;
line-height
:
.4rem
;
font-size
:
.2rem
;
color
:
#313131
}
.detail-box
.pub-ques
.item-order
[
data-v-f6f44f66
]
{
float
:
right
;
margin-top
:
.22rem
;
padding
:
0
.3rem
;
margin-left
:
.2rem
;
font-size
:
.2rem
;
color
:
#313131
;
text-align
:
center
;
line-height
:
.42rem
;
-webkit-border-radius
:
.28rem
;
-moz-border-radius
:
.28rem
;
border-radius
:
.28rem
;
background
:
#fff
;
cursor
:
pointer
}
.detail-box
.pub-ques
.item-order.on
[
data-v-f6f44f66
]
{
background
:
#b49441
;
color
:
#fff
}
.detail-box
.discuss-scroll
.item-list
[
data-v-f6f44f66
]
:first-child
{
margin-top
:
.3rem
}
.detail-box
.discuss-scroll
.item-list
[
data-v-f6f44f66
]
{
position
:
relative
;
padding
:
.3rem
.26rem
;
margin-bottom
:
.2rem
;
background
:
#fff
;
-webkit-box-shadow
:
0
2px
4px
rgba
(
10
,
4
,
6
,
.1
);
-moz-box-shadow
:
0
2px
4px
rgba
(
10
,
4
,
6
,
.1
);
box-shadow
:
0
2px
4px
rgba
(
10
,
4
,
6
,
.1
);
cursor
:
pointer
}
.detail-box
.discuss-scroll
.item-list
.user
[
data-v-f6f44f66
]
{
position
:
relative
;
overflow
:
hidden
}
.detail-box
.discuss-scroll
.item-list
.user
.img
[
data-v-f6f44f66
]
{
float
:
left
;
width
:
.6rem
;
height
:
.6rem
;
background
:
#e5e5e5
;
-webkit-border-radius
:
50%
;
-moz-border-radius
:
50%
;
border-radius
:
50%
}
.detail-box
.discuss-scroll
.item-list
.user
.right
[
data-v-f6f44f66
]
{
position
:
absolute
;
left
:
.72rem
;
top
:
50%
;
-webkit-transform
:
translateY
(
-50%
);
-moz-transform
:
translateY
(
-50%
);
-ms-transform
:
translateY
(
-50%
);
-o-transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
)}
.detail-box
.discuss-scroll
.item-list
.user
.right
.name
[
data-v-f6f44f66
]
{
font-size
:
.18rem
;
color
:
#313131
;
-o-text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
word-break
:
break-all
}
.detail-box
.discuss-scroll
.item-list
.user
.right
.time
[
data-v-f6f44f66
]
{
margin-top
:
.05rem
;
font-size
:
.16rem
;
color
:
#a0a0a0
}
.detail-box
.discuss-scroll
.item-list
.title
[
data-v-f6f44f66
]
{
margin
:
.15rem
0
;
font-size
:
.22rem
;
color
:
#313131
;
font-weight
:
700
;
line-height
:
1.5
;
text-align
:
justify
}
.detail-box
.discuss-scroll
.item-list
.text
[
data-v-f6f44f66
]
{
font-size
:
.18rem
;
color
:
#535353
;
line-height
:
1.5
;
text-align
:
justify
;
word-break
:
break-all
;
overflow
:
hidden
}
.detail-box
.discuss-scroll
.item-list
.ellipsis
[
data-v-f6f44f66
]
{
display
:
none
;
position
:
absolute
;
right
:
.24rem
;
bottom
:
.68rem
;
padding
:
0
.15rem
0
.05rem
;
color
:
#535353
;
background
:
#fff
;
font-size
:
.18rem
}
.detail-box
.discuss-scroll
.item-list
.ellipsis.on
[
data-v-f6f44f66
]
{
display
:
block
}
.detail-box
.discuss-scroll
.item-list
.result
[
data-v-f6f44f66
]
{
margin-top
:
.15rem
;
font-size
:
.16rem
;
color
:
#313131
}
.detail-box
.discuss-scroll
.item-list
.course-name
[
data-v-f6f44f66
]
{
position
:
absolute
;
right
:
.32rem
;
bottom
:
.28rem
;
font-size
:
.16rem
;
color
:
#b49441
}
.detail-box
.discuss-scroll
.no-data
[
data-v-f6f44f66
]
{
margin
:
.2rem
0
;
font-size
:
.24rem
;
color
:
#112c42
;
line-height
:
2rem
;
text-align
:
center
;
background
:
#fff
}
.detail-box
.publish
[
data-v-f6f44f66
]
{
margin-bottom
:
.5rem
;
padding
:
.3rem
;
background
:
#f7f7f7
;
overflow
:
hidden
}
.detail-box
.publish
.right-goback-txt
[
data-v-f6f44f66
]
{
float
:
right
;
font-size
:
.2rem
;
color
:
#000
;
line-height
:
40px
}
.detail-box
.course-assess
[
data-v-f6f44f66
]
{
padding
:
.2rem
;
margin-bottom
:
1rem
;
background
:
#fff
;
overflow
:
hidden
}
.detail-box
.course-assess
.title
[
data-v-f6f44f66
]
{
color
:
#313131
;
font-size
:
.2rem
;
margin
:
.4rem
auto
.2rem
;
text-align
:
center
}
.detail-box
.course-assess
.topic
[
data-v-f6f44f66
]
{
position
:
relative
;
width
:
100%
;
height
:
.5rem
;
overflow
:
hidden
}
.detail-box
.course-assess
.topic
.line
[
data-v-f6f44f66
]
{
width
:
3rem
;
height
:
1px
;
margin
:
.25rem
auto
0
;
background
:
#313131
}
.detail-box
.course-assess
.topic
.tit
[
data-v-f6f44f66
]
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
padding
:
.1rem
.22rem
;
font-size
:
.14rem
;
font-weight
:
700
;
color
:
#313131
;
background
:
#fff
;
-webkit-transform
:
translate
(
-50%
,
-50%
);
-moz-transform
:
translate
(
-50%
,
-50%
);
-ms-transform
:
translate
(
-50%
,
-50%
);
-o-transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
)}
.detail-box
.course-assess
.detail
[
data-v-f6f44f66
]
{
margin-bottom
:
.4rem
;
padding
:
0
.2rem
}
.detail-box
.course-assess
.table-title
[
data-v-f6f44f66
]
{
font-size
:
.16rem
;
font-weight
:
700
;
margin
:
.2rem
.26rem
;
text-align
:
justify
;
color
:
#b49441
}
.detail-box
.course-assess
.table
[
data-v-f6f44f66
]
{
color
:
#313131
;
padding
:
0
.2rem
.3rem
;
border-bottom
:
.02rem
solid
#c9c9c9
}
.detail-box
.course-assess
.table
.col3-td1
[
data-v-f6f44f66
]
{
float
:
left
;
padding-left
:
.15rem
;
width
:
65%
;
text-align
:
left
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
}
.detail-box
.course-assess
.table
.col3-td2
[
data-v-f6f44f66
]
{
float
:
left
;
width
:
21%
;
text-align
:
center
}
.detail-box
.course-assess
.table
.col3-td3
[
data-v-f6f44f66
]
{
float
:
left
;
width
:
14%
;
text-align
:
right
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
}
.detail-box
.course-assess
.table
.col2-td1
[
data-v-f6f44f66
]
{
float
:
left
;
padding-left
:
.15rem
;
width
:
86%
;
text-align
:
left
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
}
.detail-box
.course-assess
.table
.col2-td2
[
data-v-f6f44f66
]
{
float
:
left
;
width
:
14%
;
text-align
:
right
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
}
.detail-box
.course-assess
.table
.th
[
data-v-f6f44f66
]
{
padding
:
0
.2rem
;
font-size
:
.16rem
;
overflow
:
hidden
;
border-bottom
:
.02rem
solid
#e5e5e5
;
line-height
:
1.5
;
font-weight
:
700
}
.detail-box
.course-assess
.table
.tb
[
data-v-f6f44f66
]
{
padding
:
0
.2rem
;
font-size
:
.14rem
;
overflow
:
hidden
}
.detail-box
.course-assess
.table
.tb
.tt
[
data-v-f6f44f66
]
{
padding
:
.1rem
0
.02rem
;
line-height
:
.24rem
;
font-weight
:
700
}
.detail-box
.course-assess
.table
.tb
.rd
[
data-v-f6f44f66
]
{
overflow
:
hidden
;
line-height
:
.26rem
}
.detail-box
.course-assess
.status-text
[
data-v-f6f44f66
]
{
padding-left
:
.3rem
;
font-size
:
.14rem
;
color
:
#000
;
line-height
:
1.5
}
@media
(
max-width
:
767px
){
.detail-box
[
data-v-f6f44f66
]
{
margin
:
.2rem
}
.detail-box
.box-thd
.progress
.el-progress
[
data-v-f6f44f66
]
{
width
:
80%
}
.detail-box
.box-tbd
.left-pic
[
data-v-f6f44f66
]
{
width
:
100%
;
margin-bottom
:
.2rem
}
.detail-box
.box-tbd
.right-content
[
data-v-f6f44f66
]
{
margin-left
:
0
;
display
:
block
}
.detail-box
.course-assess
.detail
[
data-v-f6f44f66
]
{
padding
:
0
}
.detail-box
.course-assess
.table
[
data-v-f6f44f66
]
{
padding
:
0
0
.3rem
}}
\ No newline at end of file
client-dist/resources/16.6ba9727d.js
0 → 100644
浏览文件 @
2173f62e
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
16
],{
255
:
function
(
t
,
s
,
i
){
"use strict"
;
i
.
r
(
s
);
var
e
=
i
(
419
),
a
=
i
(
303
);
for
(
var
r
in
a
)
"default"
!==
r
&&
function
(
t
){
i
.
d
(
s
,
t
,
function
(){
return
a
[
t
]})}(
r
);
i
(
381
);
var
c
=
i
(
3
),
n
=
Object
(
c
.
a
)(
a
.
default
,
e
.
a
,
e
.
b
,
!
1
,
null
,
"f6f44f66"
,
null
);
n
.
options
.
__file
=
"courseDetail.vue"
,
s
.
default
=
n
.
exports
},
303
:
function
(
t
,
s
,
i
){
"use strict"
;
i
.
r
(
s
);
var
e
=
i
(
304
),
a
=
i
.
n
(
e
);
for
(
var
r
in
e
)
"default"
!==
r
&&
function
(
t
){
i
.
d
(
s
,
t
,
function
(){
return
e
[
t
]})}(
r
);
s
.
default
=
a
.
a
},
304
:
function
(
t
,
s
,
i
){
"use strict"
;
Object
.
defineProperty
(
s
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
i
(
68
)),
e
=
a
(
i
(
250
));
function
a
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
s
.
default
=
{
components
:{},
props
:{
sid
:{
type
:
String
,
require
:
!
1
},
cid
:{
type
:
String
,
require
:
!
1
}},
data
:
function
(){
return
{
ckeditor
:
null
,
activeName
:
"1"
,
activeName1
:
"1"
,
passCount
:
0
,
headerInfo
:{},
tabs
:[{
title
:
"课程简介"
,
isShow
:
!
0
,
content
:{
text
:
"<p><b>组织心理学</b>是研究组织中人的心理与行为规律的一门科学,是心理学的一个重要分支,也是心理学在管理学方面的一个交叉应用学科。"
,
teachers
:[{
src
:
""
,
name
:
"讲师姓名"
,
edu
:
"学历"
,
job
:
"职称"
,
unit
:
"讲师所在单位"
}]}},{
title
:
"课程内容"
,
isShow
:
!
1
,
chapterList
:{
currentChapterId
:
"11"
,
course
:[{
title
:
"第一章:重要概念"
,
isUp
:
!
0
,
chapters
:[{
id
:
"11"
,
time
:
"28:18"
,
name
:
"1.1 现值(PV)和终值(FV)"
},{
id
:
"12"
,
time
:
"19:09"
,
name
:
"1.2 净现值(NPV)及实际收益率"
}]},{
title
:
"第二章:证券估值"
,
isUp
:
!
0
,
chapters
:[{
id
:
"21"
,
time
:
"27:49"
,
name
:
"2.1 债券和股票的现金流贴现估值方法"
},{
id
:
"22"
,
time
:
"16:04"
,
name
:
"2.2 债券评级及债券协议"
},{
id
:
"23"
,
time
:
""
,
name
:
"公司金融第二周测验"
},{
id
:
"24"
,
time
:
""
,
name
:
"公司金融第二周作业"
}]},{
title
:
"课程大作业"
,
isUp
:
!
0
,
chapters
:[]},{
title
:
"课程资料"
,
isUp
:
!
0
,
chapters
:[]}]}},{
title
:
"课程讨论"
,
isShow
:
!
1
},{
title
:
"课程考核"
,
isShow
:
!
1
,
richText
:
"<div class='h1'>一、最终成绩计算</div> <div class='p'>课程表现得分*30%+每章试题得分*30%+结业大作业得分*40%=该门课程总得分,满分100分,低于80分为不及格,需重修此门课程。84分以上方可申请学位。</div> <img class='b1' src='http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/build/www/course-check.png' mode='aspectFill' /> <div class='h1'>二、具体细则</div> <div class='h2'>课程表现:总分100分(占科目总成绩的30%)</div> <div class='p'>1、每个视频观看完成度50分:以后台数据统计为准,全部看完视频满分50分,其它酌情给分。</div> <div class='em'>注:视频观看考核的是实际播放时长,不是进度条的显示状态,进度条满格并不一定表示观看完这个视频。以下方每日学习时长为准。</div> <div class='p'>2、课程反馈建设性问题及课程完成情况50分:反馈问题以教务老师统计为准,课程完成情况以后台数据为准,是否按时完成视频观看、测试、作业提交,满分50分,酌情给分。</div> <div class='h2'>每章试题:总分100分(占科目总成绩的30%)</div> <div class='p'>本课程所有试题的平均正确率*100分*占总成绩30%=此项得分。(比如正确度为80%,则此项得分:80%*100*30%=24分)</div> <div class='h2'>结业大作业:总分100分(占科目总成绩的40%)</div> <div class='p'>结业大作业满分为100分,以助教老师给分为准。</div>"
,
assess
:{
score
:
"20"
,
duration
:
"00:01:20"
,
progress
:
"0/10"
,
video
:[{
title
:
"第一章 市场营销原理导论"
,
arr
:[{
name
:
"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销"
,
time
:
"12:08"
,
progress
:
"100%"
}]}],
homewrok
:[{
title
:
"第一章 市场营销原理导论"
,
arr
:[{
name
:
"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销"
,
score
:
20
}]}],
essay
:{
status
:
"未提交"
,
score
:
"暂无"
}}}],
sort
:[{
isShow
:
!
1
,
str
:
""
},{
isShow
:
!
1
,
str
:
"tag"
}],
discussList
:[],
param
:{
limit
:
10
,
offset
:
0
,
sort
:
""
},
publish
:{
course_id
:
this
.
cid
,
semester_id
:
this
.
sid
,
title
:
""
,
contents
:
""
},
isPublicShow
:
!
1
,
publishRules
:{
title
:[{
required
:
!
0
,
message
:
"请输入标题"
,
trigger
:
"blur"
}]}}},
mounted
:
function
(){
var
s
=
this
,
i
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
r
.
default
.
courseAction
.
getCourseDetail
(
this
.
cid
,
this
.
sid
).
then
(
function
(
t
){
s
.
headerInfo
=
t
.
headerInfo
,
s
.
tabs
[
0
].
content
=
t
.
tabs0Content
,
s
.
tabs
[
1
].
chapterList
=
t
.
tabs1ChapterList
,
t
.
tabs3richTest
&&
(
s
.
tabs
[
3
].
richText
=
t
.
tabs3richTest
),
r
.
default
.
courseAction
.
getCourseAssess
(
s
.
cid
,
s
.
sid
).
then
(
function
(
t
){
s
.
tabs
[
3
].
assess
=
t
,
i
.
close
()}).
catch
(
function
(
t
){
s
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){}),
r
.
default
.
discussAction
.
getCourseDiscussList
(
s
.
cid
,
s
.
sid
,
s
.
param
).
then
(
function
(
t
){
s
.
discussList
=
t
}).
catch
(
function
(
t
){
s
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){})}).
catch
(
function
(
t
){
s
.
$message
.
error
(
t
.
message
),
i
.
close
()}).
finally
(
function
(){}),
window
.
addEventListener
(
"resize"
,
this
.
resizeRoot
.
bind
(
this
),
!
1
)},
destroyed
:
function
(){
window
.
removeEventListener
(
"resize"
,
this
.
resizeRoot
.
bind
(
this
),
!
1
),
this
.
ckeditor
&&
this
.
ckeditor
.
destroy
(
!
0
),
this
.
ckeditor
=
null
},
updated
:
function
(){
this
.
resizeRoot
(),
this
.
isPublicShow
&&
this
.
initckeditor
()},
beforeUpdate
:
function
(){
this
.
isPublicShow
||
(
this
.
ckeditor
&&
this
.
ckeditor
.
destroy
(
!
0
),
this
.
ckeditor
=
null
)},
methods
:{
handleClick
:
function
(
t
,
s
){},
initckeditor
:
function
(){
!
this
.
ckeditor
&&
(
this
.
ckeditor
=
e
.
default
.
replace
(
"editor"
,{
height
:
300
,
uiColor
:
"#eeeeee"
,
filebrowserImageUploadUrl
:
"/api/ckeditor/img/upload"
,
toolbar
:[{
name
:
"styles"
,
items
:[
"Styles"
,
"Format"
,
"Font"
,
"FontSize"
]},{
name
:
"colors"
,
items
:[
"TextColor"
,
"BGColor"
]},{
name
:
"tools"
,
items
:[
"Maximize"
,
"ShowBlocks"
]},{
name
:
"editing"
,
items
:[
"Find"
,
"Replace"
]},
"/"
,{
name
:
"basicstyles"
,
items
:[
"Bold"
,
"Italic"
,
"Underline"
,
"Strike"
,
"Subscript"
,
"Superscript"
,
"-"
,
"RemoveFormat"
]},{
name
:
"paragraph"
,
items
:[
"NumberedList"
,
"BulletedList"
,
"-"
,
"Outdent"
,
"Indent"
,
"-"
,
"Blockquote"
,
"CreateDiv"
,
"-"
,
"JustifyLeft"
,
"JustifyCenter"
,
"JustifyRight"
,
"JustifyBlock"
,
"-"
,
"BidiLtr"
,
"BidiRtl"
]},{
name
:
"links"
,
items
:[
"Link"
,
"Unlink"
,
"Anchor"
]},{
name
:
"insert"
,
items
:[
"Image"
,
"Table"
,
"HorizontalRule"
]}]}))},
clickJumpOrStatus
:
function
(
t
){
var
s
=
t
.
currentTarget
.
dataset
;
if
(
s
.
status
){
var
i
=
s
.
index
,
e
=
this
.
tabs
[
1
].
chapterList
.
course
[
i
];
e
.
isUp
=!
e
.
isUp
}
else
{
var
a
=
this
.
tabs
[
1
].
chapterList
.
course
[
s
.
index
],
r
=
s
.
sid
,
c
=
s
.
cid
;
"course_info"
===
a
.
type
?
this
.
$router
.
push
({
path
:
"/player/"
+
r
+
"/"
+
c
+
"/course-info/course_info"
}):
"course_work"
===
a
.
type
&&
this
.
$router
.
push
({
path
:
"/player/"
+
r
+
"/"
+
c
+
"/course-work/course_work"
})}},
jumpToOtherVA
:
function
(
t
){
if
(
this
.
headerInfo
.
isStart
){
var
s
=
t
.
target
.
dataset
,
i
=
s
.
sid
,
e
=
s
.
cid
,
a
=
s
.
vid
;
if
(
!
s
.
hasva
){
var
r
=
s
.
index
,
c
=
s
.
index1
,
n
=
this
.
tabs
[
1
].
chapterList
.
course
[
r
];
return
n
&&
n
.
chapters
[
c
]?
void
(
3
===
n
.
chapters
[
c
].
type
?
1
===
n
.
chapters
[
c
].
work_type
?
this
.
$router
.
push
({
path
:
"/player/"
+
i
+
"/"
+
e
+
"/chapter-exam/"
+
a
}):
2
===
n
.
chapters
[
c
].
work_type
&&
this
.
$router
.
push
({
path
:
"/player/"
+
i
+
"/"
+
e
+
"/chapter-work/"
+
a
}):
4
===
n
.
chapters
[
c
].
type
&&
this
.
$router
.
push
({
path
:
"/player/"
+
i
+
"/"
+
e
+
"/chapter-read/"
+
a
})):
void
this
.
$message
.
error
(
"系统未知错误,001"
)}
this
.
$router
.
push
({
path
:
"/player/"
+
i
+
"/"
+
e
+
"/chapter-video/"
+
a
})}
else
this
.
$message
.
error
(
"先选课,才能学习"
)},
startLearn
:
function
(
t
){
var
s
=
t
.
currentTarget
.
dataset
,
i
=
s
.
sid
,
e
=
s
.
cid
,
a
=
s
.
vid
;
this
.
$router
.
push
({
path
:
"/player/"
+
i
+
"/"
+
e
+
"/chapter-video/"
+
a
})},
noWantThisCourse
:
function
(){
var
s
=
this
;
if
(
this
.
passCountTimeout
&&
clearTimeout
(
this
.
passCountTimeout
),
this
.
passCountTimeout
=
setTimeout
(
function
(){
s
.
passCount
=
0
},
500
),
this
.
passCount
<
15
)
this
.
passCount
++
;
else
{
var
i
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
r
.
default
.
courseAction
.
outSelectCourse
(
this
.
cid
,
this
.
sid
).
then
(
function
(
t
){
s
.
headerInfo
.
isStart
=!
1
,
i
.
close
(),
s
.
$message
({
type
:
"success"
,
message
:
"退课成功"
}),
s
.
passCount
=
0
}).
catch
(
function
(
t
){
s
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){
i
.
close
()})}},
wantThisCourse
:
function
(){
var
s
=
this
,
i
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
r
.
default
.
courseAction
.
selectCourse
(
this
.
cid
,
this
.
sid
).
then
(
function
(
t
){
s
.
headerInfo
.
isStart
=!
0
,
i
.
close
(),
s
.
$message
({
type
:
"success"
,
message
:
"选课成功"
})}).
catch
(
function
(
t
){
s
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){
i
.
close
()})},
resizeRoot
:
function
(){
var
a
=
this
,
t
=
document
.
querySelectorAll
(
".ellipsis"
),
r
=
getComputedStyle
(
window
.
document
.
documentElement
)[
"font-size"
].
replace
(
"px"
,
""
);
t
.
forEach
(
function
(
t
,
s
){
t
.
previousSibling
.
style
.
height
=
"auto"
;
var
i
=
t
.
previousSibling
.
offsetHeight
,
e
=
.
18
*
r
*
1.5
*
2
;
e
<
i
?(
a
.
discussList
[
s
].
isShow
=!
0
,
t
.
previousSibling
.
style
.
height
=
e
+
"px"
):
a
.
discussList
[
s
].
isShow
=!
1
})},
publishDiscuss
:
function
(){
this
.
isPublicShow
=!
0
},
gobackDiscuss
:
function
(){
this
.
isPublicShow
=!
1
},
onSubmitPublish
:
function
(){
var
i
=
this
;
this
.
$refs
.
setPublishform
.
validate
(
function
(
t
){
if
(
!
t
)
return
i
.
$message
.
error
(
"请输入标题"
),
!
1
;
if
(
i
.
ckeditor
.
getData
()){
i
.
publish
.
contents
=
i
.
ckeditor
.
getData
();
var
s
=
i
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
r
.
default
.
discussAction
.
publishQues
(
i
.
publish
).
then
(
function
(
t
){
i
.
$message
({
type
:
"success"
,
message
:
"问题发布成功"
}),
i
.
isPublicShow
=!
1
,
r
.
default
.
discussAction
.
getCourseDiscussList
(
i
.
cid
,
i
.
sid
,
i
.
param
).
then
(
function
(
t
){
i
.
discussList
=
t
}).
catch
(
function
(
t
){
i
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){})}).
catch
(
function
(
t
){
i
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){
s
.
close
()})}
else
i
.
$message
.
error
(
"请输入正文内容"
)})},
goDiscussDetail
:
function
(
t
){
var
s
=
t
.
currentTarget
.
dataset
.
id
;
this
.
$router
.
push
({
path
:
"/app/my-learn/discuss-detail/"
+
this
.
sid
+
"/"
+
this
.
cid
+
"/"
+
s
})},
sortFn
:
function
(
t
){
var
s
=
this
,
i
=
t
.
currentTarget
.
dataset
.
index
,
e
=
t
.
currentTarget
.
dataset
.
str
;
this
.
sort
[
i
].
isShow
=!
this
.
sort
[
i
].
isShow
,
this
.
sort
[(
parseInt
(
i
)
+
1
)
%
2
].
isShow
=!
1
,
this
.
param
.
sort
=
this
.
sort
[
i
].
isShow
?
e
:
""
,
this
.
param
.
offset
=
0
;
var
a
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
r
.
default
.
discussAction
.
getCourseDiscussList
(
this
.
cid
,
this
.
sid
,
this
.
param
).
then
(
function
(
t
){
s
.
discussList
=
t
}).
catch
(
function
(
t
){
s
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){
a
.
close
()})}}}},
305
:
function
(
t
,
s
,
i
){},
381
:
function
(
t
,
s
,
i
){
"use strict"
;
var
e
=
i
(
305
);
i
.
n
(
e
).
a
},
419
:
function
(
t
,
s
,
i
){
"use strict"
;
var
e
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"con-title"
},[
e
.
_v
(
"课程详情"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"detail-box"
},[
a
(
"div"
,{
staticClass
:
"box-thd"
},[
a
(
"div"
,{
staticClass
:
"title"
,
on
:{
click
:
e
.
noWantThisCourse
}},[
e
.
_v
(
e
.
_s
(
e
.
headerInfo
.
title
)
+
"
\
n "
),
e
.
headerInfo
.
isStart
&&
e
.
tabs
[
1
].
chapterList
.
currentChapterId
?[
a
(
"el-button"
,{
staticClass
:
"rbtn"
,
attrs
:{
type
:
"primary"
,
size
:
"mini"
,
"data-cid"
:
e
.
cid
,
"data-sid"
:
e
.
sid
,
"data-vid"
:
e
.
tabs
[
1
].
chapterList
.
currentChapterId
},
on
:{
click
:
e
.
startLearn
}},[
e
.
_v
(
"继续学习"
)])]:
e
.
headerInfo
.
isStart
?[
a
(
"el-button"
,{
staticClass
:
"rbtn"
,
attrs
:{
type
:
"primary"
,
size
:
"mini"
,
"data-cid"
:
e
.
cid
,
"data-sid"
:
e
.
sid
,
"data-vid"
:
e
.
tabs
[
1
].
chapterList
.
course
[
0
].
chapters
[
0
].
vid
},
on
:{
click
:
e
.
startLearn
}},[
e
.
_v
(
"开始学习"
)])]:[
a
(
"el-button"
,{
staticClass
:
"rbtn"
,
attrs
:{
type
:
"primary"
,
size
:
"mini"
},
on
:{
click
:
e
.
wantThisCourse
}},[
e
.
_v
(
"选课"
)])]],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"tags"
},[
e
.
_l
(
e
.
headerInfo
.
arrTab
,
function
(
t
,
s
){
return
[
a
(
"span"
,{
key
:
s
,
staticClass
:
"tabs-item"
},[
e
.
_v
(
e
.
_s
(
t
))])]})],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"time"
},[
e
.
_v
(
e
.
_s
(
e
.
headerInfo
.
time
)
+
" "
+
e
.
_s
(
e
.
headerInfo
.
status
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
float
:
"left"
,
width
:
"100%"
,
height
:
"1px"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"progress"
},[
e
.
_v
(
"
\
n 学习进度 "
),
a
(
"el-progress"
,{
attrs
:{
percentage
:
e
.
headerInfo
.
progress
,
color
:
"#b49441"
}})],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"box-tbd"
},[
a
(
"div"
,{
staticClass
:
"left-pic"
},[
e
.
headerInfo
.
bgSrc
?[
a
(
"img"
,{
attrs
:{
src
:
e
.
headerInfo
.
bgSrc
,
alt
:
""
}})]:[
e
.
_m
(
0
)]],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
,
domProps
:{
innerHTML
:
e
.
_s
(
e
.
tabs
[
0
].
content
.
text
)}})]),
e
.
_v
(
" "
),
a
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
a
(
"el-col"
,{
attrs
:{
xs
:
24
,
sm
:
15
,
md
:
17
,
lg
:
18
,
xl
:
20
}},[
a
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"课程内容"
,
name
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"course-list"
},[
e
.
_l
(
e
.
tabs
[
1
].
chapterList
.
course
,
function
(
t
,
i
){
return
[
a
(
"div"
,{
key
:
i
,
class
:[
"content-group"
,
t
.
chapters
.
length
?
""
:
"no-child"
,
t
.
isUp
?
"up"
:
""
]},[
a
(
"div"
,{
staticClass
:
"title"
,
attrs
:{
"data-index"
:
i
,
"data-cid"
:
t
.
cid
,
"data-sid"
:
t
.
sid
,
"data-status"
:
!!
t
.
chapters
.
length
},
on
:{
click
:
function
(
t
){
e
.
clickJumpOrStatus
(
t
)}}},[
e
.
_v
(
e
.
_s
(
t
.
title
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
"side"
,
t
.
chapters
.
length
?
""
:
"none"
,
t
.
isUp
?
"el-icon-arrow-down"
:
"el-icon-arrow-up"
]})]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
chapters
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
class
:[
"body"
,
t
.
id
===
e
.
tabs
[
1
].
chapterList
.
currentChapterId
&&
"on"
]},[
a
(
"div"
,{
staticClass
:
"name"
,
attrs
:{
"data-vid"
:
t
.
vid
,
"data-cid"
:
t
.
cid
,
"data-sid"
:
t
.
sid
,
"data-hasVA"
:
t
.
time
,
"data-name"
:
t
.
name
,
"data-index"
:
i
,
"data-index1"
:
s
},
on
:{
click
:
e
.
jumpToOtherVA
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
),
a
(
"div"
,{
staticClass
:
"time"
},[
e
.
_v
(
e
.
_s
(
t
.
time
))])])])]})],
2
)]})],
2
)]),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"课程讨论"
,
name
:
"2"
}},[
e
.
isPublicShow
?[
a
(
"div"
,{
staticClass
:
"publish"
},[
a
(
"div"
,{
staticStyle
:{
overflow
:
"hidden"
}},[
a
(
"div"
,{
staticClass
:
"right-goback-txt"
},[
e
.
_v
(
"发布问题"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
e
.
gobackDiscuss
}},[
e
.
_v
(
"返回问题列表"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"setPublishform"
,
attrs
:{
model
:
e
.
publish
,
rules
:
e
.
publishRules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"标题"
,
prop
:
"title"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"text"
,
placeholder
:
"请输入标题"
},
model
:{
value
:
e
.
publish
.
title
,
callback
:
function
(
t
){
e
.
$set
(
e
.
publish
,
"title"
,
t
)},
expression
:
"publish.title"
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"line-height"
:
"1.5"
,
"font-size"
:
"0.16rem"
,
"margin-bottom"
:
"0.2rem"
}},[
e
.
_v
(
"正文内容"
)]),
e
.
_v
(
" "
),
a
(
"textarea"
,{
attrs
:{
id
:
"editor"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"0.2rem"
}}),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onSubmitPublish
}},[
e
.
_v
(
"发布问题"
)])],
1
)],
1
)],
1
)]:[
a
(
"div"
,{
staticClass
:
"pub-ques"
},[
a
(
"div"
,{
staticClass
:
"ask"
},[
a
(
"i"
,{
staticClass
:
"el-icon-edit img"
}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"txt"
,
on
:{
click
:
e
.
publishDiscuss
}},[
e
.
_v
(
"发布问题 ..."
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"item-order"
,
e
.
sort
[
0
].
isShow
?
"on"
:
""
],
attrs
:{
"data-index"
:
0
,
"data-str"
:
e
.
sort
[
0
].
str
},
on
:{
click
:
e
.
sortFn
}},[
e
.
_v
(
"按时间排序"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"item-order"
,
e
.
sort
[
1
].
isShow
?
"on"
:
""
],
attrs
:{
"data-index"
:
1
,
"data-str"
:
e
.
sort
[
1
].
str
},
on
:{
click
:
e
.
sortFn
}},[
e
.
_v
(
"按投票排序"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"discuss-scroll"
,
attrs
:{
bindscrolltolower
:
"loadmore"
,
bindscrolltoupper
:
"updatenew"
}},[
e
.
_l
(
e
.
discussList
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
staticClass
:
"item-list"
,
attrs
:{
"data-id"
:
t
.
id
,
"data-sid"
:
t
.
sid
,
"data-index"
:
s
},
on
:{
click
:
e
.
goDiscussDetail
}},[
a
(
"div"
,{
staticClass
:
"user"
},[
t
.
user
.
url
?[
a
(
"img"
,{
staticClass
:
"img"
,
attrs
:{
src
:
t
.
user
.
url
}})]:[
a
(
"img"
,{
staticClass
:
"img"
,
attrs
:{
src
:
i
(
107
)}})],
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right"
},[
a
(
"div"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
user
.
name
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"time"
},[
e
.
_v
(
e
.
_s
(
t
.
user
.
time
))])])],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"title"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"text"
],
domProps
:{
innerHTML
:
e
.
_s
(
t
.
text
)}}),
a
(
"div"
,{
class
:[
"ellipsis"
,
t
.
isShow
?
"on"
:
""
]},[
e
.
_v
(
"...."
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"result"
},[
e
.
_v
(
e
.
_s
(
t
.
askCnt
)
+
" 回答"
),
a
(
"div"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"20px"
}}),
e
.
_v
(
e
.
_s
(
t
.
TouCnt
)
+
" 投票"
)])])]}),
e
.
_v
(
" "
),
e
.
discussList
.
length
?
e
.
_e
():[
a
(
"div"
,{
staticClass
:
"no-data"
},[
e
.
_v
(
"暂无相关讨论"
)])]],
2
)]],
2
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"课程考核"
,
name
:
"3"
}},[
a
(
"div"
,{
staticClass
:
"course-assess"
},[
a
(
"div"
,{
staticClass
:
"title"
},[
e
.
_v
(
"最终成绩:"
+
e
.
_s
(
e
.
tabs
[
3
].
assess
.
score
&&
e
.
tabs
[
3
].
assess
.
score
+
"分"
||
"暂无"
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"topic"
},[
a
(
"div"
,{
staticClass
:
"line"
}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"tit"
},[
e
.
_v
(
"课程考核标准"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"detail"
},[
a
(
"div"
,{
staticClass
:
"detail-rich"
,
domProps
:{
innerHTML
:
e
.
_s
(
e
.
tabs
[
3
].
richText
)}})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"topic"
},[
a
(
"div"
,{
staticClass
:
"line"
}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"tit"
},[
e
.
_v
(
"学习进度及成绩"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-title"
},[
e
.
_v
(
"课程“音视频”观看统计( 累计学习时长:"
+
e
.
_s
(
e
.
tabs
[
3
].
assess
.
duration
)
+
",完成率:"
+
e
.
_s
(
e
.
tabs
[
3
].
assess
.
progress
)
+
" )"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"th"
},[
a
(
"div"
,{
staticClass
:
"col3-td1"
},[
e
.
_v
(
"章节"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"col3-td2"
},[
e
.
_v
(
"学习时长"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"col3-td3"
},[
e
.
_v
(
"百分比"
)])]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
tabs
[
3
].
assess
.
video
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
staticClass
:
"tb"
},[
a
(
"div"
,{
staticClass
:
"tt"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
arr
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
staticClass
:
"rd"
},[
a
(
"div"
,{
staticClass
:
"col3-td1"
},[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"col3-td2"
},[
e
.
_v
(
e
.
_s
(
t
.
time
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"col3-td3"
},[
e
.
_v
(
e
.
_s
(
t
.
progress
))])])]})],
2
)]}),
e
.
_v
(
" "
),
e
.
tabs
[
3
].
assess
.
video
.
length
?
e
.
_e
():[
a
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
"font-size"
:
"30rpx"
,
margin
:
"40rpx auto 10rpx auto"
,
"text-align"
:
"center"
}},[
e
.
_v
(
"暂无数据"
)])]],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-title"
},[
e
.
_v
(
"试题及主观题"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"th"
},[
a
(
"div"
,{
staticClass
:
"col2-td1"
},[
e
.
_v
(
"章节"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"col2-td2"
},[
e
.
_v
(
"得分"
)])]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
tabs
[
3
].
assess
.
homewrok
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
staticClass
:
"tb"
},[
a
(
"div"
,{
staticClass
:
"tt"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
arr
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
staticClass
:
"rd"
},[
a
(
"div"
,{
staticClass
:
"col2-td1"
},[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"col2-td2"
},[
e
.
_v
(
e
.
_s
(
t
.
score
))])])]})],
2
)]}),
e
.
_v
(
" "
),
e
.
tabs
[
3
].
assess
.
homewrok
.
length
?
e
.
_e
():[
a
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
"font-size"
:
"30rpx"
,
margin
:
"40rpx auto 10rpx auto"
,
"text-align"
:
"center"
}},[
e
.
_v
(
"暂无数据"
)])]],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-title"
},[
e
.
_v
(
"大作业"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"status-text"
},[
e
.
_v
(
"状 态:"
+
e
.
_s
(
e
.
tabs
[
3
].
assess
.
essay
.
status
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"status-text"
},[
e
.
_v
(
"得 分:"
+
e
.
_s
(
e
.
tabs
[
3
].
assess
.
essay
.
score
))])])])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
xs
:
24
,
sm
:
9
,
md
:
7
,
lg
:
6
,
xl
:
4
}},[
e
.
tabs
[
0
].
content
&&
e
.
tabs
[
0
].
content
.
teachers
&&
e
.
tabs
[
0
].
content
.
teachers
.
length
?[
a
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName1
,
callback
:
function
(
t
){
e
.
activeName1
=
t
},
expression
:
"activeName1"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"课程讲师"
,
name
:
"1"
}},[
e
.
_l
(
e
.
tabs
[
0
].
content
.
teachers
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
staticClass
:
"list-teacher"
},[
a
(
"img"
,{
staticClass
:
"img"
,
attrs
:{
src
:
t
.
src
,
alt
:
""
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"ctx"
},[
a
(
"div"
,{
staticClass
:
"top-ctx"
},[
a
(
"div"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
name
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"bottom-ctx"
},[
a
(
"div"
,{
staticClass
:
"t1"
},[
e
.
_v
(
e
.
_s
(
t
.
edu
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"t2"
},[
e
.
_v
(
e
.
_s
(
t
.
job
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"t3"
},[
e
.
_v
(
e
.
_s
(
t
.
unit
))])])])])]})],
2
)],
1
)]:
e
.
_e
()],
2
)],
1
)],
1
)])},
a
=
[
function
(){
var
t
=
this
.
$createElement
,
s
=
this
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"no-img"
},[
s
(
"i"
,{
staticClass
:
"el-icon-self-13"
})])}];
i
.
d
(
s
,
"a"
,
function
(){
return
e
}),
i
.
d
(
s
,
"b"
,
function
(){
return
a
})}}]);
\ No newline at end of file
client-dist/resources/16.f7419562.js
deleted
100644 → 0
浏览文件 @
46a287e2
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
16
],{
255
:
function
(
t
,
s
,
i
){
"use strict"
;
i
.
r
(
s
);
var
e
=
i
(
419
),
a
=
i
(
303
);
for
(
var
r
in
a
)
"default"
!==
r
&&
function
(
t
){
i
.
d
(
s
,
t
,
function
(){
return
a
[
t
]})}(
r
);
i
(
381
);
var
c
=
i
(
3
),
n
=
Object
(
c
.
a
)(
a
.
default
,
e
.
a
,
e
.
b
,
!
1
,
null
,
"5b5e57ae"
,
null
);
n
.
options
.
__file
=
"courseDetail.vue"
,
s
.
default
=
n
.
exports
},
303
:
function
(
t
,
s
,
i
){
"use strict"
;
i
.
r
(
s
);
var
e
=
i
(
304
),
a
=
i
.
n
(
e
);
for
(
var
r
in
e
)
"default"
!==
r
&&
function
(
t
){
i
.
d
(
s
,
t
,
function
(){
return
e
[
t
]})}(
r
);
s
.
default
=
a
.
a
},
304
:
function
(
t
,
s
,
i
){
"use strict"
;
Object
.
defineProperty
(
s
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
i
(
68
)),
e
=
a
(
i
(
250
));
function
a
(
t
){
return
t
&&
t
.
__esModule
?
t
:{
default
:
t
}}
s
.
default
=
{
components
:{},
props
:{
sid
:{
type
:
String
,
require
:
!
1
},
cid
:{
type
:
String
,
require
:
!
1
}},
data
:
function
(){
return
{
ckeditor
:
null
,
activeName
:
"1"
,
activeName1
:
"1"
,
passCount
:
0
,
headerInfo
:{},
tabs
:[{
title
:
"课程简介"
,
isShow
:
!
0
,
content
:{
text
:
"<p><b>组织心理学</b>是研究组织中人的心理与行为规律的一门科学,是心理学的一个重要分支,也是心理学在管理学方面的一个交叉应用学科。"
,
teachers
:[{
src
:
""
,
name
:
"讲师姓名"
,
edu
:
"学历"
,
job
:
"职称"
,
unit
:
"讲师所在单位"
}]}},{
title
:
"课程内容"
,
isShow
:
!
1
,
chapterList
:{
currentChapterId
:
"11"
,
course
:[{
title
:
"第一章:重要概念"
,
isUp
:
!
0
,
chapters
:[{
id
:
"11"
,
time
:
"28:18"
,
name
:
"1.1 现值(PV)和终值(FV)"
},{
id
:
"12"
,
time
:
"19:09"
,
name
:
"1.2 净现值(NPV)及实际收益率"
}]},{
title
:
"第二章:证券估值"
,
isUp
:
!
0
,
chapters
:[{
id
:
"21"
,
time
:
"27:49"
,
name
:
"2.1 债券和股票的现金流贴现估值方法"
},{
id
:
"22"
,
time
:
"16:04"
,
name
:
"2.2 债券评级及债券协议"
},{
id
:
"23"
,
time
:
""
,
name
:
"公司金融第二周测验"
},{
id
:
"24"
,
time
:
""
,
name
:
"公司金融第二周作业"
}]},{
title
:
"课程大作业"
,
isUp
:
!
0
,
chapters
:[]},{
title
:
"课程资料"
,
isUp
:
!
0
,
chapters
:[]}]}},{
title
:
"课程讨论"
,
isShow
:
!
1
},{
title
:
"课程考核"
,
isShow
:
!
1
,
richText
:
"<div class='h1'>一、最终成绩计算</div> <div class='p'>课程表现得分*30%+每章试题得分*30%+结业大作业得分*40%=该门课程总得分,满分100分,低于80分为不及格,需重修此门课程。84分以上方可申请学位。</div> <img class='b1' src='http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/build/www/course-check.png' mode='aspectFill' /> <div class='h1'>二、具体细则</div> <div class='h2'>课程表现:总分100分(占科目总成绩的30%)</div> <div class='p'>1、每个视频观看完成度50分:以后台数据统计为准,全部看完视频满分50分,其它酌情给分。</div> <div class='em'>注:视频观看考核的是实际播放时长,不是进度条的显示状态,进度条满格并不一定表示观看完这个视频。以下方每日学习时长为准。</div> <div class='p'>2、课程反馈建设性问题及课程完成情况50分:反馈问题以教务老师统计为准,课程完成情况以后台数据为准,是否按时完成视频观看、测试、作业提交,满分50分,酌情给分。</div> <div class='h2'>每章试题:总分100分(占科目总成绩的30%)</div> <div class='p'>本课程所有试题的平均正确率*100分*占总成绩30%=此项得分。(比如正确度为80%,则此项得分:80%*100*30%=24分)</div> <div class='h2'>结业大作业:总分100分(占科目总成绩的40%)</div> <div class='p'>结业大作业满分为100分,以助教老师给分为准。</div>"
,
assess
:{
score
:
"20"
,
duration
:
"00:01:20"
,
progress
:
"0/10"
,
video
:[{
title
:
"第一章 市场营销原理导论"
,
arr
:[{
name
:
"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销"
,
time
:
"12:08"
,
progress
:
"100%"
}]}],
homewrok
:[{
title
:
"第一章 市场营销原理导论"
,
arr
:[{
name
:
"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销"
,
score
:
20
}]}],
essay
:{
status
:
"未提交"
,
score
:
"暂无"
}}}],
sort
:[{
isShow
:
!
1
,
str
:
""
},{
isShow
:
!
1
,
str
:
"tag"
}],
discussList
:[],
param
:{
limit
:
10
,
offset
:
0
,
sort
:
""
},
publish
:{
course_id
:
this
.
cid
,
semester_id
:
this
.
sid
,
title
:
""
,
contents
:
""
},
isPublicShow
:
!
1
,
publishRules
:{
title
:[{
required
:
!
0
,
message
:
"请输入标题"
,
trigger
:
"blur"
}]}}},
mounted
:
function
(){
var
s
=
this
,
i
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
r
.
default
.
courseAction
.
getCourseDetail
(
this
.
cid
,
this
.
sid
).
then
(
function
(
t
){
s
.
headerInfo
=
t
.
headerInfo
,
s
.
tabs
[
0
].
content
=
t
.
tabs0Content
,
s
.
tabs
[
1
].
chapterList
=
t
.
tabs1ChapterList
,
t
.
tabs3richTest
&&
(
s
.
tabs
[
3
].
richText
=
t
.
tabs3richTest
),
r
.
default
.
courseAction
.
getCourseAssess
(
s
.
cid
,
s
.
sid
).
then
(
function
(
t
){
s
.
tabs
[
3
].
assess
=
t
,
i
.
close
()}).
catch
(
function
(
t
){
s
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){}),
r
.
default
.
discussAction
.
getCourseDiscussList
(
s
.
cid
,
s
.
sid
,
s
.
param
).
then
(
function
(
t
){
s
.
discussList
=
t
}).
catch
(
function
(
t
){
s
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){})}).
catch
(
function
(
t
){
s
.
$message
.
error
(
t
.
message
),
i
.
close
()}).
finally
(
function
(){}),
window
.
addEventListener
(
"resize"
,
this
.
resizeRoot
.
bind
(
this
),
!
1
)},
destroyed
:
function
(){
window
.
removeEventListener
(
"resize"
,
this
.
resizeRoot
.
bind
(
this
),
!
1
),
this
.
ckeditor
&&
this
.
ckeditor
.
destroy
(
!
0
),
this
.
ckeditor
=
null
},
updated
:
function
(){
this
.
resizeRoot
(),
this
.
isPublicShow
&&
this
.
initckeditor
()},
beforeUpdate
:
function
(){
this
.
isPublicShow
||
(
this
.
ckeditor
&&
this
.
ckeditor
.
destroy
(
!
0
),
this
.
ckeditor
=
null
)},
methods
:{
handleClick
:
function
(
t
,
s
){},
initckeditor
:
function
(){
!
this
.
ckeditor
&&
(
this
.
ckeditor
=
e
.
default
.
replace
(
"editor"
,{
height
:
300
,
uiColor
:
"#eeeeee"
,
filebrowserImageUploadUrl
:
"/api/editor/upload"
,
toolbar
:[{
name
:
"styles"
,
items
:[
"Styles"
,
"Format"
,
"Font"
,
"FontSize"
]},{
name
:
"colors"
,
items
:[
"TextColor"
,
"BGColor"
]},{
name
:
"tools"
,
items
:[
"Maximize"
,
"ShowBlocks"
]},{
name
:
"editing"
,
items
:[
"Find"
,
"Replace"
]},
"/"
,{
name
:
"basicstyles"
,
items
:[
"Bold"
,
"Italic"
,
"Underline"
,
"Strike"
,
"Subscript"
,
"Superscript"
,
"-"
,
"RemoveFormat"
]},{
name
:
"paragraph"
,
items
:[
"NumberedList"
,
"BulletedList"
,
"-"
,
"Outdent"
,
"Indent"
,
"-"
,
"Blockquote"
,
"CreateDiv"
,
"-"
,
"JustifyLeft"
,
"JustifyCenter"
,
"JustifyRight"
,
"JustifyBlock"
,
"-"
,
"BidiLtr"
,
"BidiRtl"
]},{
name
:
"links"
,
items
:[
"Link"
,
"Unlink"
,
"Anchor"
]},{
name
:
"insert"
,
items
:[
"Image"
,
"Table"
,
"HorizontalRule"
]}]}))},
clickJumpOrStatus
:
function
(
t
){
var
s
=
t
.
currentTarget
.
dataset
;
if
(
s
.
status
){
var
i
=
s
.
index
,
e
=
this
.
tabs
[
1
].
chapterList
.
course
[
i
];
e
.
isUp
=!
e
.
isUp
}
else
{
var
a
=
this
.
tabs
[
1
].
chapterList
.
course
[
s
.
index
],
r
=
s
.
sid
,
c
=
s
.
cid
;
"course_info"
===
a
.
type
?
this
.
$router
.
push
({
path
:
"/player/"
+
r
+
"/"
+
c
+
"/course-info/course_info"
}):
"course_work"
===
a
.
type
&&
this
.
$router
.
push
({
path
:
"/player/"
+
r
+
"/"
+
c
+
"/course-work/course_work"
})}},
jumpToOtherVA
:
function
(
t
){
if
(
this
.
headerInfo
.
isStart
){
var
s
=
t
.
target
.
dataset
,
i
=
s
.
sid
,
e
=
s
.
cid
,
a
=
s
.
vid
;
if
(
!
s
.
hasva
){
var
r
=
s
.
index
,
c
=
s
.
index1
,
n
=
this
.
tabs
[
1
].
chapterList
.
course
[
r
];
return
n
&&
n
.
chapters
[
c
]?
void
(
3
===
n
.
chapters
[
c
].
type
?
1
===
n
.
chapters
[
c
].
work_type
?
this
.
$router
.
push
({
path
:
"/player/"
+
i
+
"/"
+
e
+
"/chapter-exam/"
+
a
}):
2
===
n
.
chapters
[
c
].
work_type
&&
this
.
$router
.
push
({
path
:
"/player/"
+
i
+
"/"
+
e
+
"/chapter-work/"
+
a
}):
4
===
n
.
chapters
[
c
].
type
&&
this
.
$router
.
push
({
path
:
"/player/"
+
i
+
"/"
+
e
+
"/chapter-read/"
+
a
})):
void
this
.
$message
.
error
(
"系统未知错误,001"
)}
this
.
$router
.
push
({
path
:
"/player/"
+
i
+
"/"
+
e
+
"/chapter-video/"
+
a
})}
else
this
.
$message
.
error
(
"先选课,才能学习"
)},
startLearn
:
function
(
t
){
var
s
=
t
.
currentTarget
.
dataset
,
i
=
s
.
sid
,
e
=
s
.
cid
,
a
=
s
.
vid
;
this
.
$router
.
push
({
path
:
"/player/"
+
i
+
"/"
+
e
+
"/chapter-video/"
+
a
})},
noWantThisCourse
:
function
(){
var
s
=
this
;
if
(
this
.
passCountTimeout
&&
clearTimeout
(
this
.
passCountTimeout
),
this
.
passCountTimeout
=
setTimeout
(
function
(){
s
.
passCount
=
0
},
500
),
this
.
passCount
<
15
)
this
.
passCount
++
;
else
{
var
i
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
r
.
default
.
courseAction
.
outSelectCourse
(
this
.
cid
,
this
.
sid
).
then
(
function
(
t
){
s
.
headerInfo
.
isStart
=!
1
,
i
.
close
(),
s
.
$message
({
type
:
"success"
,
message
:
"退课成功"
}),
s
.
passCount
=
0
}).
catch
(
function
(
t
){
s
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){
i
.
close
()})}},
wantThisCourse
:
function
(){
var
s
=
this
,
i
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
r
.
default
.
courseAction
.
selectCourse
(
this
.
cid
,
this
.
sid
).
then
(
function
(
t
){
s
.
headerInfo
.
isStart
=!
0
,
i
.
close
(),
s
.
$message
({
type
:
"success"
,
message
:
"选课成功"
})}).
catch
(
function
(
t
){
s
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){
i
.
close
()})},
resizeRoot
:
function
(){
var
a
=
this
,
t
=
document
.
querySelectorAll
(
".ellipsis"
),
r
=
getComputedStyle
(
window
.
document
.
documentElement
)[
"font-size"
].
replace
(
"px"
,
""
);
t
.
forEach
(
function
(
t
,
s
){
t
.
previousSibling
.
style
.
height
=
"auto"
;
var
i
=
t
.
previousSibling
.
offsetHeight
,
e
=
.
18
*
r
*
1.5
*
2
;
e
<
i
?(
a
.
discussList
[
s
].
isShow
=!
0
,
t
.
previousSibling
.
style
.
height
=
e
+
"px"
):
a
.
discussList
[
s
].
isShow
=!
1
})},
publishDiscuss
:
function
(){
this
.
isPublicShow
=!
0
},
gobackDiscuss
:
function
(){
this
.
isPublicShow
=!
1
},
onSubmitPublish
:
function
(){
var
i
=
this
;
this
.
$refs
.
setPublishform
.
validate
(
function
(
t
){
if
(
!
t
)
return
i
.
$message
.
error
(
"请输入标题"
),
!
1
;
if
(
i
.
ckeditor
.
getData
()){
i
.
publish
.
contents
=
i
.
ckeditor
.
getData
();
var
s
=
i
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
r
.
default
.
discussAction
.
publishQues
(
i
.
publish
).
then
(
function
(
t
){
i
.
$message
({
type
:
"success"
,
message
:
"问题发布成功"
}),
i
.
isPublicShow
=!
1
,
r
.
default
.
discussAction
.
getCourseDiscussList
(
i
.
cid
,
i
.
sid
,
i
.
param
).
then
(
function
(
t
){
i
.
discussList
=
t
}).
catch
(
function
(
t
){
i
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){})}).
catch
(
function
(
t
){
i
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){
s
.
close
()})}
else
i
.
$message
.
error
(
"请输入正文内容"
)})},
goDiscussDetail
:
function
(
t
){
var
s
=
t
.
currentTarget
.
dataset
.
id
;
this
.
$router
.
push
({
path
:
"/app/my-learn/discuss-detail/"
+
this
.
sid
+
"/"
+
this
.
cid
+
"/"
+
s
})},
sortFn
:
function
(
t
){
var
s
=
this
,
i
=
t
.
currentTarget
.
dataset
.
index
,
e
=
t
.
currentTarget
.
dataset
.
str
;
this
.
sort
[
i
].
isShow
=!
this
.
sort
[
i
].
isShow
,
this
.
sort
[(
parseInt
(
i
)
+
1
)
%
2
].
isShow
=!
1
,
this
.
param
.
sort
=
this
.
sort
[
i
].
isShow
?
e
:
""
,
this
.
param
.
offset
=
0
;
var
a
=
this
.
$loading
({
lock
:
!
0
,
text
:
""
,
spinner
:
""
,
background
:
"rgba(255, 255, 255, 0.9)"
});
r
.
default
.
discussAction
.
getCourseDiscussList
(
this
.
cid
,
this
.
sid
,
this
.
param
).
then
(
function
(
t
){
s
.
discussList
=
t
}).
catch
(
function
(
t
){
s
.
$message
.
error
(
t
.
message
)}).
finally
(
function
(){
a
.
close
()})}}}},
305
:
function
(
t
,
s
,
i
){},
381
:
function
(
t
,
s
,
i
){
"use strict"
;
var
e
=
i
(
305
);
i
.
n
(
e
).
a
},
419
:
function
(
t
,
s
,
i
){
"use strict"
;
var
e
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"con-title"
},[
e
.
_v
(
"课程详情"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"detail-box"
},[
a
(
"div"
,{
staticClass
:
"box-thd"
},[
a
(
"div"
,{
staticClass
:
"title"
,
on
:{
click
:
e
.
noWantThisCourse
}},[
e
.
_v
(
e
.
_s
(
e
.
headerInfo
.
title
)
+
"
\
n "
),
e
.
headerInfo
.
isStart
&&
e
.
tabs
[
1
].
chapterList
.
currentChapterId
?[
a
(
"el-button"
,{
staticClass
:
"rbtn"
,
attrs
:{
type
:
"primary"
,
size
:
"mini"
,
"data-cid"
:
e
.
cid
,
"data-sid"
:
e
.
sid
,
"data-vid"
:
e
.
tabs
[
1
].
chapterList
.
currentChapterId
},
on
:{
click
:
e
.
startLearn
}},[
e
.
_v
(
"继续学习"
)])]:
e
.
headerInfo
.
isStart
?[
a
(
"el-button"
,{
staticClass
:
"rbtn"
,
attrs
:{
type
:
"primary"
,
size
:
"mini"
,
"data-cid"
:
e
.
cid
,
"data-sid"
:
e
.
sid
,
"data-vid"
:
e
.
tabs
[
1
].
chapterList
.
course
[
0
].
chapters
[
0
].
vid
},
on
:{
click
:
e
.
startLearn
}},[
e
.
_v
(
"开始学习"
)])]:[
a
(
"el-button"
,{
staticClass
:
"rbtn"
,
attrs
:{
type
:
"primary"
,
size
:
"mini"
},
on
:{
click
:
e
.
wantThisCourse
}},[
e
.
_v
(
"选课"
)])]],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"tags"
},[
e
.
_l
(
e
.
headerInfo
.
arrTab
,
function
(
t
,
s
){
return
[
a
(
"span"
,{
key
:
s
,
staticClass
:
"tabs-item"
},[
e
.
_v
(
e
.
_s
(
t
))])]})],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"time"
},[
e
.
_v
(
e
.
_s
(
e
.
headerInfo
.
time
)
+
" "
+
e
.
_s
(
e
.
headerInfo
.
status
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
float
:
"left"
,
width
:
"100%"
,
height
:
"1px"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"progress"
},[
e
.
_v
(
"
\
n 学习进度 "
),
a
(
"el-progress"
,{
attrs
:{
percentage
:
e
.
headerInfo
.
progress
,
color
:
"#b49441"
}})],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"box-tbd"
},[
a
(
"div"
,{
staticClass
:
"left-pic"
},[
e
.
headerInfo
.
bgSrc
?[
a
(
"img"
,{
attrs
:{
src
:
e
.
headerInfo
.
bgSrc
,
alt
:
""
}})]:[
e
.
_m
(
0
)]],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
,
domProps
:{
innerHTML
:
e
.
_s
(
e
.
tabs
[
0
].
content
.
text
)}})]),
e
.
_v
(
" "
),
a
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
a
(
"el-col"
,{
attrs
:{
xs
:
24
,
sm
:
15
,
md
:
17
,
lg
:
18
,
xl
:
20
}},[
a
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"课程内容"
,
name
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"course-list"
},[
e
.
_l
(
e
.
tabs
[
1
].
chapterList
.
course
,
function
(
t
,
i
){
return
[
a
(
"div"
,{
key
:
i
,
class
:[
"content-group"
,
t
.
chapters
.
length
?
""
:
"no-child"
,
t
.
isUp
?
"up"
:
""
]},[
a
(
"div"
,{
staticClass
:
"title"
,
attrs
:{
"data-index"
:
i
,
"data-cid"
:
t
.
cid
,
"data-sid"
:
t
.
sid
,
"data-status"
:
!!
t
.
chapters
.
length
},
on
:{
click
:
function
(
t
){
e
.
clickJumpOrStatus
(
t
)}}},[
e
.
_v
(
e
.
_s
(
t
.
title
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
"side"
,
t
.
chapters
.
length
?
""
:
"none"
,
t
.
isUp
?
"el-icon-arrow-down"
:
"el-icon-arrow-up"
]})]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
chapters
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
class
:[
"body"
,
t
.
id
===
e
.
tabs
[
1
].
chapterList
.
currentChapterId
&&
"on"
]},[
a
(
"div"
,{
staticClass
:
"name"
,
attrs
:{
"data-vid"
:
t
.
vid
,
"data-cid"
:
t
.
cid
,
"data-sid"
:
t
.
sid
,
"data-hasVA"
:
t
.
time
,
"data-name"
:
t
.
name
,
"data-index"
:
i
,
"data-index1"
:
s
},
on
:{
click
:
e
.
jumpToOtherVA
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
),
a
(
"div"
,{
staticClass
:
"time"
},[
e
.
_v
(
e
.
_s
(
t
.
time
))])])])]})],
2
)]})],
2
)]),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"课程讨论"
,
name
:
"2"
}},[
e
.
isPublicShow
?[
a
(
"div"
,{
staticClass
:
"publish"
},[
a
(
"div"
,{
staticStyle
:{
overflow
:
"hidden"
}},[
a
(
"div"
,{
staticClass
:
"right-goback-txt"
},[
e
.
_v
(
"发布问题"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
e
.
gobackDiscuss
}},[
e
.
_v
(
"返回问题列表"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"setPublishform"
,
attrs
:{
model
:
e
.
publish
,
rules
:
e
.
publishRules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"标题"
,
prop
:
"title"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"text"
,
placeholder
:
"请输入标题"
},
model
:{
value
:
e
.
publish
.
title
,
callback
:
function
(
t
){
e
.
$set
(
e
.
publish
,
"title"
,
t
)},
expression
:
"publish.title"
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"line-height"
:
"1.5"
,
"font-size"
:
"0.16rem"
,
"margin-bottom"
:
"0.2rem"
}},[
e
.
_v
(
"正文内容"
)]),
e
.
_v
(
" "
),
a
(
"textarea"
,{
attrs
:{
id
:
"editor"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"0.2rem"
}}),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onSubmitPublish
}},[
e
.
_v
(
"发布问题"
)])],
1
)],
1
)],
1
)]:[
a
(
"div"
,{
staticClass
:
"pub-ques"
},[
a
(
"div"
,{
staticClass
:
"ask"
},[
a
(
"i"
,{
staticClass
:
"el-icon-edit img"
}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"txt"
,
on
:{
click
:
e
.
publishDiscuss
}},[
e
.
_v
(
"发布问题 ..."
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"item-order"
,
e
.
sort
[
0
].
isShow
?
"on"
:
""
],
attrs
:{
"data-index"
:
0
,
"data-str"
:
e
.
sort
[
0
].
str
},
on
:{
click
:
e
.
sortFn
}},[
e
.
_v
(
"按时间排序"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"item-order"
,
e
.
sort
[
1
].
isShow
?
"on"
:
""
],
attrs
:{
"data-index"
:
1
,
"data-str"
:
e
.
sort
[
1
].
str
},
on
:{
click
:
e
.
sortFn
}},[
e
.
_v
(
"按投票排序"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"discuss-scroll"
,
attrs
:{
bindscrolltolower
:
"loadmore"
,
bindscrolltoupper
:
"updatenew"
}},[
e
.
_l
(
e
.
discussList
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
staticClass
:
"item-list"
,
attrs
:{
"data-id"
:
t
.
id
,
"data-sid"
:
t
.
sid
,
"data-index"
:
s
},
on
:{
click
:
e
.
goDiscussDetail
}},[
a
(
"div"
,{
staticClass
:
"user"
},[
t
.
user
.
url
?[
a
(
"img"
,{
staticClass
:
"img"
,
attrs
:{
src
:
t
.
user
.
url
}})]:[
a
(
"img"
,{
staticClass
:
"img"
,
attrs
:{
src
:
i
(
107
)}})],
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right"
},[
a
(
"div"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
user
.
name
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"time"
},[
e
.
_v
(
e
.
_s
(
t
.
user
.
time
))])])],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"title"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"text"
],
domProps
:{
innerHTML
:
e
.
_s
(
t
.
text
)}}),
a
(
"div"
,{
class
:[
"ellipsis"
,
t
.
isShow
?
"on"
:
""
]},[
e
.
_v
(
"...."
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"result"
},[
e
.
_v
(
e
.
_s
(
t
.
askCnt
)
+
" 回答"
),
a
(
"div"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"20px"
}}),
e
.
_v
(
e
.
_s
(
t
.
TouCnt
)
+
" 投票"
)])])]}),
e
.
_v
(
" "
),
e
.
discussList
.
length
?
e
.
_e
():[
a
(
"div"
,{
staticClass
:
"no-data"
},[
e
.
_v
(
"暂无相关讨论"
)])]],
2
)]],
2
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"课程考核"
,
name
:
"3"
}},[
a
(
"div"
,{
staticClass
:
"course-assess"
},[
a
(
"div"
,{
staticClass
:
"title"
},[
e
.
_v
(
"最终成绩:"
+
e
.
_s
(
e
.
tabs
[
3
].
assess
.
score
&&
e
.
tabs
[
3
].
assess
.
score
+
"分"
||
"暂无"
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"topic"
},[
a
(
"div"
,{
staticClass
:
"line"
}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"tit"
},[
e
.
_v
(
"课程考核标准"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"detail"
},[
a
(
"div"
,{
staticClass
:
"detail-rich"
,
domProps
:{
innerHTML
:
e
.
_s
(
e
.
tabs
[
3
].
richText
)}})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"topic"
},[
a
(
"div"
,{
staticClass
:
"line"
}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"tit"
},[
e
.
_v
(
"学习进度及成绩"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-title"
},[
e
.
_v
(
"课程“音视频”观看统计( 累计学习时长:"
+
e
.
_s
(
e
.
tabs
[
3
].
assess
.
duration
)
+
",完成率:"
+
e
.
_s
(
e
.
tabs
[
3
].
assess
.
progress
)
+
" )"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"th"
},[
a
(
"div"
,{
staticClass
:
"col3-td1"
},[
e
.
_v
(
"章节"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"col3-td2"
},[
e
.
_v
(
"学习时长"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"col3-td3"
},[
e
.
_v
(
"百分比"
)])]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
tabs
[
3
].
assess
.
video
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
staticClass
:
"tb"
},[
a
(
"div"
,{
staticClass
:
"tt"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
arr
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
staticClass
:
"rd"
},[
a
(
"div"
,{
staticClass
:
"col3-td1"
},[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"col3-td2"
},[
e
.
_v
(
e
.
_s
(
t
.
time
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"col3-td3"
},[
e
.
_v
(
e
.
_s
(
t
.
progress
))])])]})],
2
)]}),
e
.
_v
(
" "
),
e
.
tabs
[
3
].
assess
.
video
.
length
?
e
.
_e
():[
a
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
"font-size"
:
"30rpx"
,
margin
:
"40rpx auto 10rpx auto"
,
"text-align"
:
"center"
}},[
e
.
_v
(
"暂无数据"
)])]],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-title"
},[
e
.
_v
(
"试题及主观题"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"th"
},[
a
(
"div"
,{
staticClass
:
"col2-td1"
},[
e
.
_v
(
"章节"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"col2-td2"
},[
e
.
_v
(
"得分"
)])]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
tabs
[
3
].
assess
.
homewrok
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
staticClass
:
"tb"
},[
a
(
"div"
,{
staticClass
:
"tt"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
arr
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
staticClass
:
"rd"
},[
a
(
"div"
,{
staticClass
:
"col2-td1"
},[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"col2-td2"
},[
e
.
_v
(
e
.
_s
(
t
.
score
))])])]})],
2
)]}),
e
.
_v
(
" "
),
e
.
tabs
[
3
].
assess
.
homewrok
.
length
?
e
.
_e
():[
a
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
"font-size"
:
"30rpx"
,
margin
:
"40rpx auto 10rpx auto"
,
"text-align"
:
"center"
}},[
e
.
_v
(
"暂无数据"
)])]],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-title"
},[
e
.
_v
(
"大作业"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"status-text"
},[
e
.
_v
(
"状 态:"
+
e
.
_s
(
e
.
tabs
[
3
].
assess
.
essay
.
status
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"status-text"
},[
e
.
_v
(
"得 分:"
+
e
.
_s
(
e
.
tabs
[
3
].
assess
.
essay
.
score
))])])])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
xs
:
24
,
sm
:
9
,
md
:
7
,
lg
:
6
,
xl
:
4
}},[
e
.
tabs
[
0
].
content
&&
e
.
tabs
[
0
].
content
.
teachers
&&
e
.
tabs
[
0
].
content
.
teachers
.
length
?[
a
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName1
,
callback
:
function
(
t
){
e
.
activeName1
=
t
},
expression
:
"activeName1"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"课程讲师"
,
name
:
"1"
}},[
e
.
_l
(
e
.
tabs
[
0
].
content
.
teachers
,
function
(
t
,
s
){
return
[
a
(
"div"
,{
key
:
s
,
staticClass
:
"list-teacher"
},[
a
(
"img"
,{
staticClass
:
"img"
,
attrs
:{
src
:
t
.
src
,
alt
:
""
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"ctx"
},[
a
(
"div"
,{
staticClass
:
"top-ctx"
},[
a
(
"div"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
name
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"bottom-ctx"
},[
a
(
"div"
,{
staticClass
:
"t1"
},[
e
.
_v
(
e
.
_s
(
t
.
edu
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"t2"
},[
e
.
_v
(
e
.
_s
(
t
.
job
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"t3"
},[
e
.
_v
(
e
.
_s
(
t
.
unit
))])])])])]})],
2
)],
1
)]:
e
.
_e
()],
2
)],
1
)],
1
)])},
a
=
[
function
(){
var
t
=
this
.
$createElement
,
s
=
this
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"no-img"
},[
s
(
"i"
,{
staticClass
:
"el-icon-self-13"
})])}];
i
.
d
(
s
,
"a"
,
function
(){
return
e
}),
i
.
d
(
s
,
"b"
,
function
(){
return
a
})}}]);
\ No newline at end of file
client-dist/resources/manifest.
d2997f4d
.js
→
client-dist/resources/manifest.
2bf0819b
.js
浏览文件 @
2173f62e
!
function
(
d
){
function
e
(
e
){
for
(
var
t
,
r
,
n
=
e
[
0
],
a
=
e
[
1
],
o
=
e
[
2
],
c
=
0
,
f
=
[];
c
<
n
.
length
;
c
++
)
r
=
n
[
c
],
s
[
r
]
&&
f
.
push
(
s
[
r
][
0
]),
s
[
r
]
=
0
;
for
(
t
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
t
)
&&
(
d
[
t
]
=
a
[
t
]);
for
(
p
&&
p
(
e
);
f
.
length
;)
f
.
shift
()();
return
i
.
push
.
apply
(
i
,
o
||
[]),
u
()}
function
u
(){
for
(
var
e
,
t
=
0
;
t
<
i
.
length
;
t
++
){
for
(
var
r
=
i
[
t
],
n
=!
0
,
a
=
1
;
a
<
r
.
length
;
a
++
){
var
o
=
r
[
a
];
0
!==
s
[
o
]
&&
(
n
=!
1
)}
n
&&
(
i
.
splice
(
t
--
,
1
),
e
=
b
(
b
.
s
=
r
[
0
]))}
return
e
}
var
r
=
{},
l
=
{
3
:
0
},
s
=
{
3
:
0
},
i
=
[];
function
b
(
e
){
if
(
r
[
e
])
return
r
[
e
].
exports
;
var
t
=
r
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
d
[
e
].
call
(
t
.
exports
,
t
,
t
.
exports
,
b
),
t
.
l
=!
0
,
t
.
exports
}
b
.
e
=
function
(
i
){
var
e
=
[];
l
[
i
]?
e
.
push
(
l
[
i
]):
0
!==
l
[
i
]
&&
{
0
:
1
,
5
:
1
,
6
:
1
,
7
:
1
,
8
:
1
,
9
:
1
,
10
:
1
,
11
:
1
,
12
:
1
,
13
:
1
,
14
:
1
,
15
:
1
,
16
:
1
,
17
:
1
,
18
:
1
,
19
:
1
,
20
:
1
,
21
:
1
}[
i
]
&&
e
.
push
(
l
[
i
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
t
=
"resources/"
+
({}[
i
]
||
i
)
+
"."
+
{
0
:
"b2e9413b6daa"
,
1
:
"31d6cfe0d16a"
,
5
:
"a95593c8fdac"
,
6
:
"99a37f54610a"
,
7
:
"5fb66d23f2f0"
,
8
:
"c7ab83b7700d"
,
9
:
"3722d9bda5f5"
,
10
:
"eb5caf8d2af7"
,
11
:
"a630db62e31b"
,
12
:
"ecdbc84c1af7"
,
13
:
"cbf94943e0a6"
,
14
:
"27ece10619a6"
,
15
:
"bea3197f71de"
,
16
:
"528cc7baf223"
,
17
:
"43d7a69049a6"
,
18
:
"6585580b0bed"
,
19
:
"81c5f8820ff9"
,
20
:
"3181e4596df6"
,
21
:
"12c536f6abaf"
,
22
:
"31d6cfe0d16a"
,
23
:
"31d6cfe0d16a"
,
24
:
"31d6cfe0d16a"
,
25
:
"31d6cfe0d16a"
,
26
:
"31d6cfe0d16a"
,
27
:
"31d6cfe0d16a"
,
28
:
"31d6cfe0d16a"
,
29
:
"31d6cfe0d16a"
}[
i
]
+
".css"
,
a
=
b
.
p
+
t
,
r
=
document
.
getElementsByTagName
(
"link"
),
o
=
0
;
o
<
r
.
length
;
o
++
){
var
c
=
(
d
=
r
[
o
]).
getAttribute
(
"data-href"
)
||
d
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
d
.
rel
&&
(
c
===
t
||
c
===
a
))
return
e
()}
var
f
=
document
.
getElementsByTagName
(
"style"
);
for
(
o
=
0
;
o
<
f
.
length
;
o
++
){
var
d
;
if
((
c
=
(
d
=
f
[
o
]).
getAttribute
(
"data-href"
))
===
t
||
c
===
a
)
return
e
()}
var
u
=
document
.
createElement
(
"link"
);
u
.
rel
=
"stylesheet"
,
u
.
type
=
"text/css"
,
u
.
onload
=
e
,
u
.
onerror
=
function
(
e
){
var
t
=
e
&&
e
.
target
&&
e
.
target
.
src
||
a
,
r
=
new
Error
(
"Loading CSS chunk "
+
i
+
" failed.
\
n("
+
t
+
")"
);
r
.
request
=
t
,
delete
l
[
i
],
u
.
parentNode
.
removeChild
(
u
),
n
(
r
)},
u
.
href
=
a
,
document
.
getElementsByTagName
(
"head"
)[
0
].
appendChild
(
u
)}).
then
(
function
(){
l
[
i
]
=
0
}));
var
t
,
r
=
s
[
i
];
if
(
0
!==
r
)
if
(
r
)
e
.
push
(
r
[
2
]);
else
{
var
n
=
new
Promise
(
function
(
e
,
t
){
r
=
s
[
i
]
=
[
e
,
t
]});
e
.
push
(
r
[
2
]
=
n
);
var
a
,
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
c
=
document
.
createElement
(
"script"
);
c
.
charset
=
"utf-8"
,
c
.
timeout
=
120
,
b
.
nc
&&
c
.
setAttribute
(
"nonce"
,
b
.
nc
),
c
.
src
=
b
.
p
+
"resources/"
+
({}[
t
=
i
]
||
t
)
+
"."
+
{
0
:
"03237134"
,
1
:
"cce9dd13"
,
5
:
"2ecf20b1"
,
6
:
"c31d0af8"
,
7
:
"339ccf47"
,
8
:
"d5cdd163"
,
9
:
"109add9c"
,
10
:
"236b8345"
,
11
:
"6521c812"
,
12
:
"792709ec"
,
13
:
"e92b9d23"
,
14
:
"f019d021"
,
15
:
"a46ce51b"
,
16
:
"f7419562"
,
17
:
"71afe09f"
,
18
:
"fa0bd151"
,
19
:
"b26b8ae8"
,
20
:
"b1a3305e"
,
21
:
"d705dc78"
,
22
:
"37fe44a3"
,
23
:
"e833bd21"
,
24
:
"90451017"
,
25
:
"ae4480e0"
,
26
:
"47711baa"
,
27
:
"8ac385cf"
,
28
:
"f7d39fd0"
,
29
:
"4322baee"
}[
t
]
+
".js"
,
a
=
function
(
e
){
c
.
onerror
=
c
.
onload
=
null
,
clearTimeout
(
f
);
var
t
=
s
[
i
];
if
(
0
!==
t
){
if
(
t
){
var
r
=
e
&&
(
"load"
===
e
.
type
?
"missing"
:
e
.
type
),
n
=
e
&&
e
.
target
&&
e
.
target
.
src
,
a
=
new
Error
(
"Loading chunk "
+
i
+
" failed.
\
n("
+
r
+
": "
+
n
+
")"
);
a
.
type
=
r
,
a
.
request
=
n
,
t
[
1
](
a
)}
s
[
i
]
=
void
0
}};
var
f
=
setTimeout
(
function
(){
a
({
type
:
"timeout"
,
target
:
c
})},
12
e4
);
c
.
onerror
=
c
.
onload
=
a
,
o
.
appendChild
(
c
)}
return
Promise
.
all
(
e
)},
b
.
m
=
d
,
b
.
c
=
r
,
b
.
d
=
function
(
e
,
t
,
r
){
b
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
r
})},
b
.
r
=
function
(
e
){
"undefined"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
b
.
t
=
function
(
t
,
e
){
if
(
1
&
e
&&
(
t
=
b
(
t
)),
8
&
e
)
return
t
;
if
(
4
&
e
&&
"object"
==
typeof
t
&&
t
&&
t
.
__esModule
)
return
t
;
var
r
=
Object
.
create
(
null
);
if
(
b
.
r
(
r
),
Object
.
defineProperty
(
r
,
"default"
,{
enumerable
:
!
0
,
value
:
t
}),
2
&
e
&&
"string"
!=
typeof
t
)
for
(
var
n
in
t
)
b
.
d
(
r
,
n
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
n
));
return
r
},
b
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
t
,
"a"
,
t
),
t
},
b
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
b
.
p
=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
};
var
t
=
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[],
n
=
t
.
push
.
bind
(
t
);
t
.
push
=
e
,
t
=
t
.
slice
();
for
(
var
a
=
0
;
a
<
t
.
length
;
a
++
)
e
(
t
[
a
]);
var
p
=
n
;
u
()}([]);
\ No newline at end of file
!
function
(
d
){
function
e
(
e
){
for
(
var
t
,
r
,
n
=
e
[
0
],
a
=
e
[
1
],
o
=
e
[
2
],
f
=
0
,
c
=
[];
f
<
n
.
length
;
f
++
)
r
=
n
[
f
],
s
[
r
]
&&
c
.
push
(
s
[
r
][
0
]),
s
[
r
]
=
0
;
for
(
t
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
t
)
&&
(
d
[
t
]
=
a
[
t
]);
for
(
p
&&
p
(
e
);
c
.
length
;)
c
.
shift
()();
return
i
.
push
.
apply
(
i
,
o
||
[]),
u
()}
function
u
(){
for
(
var
e
,
t
=
0
;
t
<
i
.
length
;
t
++
){
for
(
var
r
=
i
[
t
],
n
=!
0
,
a
=
1
;
a
<
r
.
length
;
a
++
){
var
o
=
r
[
a
];
0
!==
s
[
o
]
&&
(
n
=!
1
)}
n
&&
(
i
.
splice
(
t
--
,
1
),
e
=
b
(
b
.
s
=
r
[
0
]))}
return
e
}
var
r
=
{},
l
=
{
3
:
0
},
s
=
{
3
:
0
},
i
=
[];
function
b
(
e
){
if
(
r
[
e
])
return
r
[
e
].
exports
;
var
t
=
r
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
d
[
e
].
call
(
t
.
exports
,
t
,
t
.
exports
,
b
),
t
.
l
=!
0
,
t
.
exports
}
b
.
e
=
function
(
i
){
var
e
=
[];
l
[
i
]?
e
.
push
(
l
[
i
]):
0
!==
l
[
i
]
&&
{
0
:
1
,
5
:
1
,
6
:
1
,
7
:
1
,
8
:
1
,
9
:
1
,
10
:
1
,
11
:
1
,
12
:
1
,
13
:
1
,
14
:
1
,
15
:
1
,
16
:
1
,
17
:
1
,
18
:
1
,
19
:
1
,
20
:
1
,
21
:
1
}[
i
]
&&
e
.
push
(
l
[
i
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
t
=
"resources/"
+
({}[
i
]
||
i
)
+
"."
+
{
0
:
"b2e9413b6daa"
,
1
:
"31d6cfe0d16a"
,
5
:
"a95593c8fdac"
,
6
:
"99a37f54610a"
,
7
:
"5fb66d23f2f0"
,
8
:
"c7ab83b7700d"
,
9
:
"3722d9bda5f5"
,
10
:
"eb5caf8d2af7"
,
11
:
"970f20fae48e"
,
12
:
"ecdbc84c1af7"
,
13
:
"cbf94943e0a6"
,
14
:
"27ece10619a6"
,
15
:
"bea3197f71de"
,
16
:
"30dff0c0c0cb"
,
17
:
"43d7a69049a6"
,
18
:
"6585580b0bed"
,
19
:
"81c5f8820ff9"
,
20
:
"3181e4596df6"
,
21
:
"12c536f6abaf"
,
22
:
"31d6cfe0d16a"
,
23
:
"31d6cfe0d16a"
,
24
:
"31d6cfe0d16a"
,
25
:
"31d6cfe0d16a"
,
26
:
"31d6cfe0d16a"
,
27
:
"31d6cfe0d16a"
,
28
:
"31d6cfe0d16a"
,
29
:
"31d6cfe0d16a"
}[
i
]
+
".css"
,
a
=
b
.
p
+
t
,
r
=
document
.
getElementsByTagName
(
"link"
),
o
=
0
;
o
<
r
.
length
;
o
++
){
var
f
=
(
d
=
r
[
o
]).
getAttribute
(
"data-href"
)
||
d
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
d
.
rel
&&
(
f
===
t
||
f
===
a
))
return
e
()}
var
c
=
document
.
getElementsByTagName
(
"style"
);
for
(
o
=
0
;
o
<
c
.
length
;
o
++
){
var
d
;
if
((
f
=
(
d
=
c
[
o
]).
getAttribute
(
"data-href"
))
===
t
||
f
===
a
)
return
e
()}
var
u
=
document
.
createElement
(
"link"
);
u
.
rel
=
"stylesheet"
,
u
.
type
=
"text/css"
,
u
.
onload
=
e
,
u
.
onerror
=
function
(
e
){
var
t
=
e
&&
e
.
target
&&
e
.
target
.
src
||
a
,
r
=
new
Error
(
"Loading CSS chunk "
+
i
+
" failed.
\
n("
+
t
+
")"
);
r
.
request
=
t
,
delete
l
[
i
],
u
.
parentNode
.
removeChild
(
u
),
n
(
r
)},
u
.
href
=
a
,
document
.
getElementsByTagName
(
"head"
)[
0
].
appendChild
(
u
)}).
then
(
function
(){
l
[
i
]
=
0
}));
var
t
,
r
=
s
[
i
];
if
(
0
!==
r
)
if
(
r
)
e
.
push
(
r
[
2
]);
else
{
var
n
=
new
Promise
(
function
(
e
,
t
){
r
=
s
[
i
]
=
[
e
,
t
]});
e
.
push
(
r
[
2
]
=
n
);
var
a
,
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
f
=
document
.
createElement
(
"script"
);
f
.
charset
=
"utf-8"
,
f
.
timeout
=
120
,
b
.
nc
&&
f
.
setAttribute
(
"nonce"
,
b
.
nc
),
f
.
src
=
b
.
p
+
"resources/"
+
({}[
t
=
i
]
||
t
)
+
"."
+
{
0
:
"03237134"
,
1
:
"cce9dd13"
,
5
:
"2ecf20b1"
,
6
:
"c31d0af8"
,
7
:
"339ccf47"
,
8
:
"d5cdd163"
,
9
:
"109add9c"
,
10
:
"236b8345"
,
11
:
"7b12fe3f"
,
12
:
"792709ec"
,
13
:
"e92b9d23"
,
14
:
"f019d021"
,
15
:
"a46ce51b"
,
16
:
"6ba9727d"
,
17
:
"71afe09f"
,
18
:
"fa0bd151"
,
19
:
"b26b8ae8"
,
20
:
"b1a3305e"
,
21
:
"d705dc78"
,
22
:
"37fe44a3"
,
23
:
"e833bd21"
,
24
:
"90451017"
,
25
:
"ae4480e0"
,
26
:
"47711baa"
,
27
:
"8ac385cf"
,
28
:
"f7d39fd0"
,
29
:
"4322baee"
}[
t
]
+
".js"
,
a
=
function
(
e
){
f
.
onerror
=
f
.
onload
=
null
,
clearTimeout
(
c
);
var
t
=
s
[
i
];
if
(
0
!==
t
){
if
(
t
){
var
r
=
e
&&
(
"load"
===
e
.
type
?
"missing"
:
e
.
type
),
n
=
e
&&
e
.
target
&&
e
.
target
.
src
,
a
=
new
Error
(
"Loading chunk "
+
i
+
" failed.
\
n("
+
r
+
": "
+
n
+
")"
);
a
.
type
=
r
,
a
.
request
=
n
,
t
[
1
](
a
)}
s
[
i
]
=
void
0
}};
var
c
=
setTimeout
(
function
(){
a
({
type
:
"timeout"
,
target
:
f
})},
12
e4
);
f
.
onerror
=
f
.
onload
=
a
,
o
.
appendChild
(
f
)}
return
Promise
.
all
(
e
)},
b
.
m
=
d
,
b
.
c
=
r
,
b
.
d
=
function
(
e
,
t
,
r
){
b
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
r
})},
b
.
r
=
function
(
e
){
"undefined"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
b
.
t
=
function
(
t
,
e
){
if
(
1
&
e
&&
(
t
=
b
(
t
)),
8
&
e
)
return
t
;
if
(
4
&
e
&&
"object"
==
typeof
t
&&
t
&&
t
.
__esModule
)
return
t
;
var
r
=
Object
.
create
(
null
);
if
(
b
.
r
(
r
),
Object
.
defineProperty
(
r
,
"default"
,{
enumerable
:
!
0
,
value
:
t
}),
2
&
e
&&
"string"
!=
typeof
t
)
for
(
var
n
in
t
)
b
.
d
(
r
,
n
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
n
));
return
r
},
b
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
t
,
"a"
,
t
),
t
},
b
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
b
.
p
=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
};
var
t
=
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[],
n
=
t
.
push
.
bind
(
t
);
t
.
push
=
e
,
t
=
t
.
slice
();
for
(
var
a
=
0
;
a
<
t
.
length
;
a
++
)
e
(
t
[
a
]);
var
p
=
n
;
u
()}([]);
\ No newline at end of file
client/components/player/chapterExam/chapterExam.vue
浏览文件 @
2173f62e
...
...
@@ -140,6 +140,8 @@ export default {
case
1
:
str
+=
'B,'
;
break
case
2
:
str
+=
'C,'
;
break
case
3
:
str
+=
'D,'
;
break
case
4
:
str
+=
'E,'
;
break
case
5
:
str
+=
'F,'
;
break
}
}
})
...
...
@@ -200,6 +202,8 @@ export default {
case
1
:
str
+=
'B,'
;
break
case
2
:
str
+=
'C,'
;
break
case
3
:
str
+=
'D,'
;
break
case
4
:
str
+=
'E,'
;
break
case
5
:
str
+=
'F,'
;
break
}
}
})
...
...
client/project/elearning-node/pages/myLearn/courseDetail.vue
浏览文件 @
2173f62e
...
...
@@ -395,7 +395,7 @@ export default {
!this.ckeditor && (this.ckeditor = CKEDITOR.replace('
editor
', {
height: 300,
uiColor: '
#
eeeeee
',
filebrowserImageUploadUrl: '
/
api
/
editor
/
upload
',
filebrowserImageUploadUrl: '
/
api
/
ckeditor
/
img
/
upload
',
// resize_enabled: typeof this.props.resizable === '
boolean
' ? this.props.resizable : true,
toolbar: [
// { name: '
document
', items: [ '
Source
', '
-
', '
Save
', '
NewPage
', '
Preview
' ] },
...
...
server/elearning-node/routes/index.js
浏览文件 @
2173f62e
...
...
@@ -228,8 +228,31 @@ const _rmdir = (dir, callback) => {
callback
()
}
const
ckeditorUpload
=
(
req
,
res
)
=>
{
/* 文件上传 */
function
sendHtml
(
url
,
msg
)
{
// req.query.CKEditorFuncNum 我这里用 ckeditor 没有传 这个值 直接默认
res
.
send
(
`<script>window.parent.CKEDITOR.tools.callFunction(
${
0
}
, "
${
url
||
''
}
", "
${
msg
||
''
}
");</script>`
)
}
if
(
req
.
files
.
length
)
{
if
(
!
req
.
files
[
0
].
mimetype
.
startsWith
(
'image'
))
{
sendHtml
(
''
,
'文件类型错误,请上传图片'
);
return
}
if
(
req
.
files
[
0
].
size
>
10
*
1024
*
1024
)
{
sendHtml
(
''
,
'图片大小超限'
);
return
}
req
.
files
.
forEach
((
elem
,
i
)
=>
{
/* 缓存文件中 名称替换,上传名称一致 会被覆盖 */
fs
.
renameSync
(
elem
.
path
,
elem
.
destination
+
elem
.
originalname
)
// response.successArr.push({
// fileParam: elem.fieldname,
// fileName: elem.originalname
// })
})
res
.
status
(
200
)
res
.
end
(
'1'
)
}
}
/* 统一API接口 */
router
.
post
(
'/api/api-abc/dir/operate'
,
upload
.
any
(),
postDirOperate
)
router
.
post
(
'/api/ckeditor/img/upload'
,
upload
.
any
(),
ckeditorUpload
)
router
.
post
(
'/api/api-abc/dir/operate'
,
postDirOperate
)
router
.
use
(
'/api/*'
,
upload
.
any
(),
agentProcessor
(
'api'
))
module
.
exports
=
router
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论