From 7144c719e8229ea7ee5fc65c503956263897500e Mon Sep 17 00:00:00 2001 From: lVAL Date: Wed, 30 Sep 2020 15:24:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E6=94=AF=E6=8C=81pad?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/About.vue | 14 +++++--------- src/views/Home/main/eHonor.vue | 5 ++++- src/views/Honor/index.vue | 24 ++---------------------- src/views/Layout/eHeader/eMenuList.vue | 4 ++-- src/views/Layout/eHeader/index.vue | 3 --- 5 files changed, 13 insertions(+), 37 deletions(-) diff --git a/src/views/About.vue b/src/views/About.vue index e37b73f..c39ce4f 100644 --- a/src/views/About.vue +++ b/src/views/About.vue @@ -11,14 +11,10 @@ 铁路职业技术学院等多所高校合作,完成相关培训中心和实验室建设等。

- -
+ +
@@ -137,13 +133,13 @@ export default { justify-content: space-around; height: 420px; .world { - width: 40%; + width: 49%; height: auto; flex: 1; } .group { - width: 400px; + width: 49%; text-align: center; } } diff --git a/src/views/Home/main/eHonor.vue b/src/views/Home/main/eHonor.vue index f37b552..91f91c0 100644 --- a/src/views/Home/main/eHonor.vue +++ b/src/views/Home/main/eHonor.vue @@ -13,7 +13,10 @@ > - + diff --git a/src/views/Honor/index.vue b/src/views/Honor/index.vue index 7989c77..fe83305 100644 --- a/src/views/Honor/index.vue +++ b/src/views/Honor/index.vue @@ -92,36 +92,16 @@ export default { padding: 12px 0; } - .grid { - display: grid; - grid-template-columns: repeat(3, 1fr); - grid-gap: 30px 30px; - margin-bottom: 70px; - - .image { - display: block; - &-knowledge { - width: 415px !important; - height: 560px !important; - } - - &-honor { - width: 415px !important; - height: 300px !important; - } - } - } - .flex { display: flex; - justify-content: space-between; + justify-content: center; align-items: center; flex-wrap: wrap; box-sizing: border-box; .image { display: block; - margin-bottom: 20px; + margin: 5px; &-knowledge { display: block; diff --git a/src/views/Layout/eHeader/eMenuList.vue b/src/views/Layout/eHeader/eMenuList.vue index 82c0d8a..183f787 100644 --- a/src/views/Layout/eHeader/eMenuList.vue +++ b/src/views/Layout/eHeader/eMenuList.vue @@ -61,7 +61,7 @@ export default { display: flex; justify-content: center; align-items: center; - width: 100%; + width: auto; .menu { position: relative; @@ -73,7 +73,7 @@ export default { cursor: pointer; a { - padding: 0 20px; + padding: 0 30px; text-decoration: none; color: #333333; display: block; diff --git a/src/views/Layout/eHeader/index.vue b/src/views/Layout/eHeader/index.vue index 9455ce2..45d9be7 100644 --- a/src/views/Layout/eHeader/index.vue +++ b/src/views/Layout/eHeader/index.vue @@ -128,9 +128,6 @@ export default { .left { border: none; - position: absolute; - top: 0; - left: 0px; float: left; font-size: 0.9375em; display: flex;