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">