You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.3 KiB
70 lines
1.3 KiB
#app {
|
|
height: 100%;
|
|
}
|
|
html,
|
|
body {
|
|
position: relative;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background: #eee;
|
|
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
|
|
font-size: 14px;
|
|
color: #000;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.swiper {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.swiper-slide {
|
|
text-align: center;
|
|
font-size: 18px;
|
|
background: #fff;
|
|
/* Center slide text vertically */
|
|
display: flex !important;
|
|
justify-content: center !important;
|
|
align-items: center !important;
|
|
img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
|
|
// 头部轮播 pagination重写样式
|
|
.header_swiper {
|
|
.swiper-pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-top: solid 1px #ddd;
|
|
.swiper-pagination-bullet {
|
|
width: auto;
|
|
white-space: nowrap;
|
|
height: 40px;
|
|
font-size: 16px;
|
|
color: #fff;
|
|
border-radius: 0;
|
|
background: #ddd;
|
|
margin: 0 50px !important;
|
|
opacity: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
justify-content: center;
|
|
}
|
|
|
|
.swiper-pagination-bullet-active {
|
|
color: $theme_color;
|
|
border-top: solid 1px $theme_color;
|
|
background: none;
|
|
}
|
|
}
|
|
}
|