From 16a48eb8048c464838de3d8c75156f6074002a87 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Tue, 18 Oct 2022 11:34:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8B=8B=E7=AB=A0=E8=A7=84=E5=88=99=E6=8D=A2?= =?UTF-8?q?=E6=88=90=E6=8E=A5=E5=8F=A3=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/portal-index.scss | 12 +++ src/views/medal/Index.vue | 2 +- src/views/medal/urules.vue | 120 ++++++++++++++-------------- 3 files changed, 74 insertions(+), 60 deletions(-) diff --git a/src/assets/styles/portal-index.scss b/src/assets/styles/portal-index.scss index b123b05f..0b63c763 100644 --- a/src/assets/styles/portal-index.scss +++ b/src/assets/styles/portal-index.scss @@ -435,6 +435,9 @@ } // boe-index @media screen and (max-width: 1366px){ + .medal-index{ // 勋章规则控制 + margin: 40px 26px 0 26px; + } .xindex-content{ width: 1100px; } @@ -669,6 +672,9 @@ } } @media screen and (max-width: 1680px) and (min-width:1367px){ + .medal-index{ // 勋章规则控制 + margin: 40px 50px 0 50px; + } .xindex-content{ width: 1366px; } @@ -893,6 +899,9 @@ } @media screen and (max-width: 1920px) and (min-width: 1681px){ + .medal-index{ // 勋章规则控制 + margin: 40px 60px 0 60px; + } .xindex-content{ width: 1690px; } @@ -1123,6 +1132,9 @@ } @media screen and (min-width: 1921px){ + .medal-index{ // 勋章规则控制 + margin: 40px 60px 0 60px; + } .xindex-content{ width: 1880px; } diff --git a/src/views/medal/Index.vue b/src/views/medal/Index.vue index 5e92bf5e..39d38507 100644 --- a/src/views/medal/Index.vue +++ b/src/views/medal/Index.vue @@ -275,7 +275,7 @@ } .medal-index{ width: 144px; - margin: 40px 60px 0 60px; + text-align: center; diff --git a/src/views/medal/urules.vue b/src/views/medal/urules.vue index cf98d310..1aad5d3d 100644 --- a/src/views/medal/urules.vue +++ b/src/views/medal/urules.vue @@ -9,73 +9,75 @@