|
@@ -1,6 +1,5 @@
|
|
|
<template>
|
|
|
<div class="specialdetail">
|
|
|
-
|
|
|
<div class="sd-container">
|
|
|
<h2>{{ dataInfo.title }}</h2>
|
|
|
<div class="msgWrap quill-editor ql-editor" v-html="dataInfo.content"></div>
|
|
@@ -32,6 +31,7 @@ export default {
|
|
|
localStorage.removeItem('Authorization')
|
|
|
localStorage.removeItem('userInfo')
|
|
|
}
|
|
|
+ document.title = '公告详情';
|
|
|
this.__init();
|
|
|
|
|
|
// 图片预览
|
|
@@ -69,16 +69,6 @@ export default {
|
|
|
this.$toast.clear();
|
|
|
if (result.code == 200 && result.data) {
|
|
|
this.dataInfo = result.data;
|
|
|
- let tempTitle = {
|
|
|
- 1: "精彩活动详情",
|
|
|
- 2: "热门资讯详情",
|
|
|
- 3: "活动列表详情",
|
|
|
- 4: "专项训练详情",
|
|
|
- 7: "知识库详情",
|
|
|
- 9: "系统通知"
|
|
|
- };
|
|
|
- document.title = tempTitle[result.data.type];
|
|
|
-
|
|
|
let metaList = document.querySelectorAll("meta");
|
|
|
metaList.forEach(item => {
|
|
|
if (item.name == "description") {
|