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
-
- - 研究院概况
- - 研究院概况
- - 研究院概况
- - 研究院概况
+
+
{{ item.columnName }}
+
+ - {{ column.columnName }}
@@ -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 @@
-
- -
- {{ item.columnName }}
-
-
+
+
+
\ 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 @@
-
+
diff --git a/src/pages/article/editor.css b/src/pages/article/editor.css
new file mode 100644
index 0000000..9c8759c
--- /dev/null
+++ b/src/pages/article/editor.css
@@ -0,0 +1,61 @@
+.mce-content-body:not([dir=rtl]) blockquote {
+ padding: 8px 15px;
+ border-left: 0;
+ background-color: #ededed;
+}
+.tiny-wrap {
+ width: 900px;
+ margin: 0 auto;
+}
+.tiny-wrap blockquote p {
+ margin: 0;
+ font-style: italic;
+}
+.tiny-wrap .block {
+ margin-bottom: 20px;
+ overflow: hidden;
+}
+.tiny-wrap .block .fl {
+ float: left;
+ margin: 0 20px 0 0;
+}
+.tiny-wrap .block .fr {
+ float: right;
+ margin: 0 0 0 20px;
+}
+.tiny-wrap .block p {
+ margin: 0 0 10px;
+ font-size: 19px;
+ font-family: PingFangSC-Regular, PingFang SC;
+ font-weight: 400;
+ color: #101010;
+ line-height: 32px;
+}
+.tiny-wrap .block .tiny-title {
+ margin: 10px 0;
+ font-size: 24px;
+ font-family: PingFangSC-Medium, PingFang SC;
+ font-weight: 500;
+ color: #101010;
+ line-height: 32px;
+}
+.tiny-wrap .quote {
+ padding: 15px;
+ font-size: 14px;
+ font-style: italic;
+ border: 1px solid #e3e3e3;
+ background-color: #f1f1f1;
+}
+.tiny-wrap .img-wrap {
+ text-align: center;
+}
+.tiny-wrap .img-wrap img {
+ max-width: 600px;
+ max-height: 600px;
+}
+.tiny-wrap .block .img-des {
+ margin: 10px 0 0;
+ font-size: 14px;
+ color: #8d8d8d;
+ text-align: center;
+}
\ No newline at end of file
diff --git a/src/pages/article/index.vue b/src/pages/article/index.vue
index 6bdd82c..c9ca78a 100644
--- a/src/pages/article/index.vue
+++ b/src/pages/article/index.vue
@@ -20,7 +20,7 @@
-
+
热点内容
@@ -137,6 +137,7 @@ export default {