提交 aa55dfd3 authored 作者: zyx's avatar zyx

update

上级 1096231a
......@@ -26,7 +26,7 @@
<div class="switch-box">
<el-button type="info" size="medium" @click="studyEarlyUpdate" plain>{{ $t('pages.learn.course.lastLearn') }}<i :class="['el-icon-caret-' + (filter.studyEarly == 'down' ? 'bottom' : 'top'), 'icon']"></i></el-button>
<el-button type="info" size="medium" @click="selectTimeUpdate" plain>{{ $t('pages.learn.course.updateTime') }}<i :class="['el-icon-caret-' + (filter.selectTime == 'down' ? 'bottom' : 'top'), 'icon']"></i></el-button>
<el-button class="rbtn" type="primary" size="medium" icon="el-icon-self-cc-book icon" @click="goCourseAll">{{ $t('pages.learn.course.changeCourse') }}</el-button>
<!-- <el-button class="rbtn" type="primary" size="medium" icon="el-icon-self-cc-book icon" @click="goCourseAll">{{ $t('pages.learn.course.changeCourse') }}</el-button> -->
</div>
<div class="con-box">
......
......@@ -379,7 +379,7 @@ export default {
this.tabs[3].assess = json1
loading.close()
}).catch(e => { this.$message.error(e.message) }).finally(() => { })
cAction.discussAction.getCourseDiscussList(this.cid, this.sid, this.param).then(json2 => {
cAction.Discuss.getCourseDiscussList(this.cid, this.sid, this.param).then(json2 => {
this.discussList = json2
}).catch(e => { this.$message.error(e.message) }).finally(() => { })
}).catch(e => { this.$message.error(e.message); loading.close() }).finally(() => { })
......@@ -599,7 +599,7 @@ export default {
/* 字母 f */
if (e.keyCode === 70) {
/* 直接 调用接口 完成 本课程学习 */
cAction.chapterAction.updateProgress({
cAction.Player.updateProgress({
d: cTool.other.getIdt(),
i: cTool.other.getIdt(),
c: _cid,
......@@ -665,13 +665,13 @@ export default {
} else {
this.publish.contents = this.ckeditor.getData()
const loading = this.$loading({ lock: true, text: '', spinner: '', background: 'rgba(255, 255, 255, 0.9)' })
cAction.discussAction.publishQues(this.publish).then(json => {
cAction.Discuss.publishQues(this.publish).then(json => {
this.$message({
type: 'success',
message: '问题发布成功'
})
this.isPublicShow = false
cAction.discussAction.getCourseDiscussList(this.cid, this.sid, this.param).then(json2 => {
cAction.Discuss.getCourseDiscussList(this.cid, this.sid, this.param).then(json2 => {
this.discussList = json2
}).catch(e => { this.$message.error(e.message) }).finally(() => { })
}).catch(e => { this.$message.error(e.message) }).finally(() => { loading.close() })
......@@ -701,7 +701,7 @@ export default {
this.param.offset = 0
const loading = this.$loading({ lock: true, text: '', spinner: '', background: 'rgba(255, 255, 255, 0.9)' })
cAction.discussAction.getCourseDiscussList(this.cid, this.sid, this.param).then(json => {
cAction.Discuss.getCourseDiscussList(this.cid, this.sid, this.param).then(json => {
this.discussList = json
}).catch(e => { this.$message.error(e.message) }).finally(() => { loading.close() })
}
......
......@@ -21,7 +21,6 @@ html, body {
sans-serif;
}
/* 公共标题 - 样式 /app/learn */
.con-title {
padding: 0 30px;
......@@ -38,6 +37,28 @@ html, body {
position: relative;
}
/* 进度条 原始背景色 加深 */
.el-progress-bar__outer { background-color: #e5e5e5 !important; }
.el-progress-bar__innerText { color: #313131; }
.el-progress-bar { margin-right: -65px; padding-right: 65px; }
.el-progress__text { margin-left: 6px; }
/* 学分 页面 - 进度条样式 */
.el-progress-bar__outer { border-radius: 0; }
.el-progress-bar__inner { border-radius: 0; }
/* 富文本 */
.course-assess .detail .b1 { display: block; max-width: 5rem; margin: 0.2rem auto; width: 100%; height: auto; }
.course-assess .detail .h1 { font-size: 0.16rem; font-weight: 700; color: #313131; line-height: 0.38rem; }
.course-assess .detail .h2 { font-size: 0.14rem; font-weight: 700; color: #313131; line-height: 0.3rem; }
.course-assess .detail .p { font-size: 0.14rem; color: #313131; line-height: 1.5; text-align: justify; }
.course-assess .detail .em { font-size: 0.12rem; color: #b49441; line-height: 1.5; text-align: justify; }
/* 富文本 */
.discuss-scroll .item-list .text p { margin: 0; padding: 0; }
/* 富文本 */
.discuss-detail-scroll .ques .text p { margin: 0; padding: 0; }
.discuss-detail-scroll .ask .text p { margin: 0; padding: 0; }
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
html { font-size: 80px; }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论