From 9abc2cbe6dea50ae6591360dd0a7bc6623424045 Mon Sep 17 00:00:00 2001 From: han <151435705@qq.com> Date: Fri, 7 Feb 2025 11:02:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/v-vision.scss | 35 +++++---- src/views/pages/index.vue | 113 ++++++++++++++++++++++------- src/views/pages/news-list.vue | 5 +- src/views/pages/theme/about-us.vue | 2 +- 4 files changed, 113 insertions(+), 42 deletions(-) diff --git a/src/assets/styles/v-vision.scss b/src/assets/styles/v-vision.scss index 9dd82b6..754888d 100644 --- a/src/assets/styles/v-vision.scss +++ b/src/assets/styles/v-vision.scss @@ -22,28 +22,37 @@ img { .cjy-banner { position: relative; + &:before{ + content: ""; + position: absolute; + width: 800px; + height: 250px; + top: 40%; + left: 33%; + transform: translate(-50%, -40%); + background: url("~@/assets/images/title_bg.svg"); + background-size: contain; + background-repeat: no-repeat; + background-position: 0 bottom; + } .cjy-banner-text { position: absolute; width: 1220px; top: 40%; left: 50%; transform: translate(-50%, -40%); - .title { + height: 140px; - padding-left: 60px; + font-weight: bold; font-size: 72px; color: #fff; - background: url("~@/assets/images/title_bg.svg"); - background-size: contain; - background-repeat: no-repeat; - background-position: 0 bottom; + } .subtitle { margin-top: -20px; - padding-left: 60px; font-size: 24px; color: #fff } @@ -113,7 +122,7 @@ img { } .date{ margin-top: 20px; - color: #475467; + color: #999; font-size: 14px;} .more { margin-top: 20px; @@ -499,14 +508,15 @@ img { .cjy-tabs { .el-tabs__nav { - transform: translateX(50%) !important; + display: inline-block; + transform: translateX(-50%) !important; float: none; - margin-left: -285px; + left: 50%; } .el-tabs__nav-wrap::after { background-color: transparent; - border-bottom: 1px dotted #0B59B3; + border-bottom: 1px dotted rgba(#0B59B3,.5); } .el-tabs__item { @@ -893,7 +903,6 @@ img { .ql-editor { box-sizing: border-box; line-height: 1.42; - height: 100%; outline: none; overflow-y: auto; padding: 12px 15px; @@ -1232,7 +1241,7 @@ img { font-size: 16px; } .ql-editor .ql-size-huge { - font-size: 2.5em; + font-size:32px; } .ql-editor .ql-direction-rtl { direction: rtl; diff --git a/src/views/pages/index.vue b/src/views/pages/index.vue index 2c77577..dceb18f 100644 --- a/src/views/pages/index.vue +++ b/src/views/pages/index.vue @@ -7,11 +7,12 @@
@@ -37,12 +38,12 @@
- +
-
查看详情→
@@ -66,7 +67,7 @@
- +
@@ -74,7 +75,7 @@
-
查看详情→
@@ -102,7 +103,7 @@
-
+
- +