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 @@