|
@@ -2,7 +2,7 @@
|
|
|
<!-- 顶部登录导航 -->
|
|
|
<div class="LoginNav">
|
|
|
<div class="logo">
|
|
|
- <template v-if="configInfor">
|
|
|
+ <!-- <template v-if="configInfor">
|
|
|
<img
|
|
|
:src="configInfor.logo_image_url"
|
|
|
alt="logo"
|
|
@@ -12,7 +12,7 @@
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<span class="logo-img"> logo </span>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<ul class="logo-projectlist">
|
|
|
<li
|
|
|
v-for="(itemI, indexI) in projectList"
|
|
@@ -92,7 +92,7 @@ import { getConfigInfor } from "@/utils/index";
|
|
|
import {
|
|
|
getLearnWebContent,
|
|
|
getStaticContent,
|
|
|
- getContentFile,
|
|
|
+ getContentFile
|
|
|
} from "@/api/ajax";
|
|
|
//import { setI18nLang } from "@/utils/i18n";
|
|
|
import { removeSession } from "@/utils/role";
|
|
@@ -111,50 +111,50 @@ export default {
|
|
|
{
|
|
|
id: 0,
|
|
|
name: "教学中心",
|
|
|
- img: "project1",
|
|
|
+ img: "project1"
|
|
|
},
|
|
|
{
|
|
|
id: 2,
|
|
|
name: "教培中心",
|
|
|
- img: "project3",
|
|
|
+ img: "project3"
|
|
|
},
|
|
|
{
|
|
|
id: 3,
|
|
|
name: "教研中心",
|
|
|
- img: "project4",
|
|
|
+ img: "project4"
|
|
|
},
|
|
|
{
|
|
|
id: 4,
|
|
|
name: "考试中心",
|
|
|
- img: "project5",
|
|
|
+ img: "project5"
|
|
|
},
|
|
|
{
|
|
|
id: 5,
|
|
|
name: "学习中心",
|
|
|
- img: "project6",
|
|
|
+ img: "project6"
|
|
|
},
|
|
|
{
|
|
|
id: 6,
|
|
|
name: "个人中心",
|
|
|
- img: "project7",
|
|
|
- },
|
|
|
+ img: "project7"
|
|
|
+ }
|
|
|
],
|
|
|
stuProList: [
|
|
|
{
|
|
|
id: 0,
|
|
|
name: "教学中心",
|
|
|
- img: "project1",
|
|
|
+ img: "project1"
|
|
|
},
|
|
|
{
|
|
|
id: 5,
|
|
|
name: "学习中心",
|
|
|
- img: "project6",
|
|
|
+ img: "project6"
|
|
|
},
|
|
|
{
|
|
|
id: 6,
|
|
|
name: "个人中心",
|
|
|
- img: "project7",
|
|
|
- },
|
|
|
+ img: "project7"
|
|
|
+ }
|
|
|
],
|
|
|
userMessage: null,
|
|
|
userShow: false,
|
|
@@ -162,12 +162,12 @@ export default {
|
|
|
lang: "",
|
|
|
is_exist: "false",
|
|
|
headTimer: null,
|
|
|
- routePath: "",
|
|
|
+ routePath: ""
|
|
|
};
|
|
|
},
|
|
|
watch: {},
|
|
|
computed: {
|
|
|
- ...mapGetters(["language_type"]),
|
|
|
+ ...mapGetters(["language_type"])
|
|
|
},
|
|
|
methods: {
|
|
|
// 切换导航
|
|
@@ -210,7 +210,7 @@ export default {
|
|
|
getLangList() {
|
|
|
let MethodName = "language_manager-GetLanguageList";
|
|
|
let data = {};
|
|
|
- getStaticContent(MethodName, data).then((res) => {
|
|
|
+ getStaticContent(MethodName, data).then(res => {
|
|
|
this.language_list = res.language_list;
|
|
|
for (let i = 0; i < this.language_list.length; i++) {
|
|
|
let item = this.language_list[i];
|
|
@@ -232,7 +232,7 @@ export default {
|
|
|
let _this = this;
|
|
|
let MethodName = "login_control-GetChildSysList_CanEnter_PC";
|
|
|
getContentFile(MethodName, {})
|
|
|
- .then((res) => {
|
|
|
+ .then(res => {
|
|
|
if (res.child_sys_list && res.child_sys_list.length > 0) {
|
|
|
_this.projectList = res.child_sys_list;
|
|
|
_this.projectList.forEach((item, index) => {
|
|
@@ -242,7 +242,7 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
})
|
|
|
- .catch((err) => {
|
|
|
+ .catch(err => {
|
|
|
console.log(err);
|
|
|
});
|
|
|
},
|
|
@@ -250,13 +250,13 @@ export default {
|
|
|
getNotReadMessage() {
|
|
|
let MethodName = "message-message_manager-IsExistMyMessage_NotRead";
|
|
|
let data = {};
|
|
|
- getLearnWebContent(MethodName, data).then((res) => {
|
|
|
+ getLearnWebContent(MethodName, data).then(res => {
|
|
|
this.is_exist = res.is_exist;
|
|
|
});
|
|
|
},
|
|
|
async _getConfig() {
|
|
|
this.configInfor = await getConfigInfor();
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
created() {
|
|
|
let _this = this;
|
|
@@ -293,7 +293,7 @@ export default {
|
|
|
//如果定时器还在运行 或者直接关闭,不用判断
|
|
|
clearInterval(this.headTimer); //关闭
|
|
|
}
|
|
|
- },
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
|
|
@@ -330,7 +330,7 @@ export default {
|
|
|
line-height: 64px;
|
|
|
cursor: pointer;
|
|
|
font-weight: 500;
|
|
|
- white-space:nowrap;
|
|
|
+ white-space: nowrap;
|
|
|
&:hover {
|
|
|
background: #f6f6f6;
|
|
|
}
|
|
@@ -495,4 +495,4 @@ export default {
|
|
|
background: #ff9900;
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|