diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 36ca414..a3c37dc 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -130,6 +130,7 @@ $height: 90px; left: 0; width: 100%; // min-width: $min-width; + background-color: #fff; height: $height; box-sizing: content-box; &:not(.channel) { @@ -197,10 +198,10 @@ $height: 90px; } } .rightBox{ - font-size: 3.57rem; + font-size: 2.57rem; position: absolute; right: 10px; - top: 20px; + top: 2rem; } .contentBox{ width: 100%; @@ -255,6 +256,7 @@ $height: 90px; padding: 0 .5rem 0 .1rem; } } + } diff --git a/src/pages/about/index.vue b/src/pages/about/index.vue index 24fe8e1..78af825 100644 --- a/src/pages/about/index.vue +++ b/src/pages/about/index.vue @@ -199,22 +199,22 @@ export default { .texts { display: flex; justify-content: space-between; - padding: 82px 57px 30px; + padding: 5.125rem 3.5625rem 1.875rem; margin-top: 20px; background-color: #fff; - border-radius: 100px 0px 0px 0px; + border-radius: 6.25rem 0px 0px 0px; transition: .3s; &:hover { transform: scale(1.05); } } .left { - width: 695px; + width: 43.4375rem; } .line { - width: 136px; + width: 8.5rem; height: 2px; - margin: 20px 0; + margin: 1.25rem 0; background: #D7D7D7; } .des { @@ -233,8 +233,8 @@ export default { flex-wrap: wrap; li { width: calc((100% - 28px) / 2); - height: 277px; - padding: 70px 67px 20px; + height: 17.3125rem; + padding: 4.375rem 4.18rem 1.25rem; margin-bottom: 28px; color: #fff; transition: .3s; @@ -242,7 +242,7 @@ export default { transform: scale(1.05); } &:nth-child(odd) { - margin-right: 28px; + margin-right: 1.75rem; } } .item1 { @@ -267,17 +267,17 @@ export default { } } .plan { - padding: 73px 0; + padding: 4.5625rem 0; background: #072947; .inner { display: flex; justify-content: space-between; - width: 1575px; + width: 98.4375rem; } .pic { width: 42%; - height: 488px; - margin-bottom: -120px; + height: 30.5rem; + margin-bottom: -7.5rem; transition: .3s; &:hover { transform: scale(1.05); @@ -285,7 +285,7 @@ export default { } .texts { width: 51%; - margin-top: 36px; + margin-top: 2.25rem; color: #fff; transition: .3s; &:hover { @@ -304,7 +304,7 @@ export default { li { display: flex; justify-content: space-between; - margin-bottom: 126px; + margin-bottom: 7.87rem; transition: .3s; &:hover { transform: scale(1.05); @@ -315,14 +315,14 @@ export default { } .pic { width: 47%; - height: 465px; + height: 29.0625rem; } .texts { width: 49%; - padding-top: 90px; + padding-top: 5.5625rem; } h6 { - margin: 20px 0; + margin: 1.25rem 0; font-size: 2.85rem; } .sub { @@ -338,7 +338,7 @@ export default { .list-block { .inner { width: 80%; - padding: 90px 0; + padding: 5.625rem 0; background-color: #fff; } } @@ -347,8 +347,8 @@ export default { justify-content: center; li { width: calc((100% - 100px) / 3); - padding-bottom: 30px; - margin-right: 28px; + padding-bottom: 1.875rem; + margin-right: 1.75rem; text-align: center; background-color: #F5F5F5; transition: .3s; @@ -364,10 +364,10 @@ export default { } .pic { width: 100%; - height: 353px; + height: 22.065rem; } h6 { - margin: 35px 0 5px; + margin: 2.1875rem 0 5px; font-size: 1.71rem; color: #272727; transition: .3s; @@ -391,14 +391,14 @@ export default { } } .staff-inner { - width: 1581px; + width: 98.8125rem; } .left { width: 50%; - padding: 108px 43px 0 46px; + padding: 6.75rem 2.6875rem 0 2.875rem; } h6 { - margin-bottom: 30px; + margin-bottom: 1.875rem; font-size: 2.14rem; color: #333; transition: .3s; @@ -412,17 +412,17 @@ export default { } .pic { width: 53%; - height: 487px; + height: 30.4375rem; } } .stat { display: flex; justify-content: space-around; flex-wrap: wrap; - margin-top: 60px; + margin-top: 3.75rem; li { width: 30%; - margin-bottom: 50px; + margin-bottom: 3.125rem; } .num { margin-bottom: 10px; @@ -468,13 +468,13 @@ export default { .bg{ margin: 0; width: 100%; - height: 450px; + height: 28.125rem; } } .block{ padding: 50px 0; .intro{ - margin-bottom: 50px; + margin-bottom: 3.125rem; } .inner { .card{ @@ -523,7 +523,7 @@ export default { margin: 0 auto; } .texts{ - padding-top: 50px; + padding-top: 3.125rem; width: 100%; } } @@ -547,7 +547,7 @@ export default { } .pic { width: 95%;margin: 0 auto; - height: 400px; + height: 25rem; } } } @@ -555,10 +555,22 @@ export default { } @media (min-width: 280px) and (max-width: 750px) { + + .wrap { + /deep/ .el-carousel { + height: 12rem; + .el-carousel__container{ + height: 12rem !important; + } + img { + height: 12rem; + } + } + } .inner{ .texts { .bg { - height: 350px; + height: 21.875rem; margin-top: 1rem; } } @@ -573,10 +585,25 @@ export default { li { margin-bottom: 30px; .pic { - height: 350px; + height: 18.875rem; } } } } + .plan { + .pic { + height: 25rem; + } + } + .list { + .pic { + height: 19rem; + } + } + .staff { + .pic { + height: 20rem !important; + } + } } \ No newline at end of file diff --git a/src/pages/application/index.vue b/src/pages/application/index.vue index 68c75a0..98d6509 100644 --- a/src/pages/application/index.vue +++ b/src/pages/application/index.vue @@ -1,6 +1,6 @@