提交 d30e3be8 authored 作者: lihuihui's avatar lihuihui

页面优化

上级 5f6c5df4
......@@ -58,7 +58,7 @@
"learn": {
"course": {
"title": "我的课程",
"goCourseAllStr": "请去选课广场选课",
"goCourseAllStr": "暂无符合条件的课程",
"noFitCourseStr": "暂无符合条件的课程",
"noCourseStr": "暂无相关课程",
"semeter": "学期",
......
......@@ -68,6 +68,7 @@ export default {
},
popHide () {
this.dialogVisible = false
this.$router.go(0)
},
goExam () {
const loading = this.$loading({ lock: true, text: '', spinner: '', background: 'rgba(255, 255, 255, 0.9)' })
......@@ -80,6 +81,8 @@ export default {
loading.close()
if (res.msg === 'success') {
window.open(res.url)
this.dialogVisible = false
this.$router.go(0)
}
})
}
......
......@@ -124,7 +124,7 @@ export default {
// cAction.Course.getLearnFind().then(data => {
// this.find[0].arrItem = data
// }).catch(e => { this.$message.error(e.message) }).finally(() => { loading.close() })
this.getAjaxList(true, this.$t('pages.learn.course.goCourseAllStr'))
this.getAjaxList(true, this.$t('pages.learn.course.noFitCourseStr'))
},
destroyed () {
if (this.timeInterval) {
......@@ -179,7 +179,7 @@ export default {
this.param.order_type = '-learn_time'
}
this.getAjaxList(true, this.$t('pages.learn.course.goCourseAllStr'))
this.getAjaxList(true, this.$t('pages.learn.course.noFitCourseStr'))
},
/**
* 筛选 - 选修时间顺序
......@@ -193,7 +193,7 @@ export default {
this.param.order_type = '-join_time'
}
this.getAjaxList(true, this.$t('pages.learn.course.goCourseAllStr'))
this.getAjaxList(true, this.$t('pages.learn.course.noFitCourseStr'))
},
/* 直接进直播 */
goLive () {
......
......@@ -4,7 +4,7 @@
<div class="con-box">
<el-collapse v-model="activeNames" @change="handleChange">
<template v-for="(item, index) in msgList">
<el-collapse-item v-bind:key="index" title="系统通知" :name="index">
<el-collapse-item v-bind:key="index" title="系统公告" :name="index">
<div v-html="item.text"></div>
</el-collapse-item>
</template>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论