From f4fbb304d3ea1cb01f6294b7aa859758bce7c3f2 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 10 Nov 2022 14:13:55 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/menuTree/index.vue | 35 ++++++++++++++++ src/layouts/footer/index.vue | 58 +++++++++++++------------- src/layouts/header/index.vue | 9 ++-- src/layouts/home/index.vue | 4 +- src/layouts/navbar/index.vue | 69 ++++++++++++++++++------------- src/pages/about/index.vue | 2 +- src/pages/article/editor.css | 61 +++++++++++++++++++++++++++ src/pages/article/index.vue | 3 +- src/pages/careers/index.vue | 2 +- src/pages/edu/index.vue | 8 ++-- src/pages/home/index.vue | 2 +- src/pages/news/index.vue | 29 +++++++------ src/pages/newsPress/index.vue | 2 +- 13 files changed, 197 insertions(+), 87 deletions(-) create mode 100644 src/components/menuTree/index.vue create mode 100644 src/pages/article/editor.css diff --git a/src/components/menuTree/index.vue b/src/components/menuTree/index.vue new file mode 100644 index 0000000..b897c8d --- /dev/null +++ b/src/components/menuTree/index.vue @@ -0,0 +1,35 @@ + + + + diff --git a/src/layouts/footer/index.vue b/src/layouts/footer/index.vue index c29a016..1a07d51 100644 --- a/src/layouts/footer/index.vue +++ b/src/layouts/footer/index.vue @@ -8,31 +8,10 @@

Institute of Advanced Science Facilities, ShenzhenIASF

Tel:400-0010-998

-
-
关于IASF
- -
-
-
关于IASF
- -
-
-
关于IASF
-
@@ -41,18 +20,36 @@ @@ -67,7 +64,6 @@ export default { } .info { display: flex; - // justify-content: center; margin-bottom: 100px; } .meta { @@ -75,10 +71,11 @@ export default { font-size: 14px; } .column { - margin: 0 50px; + margin: 0 20px; h6 { margin-bottom: 20px; font-size: 16px; + white-space: nowrap; } } .children { @@ -86,6 +83,7 @@ export default { margin: 12px 0; font-size: 14px; color: #6D7384; + white-space: nowrap; cursor: pointer; } } diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index e037f3a..40d2bcc 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -3,8 +3,9 @@ @@ -22,7 +23,7 @@ import navbar from '../navbar' export default { data() { return { - isChannel: this.$route.path === '/channel' + isChannel: this.$route.path === '/home' }; }, components: { @@ -30,7 +31,7 @@ export default { }, watch: { '$route'() { - this.isChannel = this.$route.path === '/channel' + this.isChannel = this.$route.path === '/home' } }, mounted() { diff --git a/src/layouts/home/index.vue b/src/layouts/home/index.vue index d2ba603..0b24cbb 100644 --- a/src/layouts/home/index.vue +++ b/src/layouts/home/index.vue @@ -19,7 +19,7 @@ import vFooter from "../footer"; export default { data() { return { - isChannel: this.$route.path === '/channel' + isChannel: this.$route.path === '/home' }; }, components: { @@ -28,7 +28,7 @@ export default { }, watch: { '$route'() { - this.isChannel = this.$route.path === '/channel' + this.isChannel = this.$route.path === '/home' } }, mounted() { diff --git a/src/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index 22c1962..1e6b3ab 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -1,29 +1,37 @@ \ No newline at end of file diff --git a/src/pages/about/index.vue b/src/pages/about/index.vue index 3821847..a4155b7 100644 --- a/src/pages/about/index.vue +++ b/src/pages/about/index.vue @@ -1,6 +1,6 @@