|
@@ -376,10 +376,13 @@ onMounted(() => {
|
|
|
background-position: 50%;
|
|
|
background-image: url("@/assets/img/home_bg.jpg");
|
|
|
color: #fff;
|
|
|
-
|
|
|
+ position: fixed;
|
|
|
+ top: 0;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
.title {
|
|
|
text-align: center;
|
|
|
- margin: .8rem auto 1.4667rem;
|
|
|
+ margin: 0.8rem auto 1.4667rem;
|
|
|
width: 8.2133rem;
|
|
|
height: 2.0667rem;
|
|
|
background: url("@/assets/img/home_title.svg") no-repeat;
|
|
@@ -389,6 +392,7 @@ onMounted(() => {
|
|
|
.item-box {
|
|
|
// display: flex;
|
|
|
position: relative;
|
|
|
+ height: 20vh;
|
|
|
img {
|
|
|
object-fit: contain;
|
|
|
width: 100%;
|
|
@@ -531,7 +535,7 @@ onMounted(() => {
|
|
|
.swiper-dom {
|
|
|
width: 100%;
|
|
|
/* margin-top: 10px; */
|
|
|
- margin-bottom:15%;
|
|
|
+ margin-bottom: 2%;
|
|
|
overflow: visible !important;
|
|
|
padding: 0 40px;
|
|
|
}
|
|
@@ -540,12 +544,29 @@ onMounted(() => {
|
|
|
.home {
|
|
|
max-width: 596px;
|
|
|
margin: 0 auto;
|
|
|
- .title{
|
|
|
+ .title {
|
|
|
margin: 30px auto 55px;
|
|
|
}
|
|
|
}
|
|
|
.swiper-dom {
|
|
|
- margin-bottom: 5%;
|
|
|
+ margin-bottom: 2%;
|
|
|
+ .item-box{
|
|
|
+ height: 20vh;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+@media screen and (min-height: 1024px) {
|
|
|
+ .home {
|
|
|
+ .title {
|
|
|
+ margin: 30px auto 40px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .swiper-dom {
|
|
|
+ margin-bottom: 20px;
|
|
|
+
|
|
|
+ .item-box{
|
|
|
+ height: 20vh;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|