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