diff --git a/src/App.vue b/src/App.vue index 4b039f6..bf89486 100644 --- a/src/App.vue +++ b/src/App.vue @@ -29,8 +29,6 @@ html, body, #app{ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; - /*font-family: Helvetica, Arial, sans-serif;*/ - color: #000000; } diff --git a/src/components/404.vue b/src/components/404.vue index 20d1734..81b4467 100644 --- a/src/components/404.vue +++ b/src/components/404.vue @@ -21,10 +21,9 @@ diff --git a/src/pages/Admin/CompEdit.vue b/src/pages/Admin/CompEdit.vue index 992f25c..8213bba 100644 --- a/src/pages/Admin/CompEdit.vue +++ b/src/pages/Admin/CompEdit.vue @@ -67,11 +67,11 @@ :on-success="uploadSuccess" multiple> 点击上传 - - + + - + @@ -90,9 +90,6 @@
- - - @@ -109,7 +106,6 @@
- @@ -123,8 +119,6 @@
- - @@ -150,6 +144,7 @@ 保存 +
@@ -190,9 +185,11 @@ + + + + 保存 +
+

联系我们信息

@@ -249,9 +250,6 @@ - - - @@ -259,24 +257,26 @@ 保存 +
+ - - - - \ No newline at end of file + \ No newline at end of file + + + \ No newline at end of file + + + - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/src/pages/Home/Home.vue b/src/pages/Home/Home.vue index c5e8653..9e17429 100644 --- a/src/pages/Home/Home.vue +++ b/src/pages/Home/Home.vue @@ -29,7 +29,7 @@ // import 'mavon-editor/dist/css/index.css' import Video from "@/components/Video"; import pageUtils from "@/utils/pageUtils"; -import {Message} from "element-ui"; +import { Message } from "element-ui"; export default { name: "Home", @@ -45,8 +45,8 @@ export default { videoSrc: "", videoWidth: "100%", contentLoading: true, - content: '', - contentMd:'' + content: "", + contentMd: "" } }, @@ -55,13 +55,13 @@ export default { goToEdit(){ pageUtils.openPage(this.$router,"/" + this.$route.params.compId + "/homeEdit"); }, + checkComp(){ pageUtils.checkComp( this.$router,this.$route.params.compId,this.$api ); this.$api.getPageData(this.$route.params.compId,'home').then((res) => { console.log(res); //先判断 该页面是否展示 if (res.data.show) { - this.content = res.data.content; this.contentMd = res.data.contentMd; this.videoSrc = res.data.video; @@ -69,7 +69,7 @@ export default { }else { Message.warning("该页面不存在"); this.$router.push({ - path: '/404' + path: '/404', }); } @@ -79,7 +79,7 @@ export default { }, mounted() { - this.checkComp() + this.checkComp(); } } @@ -87,11 +87,9 @@ export default {