From 74fef7fa03595f6265d3694ec268c1040afaf569 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Wed, 19 Oct 2022 15:40:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=BA=90=E5=BC=95=E5=AF=BC=E4=BD=8D?= =?UTF-8?q?=E8=87=AA=E9=80=82=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/portal-index.scss | 73 +++++++++++++++++++++++++++++ src/components/Portal/guideBox.vue | 40 ++++++++++++---- 2 files changed, 103 insertions(+), 10 deletions(-) diff --git a/src/assets/styles/portal-index.scss b/src/assets/styles/portal-index.scss index db567ff9..5205cf84 100644 --- a/src/assets/styles/portal-index.scss +++ b/src/assets/styles/portal-index.scss @@ -444,6 +444,25 @@ } // boe-index @media screen and (max-width: 1366px){ + .gui-box-right{//资源引导位宽度 + width: 497px; + .swiper-slide{ + width: 376px; + height: 300px; + text-align: center; + .banner-img{ + width: 376px; + height: 100%; + } + } + } + .gui-box{ + .close-right{ + right:28px; + top:25px; + } + } + .medal-index{ // 勋章规则控制 margin: 40px 26px 0 26px; } @@ -683,6 +702,24 @@ } } @media screen and (max-width: 1680px) and (min-width:1367px){ + .gui-box-right{//资源引导位宽度 + width: 658px; + .swiper-slide{ + width: 476px; + height: 500px; + text-align: center; + .banner-img{ + width: 476px; + height: 100%; + } + } + } + .gui-box{ + .close-right{ + right:28px; + top:25px; + } + } .medal-index{ // 勋章规则控制 margin: 40px 50px 0 50px; } @@ -910,6 +947,24 @@ } @media screen and (max-width: 1920px) and (min-width: 1681px){ + .gui-box-right{//资源引导位宽度 + width: 697px; + .swiper-slide{ + width: 576px; + height: 500px; + text-align: center; + .banner-img{ + width: 576px; + height: 100%; + } + } + } + .gui-box{ + .close-right{ + right:28px; + top:25px; + } + } .medal-index{ // 勋章规则控制 margin: 40px 60px 0 60px; } @@ -1143,6 +1198,24 @@ } @media screen and (min-width: 1921px){ + .gui-box-right{//资源引导位宽度 + width: 897px; + .swiper-slide{ + width: 576px; + height: 500px; + text-align: center; + .banner-img{ + width: 576px; + height: 100%; + } + } + } + .gui-box{ + .close-right{ + right:28px; + top:45px; + } + } .medal-index{ // 勋章规则控制 margin: 40px 60px 0 60px; } diff --git a/src/components/Portal/guideBox.vue b/src/components/Portal/guideBox.vue index c8a013a2..c37d8bbe 100644 --- a/src/components/Portal/guideBox.vue +++ b/src/components/Portal/guideBox.vue @@ -4,7 +4,7 @@ :visible.sync="guideCollection" :append-to-body="true" top="90px" - width="900px"> + :width="clientWidth">