提交 131e4417 authored 作者: 王鹏飞's avatar 王鹏飞

国际化

上级 ed6a0c4e
...@@ -4,7 +4,7 @@ module.exports = { ...@@ -4,7 +4,7 @@ module.exports = {
apiBaseURL: '/', apiBaseURL: '/',
others: { others: {
url: '/app/learn/course', url: '/app/learn/course',
loginUrl: 'https://login2.ezijing.com/sofia/login/index' loginUrl: 'https://login2.ezijing.com/seg/login/index'
}, },
webpack: { webpack: {
externals: { externals: {
......
...@@ -4,7 +4,7 @@ module.exports = { ...@@ -4,7 +4,7 @@ module.exports = {
apiBaseURL: '/', apiBaseURL: '/',
others: { others: {
url: '/app/learn/course', url: '/app/learn/course',
loginUrl: 'https://login.ezijing.com/sofia/login/index' loginUrl: 'https://login.ezijing.com/seg/login/index'
}, },
webpack: { webpack: {
externals: { externals: {
......
...@@ -4,7 +4,7 @@ module.exports = { ...@@ -4,7 +4,7 @@ module.exports = {
apiBaseURL: '/', apiBaseURL: '/',
others: { others: {
url: '/app/learn/course', url: '/app/learn/course',
loginUrl: 'https://login2.ezijing.com/sofia/login/index' loginUrl: 'https://login2.ezijing.com/seg/login/index'
}, },
isUploadStatic: false, isUploadStatic: false,
webpack: { webpack: {
......
export default { export default {
title: '紫荆教育MBA学习系统', title: '紫荆教育MBA学习系统',
tenant: 'sofia' tenant: 'seg'
} }
...@@ -201,42 +201,42 @@ export default class CourseAction extends BaseACTION { ...@@ -201,42 +201,42 @@ export default class CourseAction extends BaseACTION {
cid: cid, cid: cid,
type: 100 type: 100
}) })
json.tabs1ChapterList.course.push({ // json.tabs1ChapterList.course.push({
title: _vIn.$t('action.courseAction.teachingEvaluation'), // title: _vIn.$t('action.courseAction.teachingEvaluation'),
isUp: true, // isUp: true,
chapters: [], // chapters: [],
id: 'teach_evaluation', // id: 'teach_evaluation',
sid: sid, // sid: sid,
cid: cid, // cid: cid,
type: 102 // type: 102
}) // })
if (cur.course_examination) { // if (cur.course_examination) {
let courseExamChildren = [] // let courseExamChildren = []
if (data.exist_examination && data.exist_examination.length > 1) { // if (data.exist_examination && data.exist_examination.length > 1) {
courseExamChildren = data.exist_examination.map((item, index) => { // courseExamChildren = data.exist_examination.map((item, index) => {
const map = ['一', '二', '三'] // const map = ['一', '二', '三']
return { // return {
name: `第${map[index]}次考试`, // name: `第${map[index]}次考试`,
id: 'course_exam', // id: 'course_exam',
offset: index, // offset: index,
sid: sid, // sid: sid,
cid: cid, // cid: cid,
examId: cur.course_examination, // examId: cur.course_examination,
type: 101 // type: 101
} // }
}) // })
} // }
json.tabs1ChapterList.course.push({ // json.tabs1ChapterList.course.push({
title: _vIn.$t('action.courseAction.courseExam'), // title: _vIn.$t('action.courseAction.courseExam'),
isUp: true, // isUp: true,
chapters: courseExamChildren, // chapters: courseExamChildren,
id: 'course_exam', // id: 'course_exam',
sid: sid, // sid: sid,
cid: cid, // cid: cid,
examId: cur.course_examination, // examId: cur.course_examination,
type: 101 // type: 101
}) // })
} // }
/* 课程考核 考核标准文案读取 */ /* 课程考核 考核标准文案读取 */
json.tabs3richTest = cur.course_evaluation json.tabs3richTest = cur.course_evaluation
// callback(json) // 可以不使用callback 因为使用then // callback(json) // 可以不使用callback 因为使用then
......
src/assets/images/logo-header.png

3.9 KB | W: | H:

src/assets/images/logo-header.png

20.0 KB | W: | H:

src/assets/images/logo-header.png
src/assets/images/logo-header.png
src/assets/images/logo-header.png
src/assets/images/logo-header.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
height: 400, height: 400,
uiColor: '#eeeeee', uiColor: '#eeeeee',
filebrowserImageUploadUrl: '/api/ck/form/ckeditor-upload', filebrowserImageUploadUrl: '/api/ck/form/ckeditor-upload',
fileTools_requestHeaders: { tenant: 'sofia' }, fileTools_requestHeaders: { tenant: 'seg' },
// resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true, // resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true,
toolbar: [ toolbar: [
// { name: 'document', items: ['Source', '-', 'Save', 'NewPage', 'Preview'] }, // { name: 'document', items: ['Source', '-', 'Save', 'NewPage', 'Preview'] },
......
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
color: #fff; color: #b80037;
.nav-left { .nav-left {
float: left; float: left;
position: relative; position: relative;
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
position: absolute; position: absolute;
left: 0; left: 0;
top: 50%; top: 50%;
height: 37%; height: 80%;
width: auto; width: auto;
transform: translateY(-50%); transform: translateY(-50%);
} }
......
...@@ -86,11 +86,11 @@ export default { ...@@ -86,11 +86,11 @@ export default {
{ name: this.$t('components.learnSysLayout.sideBar.header2Child1'), index: '2-1' } { name: this.$t('components.learnSysLayout.sideBar.header2Child1'), index: '2-1' }
] ]
}, },
{ // {
name: this.$t('components.learnSysLayout.sideBar.header3'), // name: this.$t('components.learnSysLayout.sideBar.header3'),
iconClass: 'el-icon-office-building', // iconClass: 'el-icon-office-building',
index: '4' // index: '4'
}, // },
{ {
name: this.$t('components.learnSysLayout.sideBar.header4'), name: this.$t('components.learnSysLayout.sideBar.header4'),
iconClass: 'el-icon-self-fankuiyijian', iconClass: 'el-icon-self-fankuiyijian',
......
...@@ -72,7 +72,7 @@ export default { ...@@ -72,7 +72,7 @@ export default {
return return
} }
// 课程大作业 // 课程大作业
if (data.id === 'course_work' && !this.data.survey) { if (data.id === 'course_work') {
this.$message(this.$t('viewerMain.teachingEvaluationTips')) this.$message(this.$t('viewerMain.teachingEvaluationTips'))
return return
} }
......
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
height: 400, height: 400,
uiColor: '#eeeeee', uiColor: '#eeeeee',
filebrowserImageUploadUrl: '/api/ck/form/ckeditor-upload', filebrowserImageUploadUrl: '/api/ck/form/ckeditor-upload',
fileTools_requestHeaders: { tenant: 'sofia' }, fileTools_requestHeaders: { tenant: 'seg' },
// resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true, // resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true,
toolbar: [ toolbar: [
// { name: 'document', items: ['Source', '-', 'Save', 'NewPage', 'Preview'] }, // { name: 'document', items: ['Source', '-', 'Save', 'NewPage', 'Preview'] },
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<div class="player-column" v-show="videoVisible"> <div class="player-column" v-show="videoVisible">
<!-- 视频 --> <!-- 视频 -->
<video-player <video-player
:disabled="true"
:isSkip="isSkip" :isSkip="isSkip"
:skipTime="skipTime" :skipTime="skipTime"
:video="chatperResources.video" :video="chatperResources.video"
......
...@@ -111,18 +111,18 @@ export default { ...@@ -111,18 +111,18 @@ export default {
name: this.$t('viewerMain.workData'), name: this.$t('viewerMain.workData'),
children: [ children: [
{ name: this.$t('viewerMain.courseWork'), id: 'course_work', type: 99 }, { name: this.$t('viewerMain.courseWork'), id: 'course_work', type: 99 },
{ name: this.$t('viewerMain.courseData'), id: 'course_info', type: 100 }, { name: this.$t('viewerMain.courseData'), id: 'course_info', type: 100 }
{ name: this.$t('viewerMain.teachingEvaluation'), id: 'teach_evaluation', type: 102 } // { name: this.$t('viewerMain.teachingEvaluation'), id: 'teach_evaluation', type: 102 }
] ]
} }
// 课程考试 // 课程考试
if (this.detail.course_examination) { // if (this.detail.course_examination) {
customeChapter.children.push({ // customeChapter.children.push({
name: this.$t('viewerMain.courseExam'), // name: this.$t('viewerMain.courseExam'),
id: 'course_exam', // id: 'course_exam',
type: 101 // type: 101
}) // })
} // }
chapters.push(customeChapter) chapters.push(customeChapter)
return chapters return chapters
}, },
...@@ -180,7 +180,7 @@ export default { ...@@ -180,7 +180,7 @@ export default {
}, },
beforeMount() { beforeMount() {
this.getCourse() this.getCourse()
// this.autoGetChapterList() this.autoGetChapterList()
}, },
beforeDestroy() { beforeDestroy() {
this.timer && clearInterval(this.timer) this.timer && clearInterval(this.timer)
......
...@@ -146,7 +146,7 @@ export default { ...@@ -146,7 +146,7 @@ export default {
height: 300, height: 300,
uiColor: '#eeeeee', uiColor: '#eeeeee',
filebrowserImageUploadUrl: '/api/ck/form/ckeditor-upload', filebrowserImageUploadUrl: '/api/ck/form/ckeditor-upload',
fileTools_requestHeaders: { tenant: 'sofia' }, fileTools_requestHeaders: { tenant: 'seg' },
// resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true, // resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true,
toolbar: [ toolbar: [
// { name: 'document', items: ['Source', '-', 'Save', 'NewPage', 'Preview'] }, // { name: 'document', items: ['Source', '-', 'Save', 'NewPage', 'Preview'] },
......
...@@ -574,7 +574,7 @@ export default { ...@@ -574,7 +574,7 @@ export default {
uiColor: '#eeeeee', uiColor: '#eeeeee',
filebrowserImageUploadUrl: '/api/ck/form/ckeditor-upload', filebrowserImageUploadUrl: '/api/ck/form/ckeditor-upload',
fileTools_requestHeaders: { fileTools_requestHeaders: {
tenant: 'sofia' tenant: 'seg'
}, },
// resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true, // resize_enabled: typeof this.props.resizable === 'boolean' ? this.props.resizable : true,
toolbar: [ toolbar: [
...@@ -660,7 +660,7 @@ export default { ...@@ -660,7 +660,7 @@ export default {
window.localStorage.setItem('headerInfo', JSON.stringify(this.headerInfo)) window.localStorage.setItem('headerInfo', JSON.stringify(this.headerInfo))
const { sid, cid } = data const { sid, cid } = data
// 课程大作业 // 课程大作业
if (data.id === 'course_work' && !this.headerInfo.survey) { if (data.id === 'course_work') {
this.$message('请先填写教学评估,然后完成大作业。') this.$message('请先填写教学评估,然后完成大作业。')
return return
} }
......
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.el-header { .el-header {
z-index: 1; z-index: 1;
background: #252625; background: #fff;
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
} }
.el-main { .el-main {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论