From 5663c9338f7ff0986c5e99b2178ef57371a5c606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E6=B4=81?= <209192278@qq.com> Date: Sat, 9 Dec 2023 01:04:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=93=E6=B4=81=20:=20=E9=9A=A7=E9=81=93?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/index.scss | 53 +++++++++++++++++++++++++--------- src/views/tunnel/index.vue | 55 ++++++++++++++++++++++++++++++------ 2 files changed, 86 insertions(+), 22 deletions(-) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index c091ca8..e49f287 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -42,8 +42,9 @@ html, body, #app, .el-container, .el-aside, .el-main { width: 60px; height: 60px; } - .select-active{ - color: #11EAF2!important; + + .select-active { + color: #11EAF2 !important; } } } @@ -163,7 +164,34 @@ html, body, #app, .el-container, .el-aside, .el-main { margin-left: -925px; background-image: url('../images/topAndDown/sp_dbbj.png'); + .el-carousel__mask { + display: none; + } + + .el-carousel { + width: 1250px; + height: 146px; + padding-top: 35px; + + .el-carousel__container { + width: 1250px; + + .el-carousel__arrow--left { + display: none; + } + + .el-carousel__arrow--right { + display: none; + } + } + + .el-carousel__indicators { + display: none; + } + } + .arrow { + cursor: pointer; margin: 50px 0 0 263px; width: 46px; height: 54px; @@ -172,32 +200,31 @@ html, body, #app, .el-container, .el-aside, .el-main { .btn { width: 100%; - display: flex; - align-items: center; - justify-content: space-around; margin-top: 14px; font-size: 26px; color: #9FC3CD; + .el-carousel__item { + left: 19%; + } + > div { display: flex; justify-content: center; + padding-top: 5px; + width: 158px; + height: 50px; + background-image: url('../images/topAndDown/sp_icon_sdqhx.png'); } - > div:nth-child(2) { + .is-active { + margin-top: -5px; color: #FFFFFF; padding-top: 7px; width: 201px; height: 62px; background-image: url('../images/topAndDown/sp_icon_sdqhd.png'); } - - > div:first-child, > div:last-child { - padding-top: 5px; - width: 158px; - height: 50px; - background-image: url('../images/topAndDown/sp_icon_sdqhx.png'); - } } .right { diff --git a/src/views/tunnel/index.vue b/src/views/tunnel/index.vue index b8dba13..671308e 100644 --- a/src/views/tunnel/index.vue +++ b/src/views/tunnel/index.vue @@ -50,15 +50,20 @@
+