From 8d8f711be475b0d126e423b90add469cb91a1d7a Mon Sep 17 00:00:00 2001 From: duxianjin <1960116313@qq.com> Date: Thu, 9 Mar 2023 10:38:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=85=B3=E4=BA=8E=E6=88=91=E4=BB=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/header.vue | 3 +- src/views/aboutUs.vue | 127 ++++++++++++++++++++++++++++++++++++++ src/views/home.vue | 55 +++++++++-------- 3 files changed, 158 insertions(+), 27 deletions(-) create mode 100644 src/views/aboutUs.vue diff --git a/src/components/header.vue b/src/components/header.vue index 08a5e28..4216f82 100644 --- a/src/components/header.vue +++ b/src/components/header.vue @@ -152,7 +152,7 @@ export default { name: "大数据核验平台", }, ], - activeIndex: 0, + timer: null, showIndex: 0, }; @@ -161,7 +161,6 @@ export default { methods: { //跳转导航 hanldeNav(index) { - this.activeIndex = index; if (index == 4) { this.$router.push({ path: "/aboutUs", diff --git a/src/views/aboutUs.vue b/src/views/aboutUs.vue new file mode 100644 index 0000000..9672c6d --- /dev/null +++ b/src/views/aboutUs.vue @@ -0,0 +1,127 @@ + + + \ No newline at end of file diff --git a/src/views/home.vue b/src/views/home.vue index c6da4a3..f18cf74 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -125,7 +125,7 @@
@@ -141,7 +141,9 @@
物联数据感知
-
以物联网智能监管终端为核心,通过物联网技术感...
+
+ 以物联网智能监管终端为核心,通过物联网技术监管终端为核心,通过物联网技术监管终端为核心,通过物联网技术感... +
@@ -226,14 +228,14 @@
@@ -242,9 +244,8 @@
@@ -272,11 +273,14 @@
- +
-
+
div:nth-child(1) { font-size: 18px; font-family: PingFang SC; @@ -691,6 +698,7 @@ export default { font-weight: 600; color: #6a7890; line-height: 32px; + width: 90%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; @@ -891,29 +899,27 @@ export default { .jo-right { width: 48%; - height: 100%; display: flex; flex-direction: column; - align-items: center; - + justify-content: space-between; .jo-content { width: 100%; - height: 120px; display: flex; - flex: 1; align-items: center; - margin-bottom: 18px; + .jo-img { width: 30%; - height: 120px; + display: flex; + align-items: center; } .jo-detail { width: 70%; - height: 120px; + padding: 10px 15px; background: #fff; - padding: 20px 30px; + height: 94px; .jo-title { font-size: 14px; + font-family: PingFang SC; font-weight: 500; color: #333333; @@ -927,7 +933,6 @@ export default { font-family: PingFang SC; font-weight: 400; color: #333333; - line-height: 26px; padding-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; @@ -960,8 +965,8 @@ export default { align-items: end; .par-company { - width: 240px; - height: 80px; + width: 200px; + height: 60px; border: 1px solid #d7dbf0; background: #ffffff;