diff --git a/src/App.vue b/src/App.vue index a56ad02..4b039f6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,36 +1,37 @@ - - - - - - - + + + + + + diff --git a/src/assets/css/Header.css b/src/assets/css/Header.css index 66f7395..bc130ab 100644 --- a/src/assets/css/Header.css +++ b/src/assets/css/Header.css @@ -31,7 +31,6 @@ img { } .el-menu-item { - margin: 10px 0; font-size: 1.1rem; } ::v-deep .el-submenu__title { diff --git a/src/assets/font/font.css b/src/assets/font/font.css new file mode 100644 index 0000000..7fdc197 --- /dev/null +++ b/src/assets/font/font.css @@ -0,0 +1,18 @@ +@font-face { + font-family: "fs-gb2312"; + src: url("./fs-gb2312.ttf"); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: "kaiti"; + src: url("./simkai.ttf"); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: "heiti"; + src: url("./simhei.ttf"); + font-weight: normal; + font-style: normal; +} diff --git a/src/assets/font/fs-gb2312.ttf b/src/assets/font/fs-gb2312.ttf new file mode 100644 index 0000000..16eb427 Binary files /dev/null and b/src/assets/font/fs-gb2312.ttf differ diff --git a/src/assets/font/simfang.ttf b/src/assets/font/simfang.ttf new file mode 100644 index 0000000..68334e2 Binary files /dev/null and b/src/assets/font/simfang.ttf differ diff --git a/src/assets/font/simhei.ttf b/src/assets/font/simhei.ttf new file mode 100644 index 0000000..5bd4687 Binary files /dev/null and b/src/assets/font/simhei.ttf differ diff --git a/src/assets/font/simkai.ttf b/src/assets/font/simkai.ttf new file mode 100644 index 0000000..d7c3b90 Binary files /dev/null and b/src/assets/font/simkai.ttf differ diff --git a/src/assets/font/simsun.ttc b/src/assets/font/simsun.ttc new file mode 100644 index 0000000..5f22ce3 Binary files /dev/null and b/src/assets/font/simsun.ttc differ diff --git a/src/components/AdminHeader.vue b/src/components/AdminHeader.vue index 4ca4940..c1e9f74 100644 --- a/src/components/AdminHeader.vue +++ b/src/components/AdminHeader.vue @@ -82,6 +82,7 @@ export default { \ No newline at end of file diff --git a/src/pages/Chat/ChatEdit.vue b/src/pages/Chat/ChatEdit.vue index 0613810..2f13492 100644 --- a/src/pages/Chat/ChatEdit.vue +++ b/src/pages/Chat/ChatEdit.vue @@ -8,13 +8,17 @@
提交 - 取消 + 取消
+ \ No newline at end of file diff --git a/src/utils/http/interface.js b/src/utils/http/interface.js index 92d3bc9..2f20bfa 100644 --- a/src/utils/http/interface.js +++ b/src/utils/http/interface.js @@ -54,6 +54,18 @@ export const register = data => { data }) }; + + +export const chatContentUpdate = data => { + return axios({ + headers:{ + "Authorization": localStorage.getItem("systemToken") + }, + url: '/chat/updateContentByCompId', + method: 'post', + data + }) +}; // 默认全部倒出 // 根据需要进行 export default { @@ -62,5 +74,6 @@ export default { getComp, getPageData, login, - register + register, + chatContentUpdate } \ No newline at end of file