html,
body,.page{
height: 100%;
}
body {
/* font-family: Source Han Sans CN; */
font-family: PingFang-SC-Bold;
font-size: 0.14rem;
margin: 0;
min-width: 1200px;
}
.page {
width: 100%;
background-color: #008085;
box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.2);
}
/* 顶部 */
.p-header{
width: 100%;
height: 0.90rem;
/* border-bottom: 1px solid #fff; */
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 10;
}
.p-header .logo-wrap{
width: 2.79rem;
height: 0.90rem;
margin-right: auto;
}
.p-header .logo-wrap .logo{
width: 1.74rem;
height: auto;
}
.p-header .tab-wrap{
margin-right: 0.60rem;
}
.p-header .tab-wrap .tab{
height: 0.90rem;
width: 1.42rem;
cursor: pointer;
}
.p-header .tab-wrap .tab.active .cn{
color:#41dbe7;
}
.p-header .tab-wrap .tab.active .en{
color:#41dbe7;
}
.p-header .tab-wrap .tab:hover .cn{
color:#41dbe7;
opacity: 1;
}
.p-header .tab-wrap .tab:hover .en{
color:#41dbe7;
opacity: 1;
}
.p-header .tab .cn{
height: 0.16rem;
font-size: 0.16rem;
font-weight: 400;
color: #FFFFFF;
line-height: 0.16rem;
}
.p-header .tab .en{
margin-top: 0.06rem;
font-size: 0.14rem;
font-weight: 400;
color: #FFFFFF;
line-height: 0.21rem;
opacity: 0.6;
}
/* 轮播图 */
.page .swiper-container {
height: 100%;
width: 100%;
position: relative;
}
.page .swiper-wrapper {
transition: 2s cubic-bezier(0.68, -0.4, 0.27, 1.34) 0.2s;
}
.page .swiper-slide {
position: relative;
color: #fff;
overflow: hidden;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
.page .swiper-slide:first-child:after {
content: "";
position: absolute;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
box-shadow: -230px 0 150px 60vw rgba(0, 0, 0, 0.7);
}
.page .swiper-slide-content {
position: absolute;
/* text-align: center; */
/* max-width: 80%; */
right: 50%;
-webkit-transform: translate(50%, 0);
transform: translate(50%, 0);
font-size: 12px;
z-index: 2;
top: 0.90rem;
height:calc(100% - 1.20rem);
}
/* 分页 */
.page .swiper-pagination {
right: 4% !important;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
z-index: 1;
}
.page .swiper-pagination-bullet {
margin: 0.15rem 0 !important;
width: 8px;
height: 8px;
border-radius: 100%;
background-color: #fff;
-webkit-transform: scale(1);
transform: scale(1);
transition: .2s;
}
.page .swiper-pagination-bullet-active {
-webkit-transform: scale(1.2);
transform: scale(1.2);
background-color: transparent;
border:1px solid #fff;
}
/* 底部 */
.p-footer{
position: fixed;
z-index: 10;
bottom: 0;
left: 0;
width: 100%;
height: 0.30rem;
}
.p-footer .txt{
width: 100%;
height: 0.30rem;
line-height: 0.30rem;
text-align: center;
font-size: 0.14rem;
font-weight: 400;
color: #FFFFFF;
opacity: 0.7;
}
/* 左侧 */
.p-left{
position: absolute;
bottom: 1.92rem;
left: 4%;
transform: rotate(90deg);
transform-origin: left;
z-index: 10;
}
.p-left .progress-wrap{
width: 60px;
height: 2px;
background: rgba(42, 220, 233, 0.4);
box-shadow: none;
overflow: hidden;
border-radius: 1px;
position: relative;
margin-right: 6px;
}
.p-left .progress-wrap .progress{
float: left;
height: 2px;
background: rgba(42, 220, 233, 1);
border-radius: 50%;
}
.p-left .num-wrap{
height: 2px;
}
.p-left .num-wrap .num-m{
font-size: 20px;
font-weight: 500;
color: #FFFFFF;
opacity: 0.9;
}
.p-left .num-wrap .num-s{
font-size: 14px;
font-weight: 500;
color: #FFFFFF;
opacity: 0.7;
}
/* 播放器弹层 */
.p-player{
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 60vw;
height: 60vh;
display: none;
background-color: #000;
z-index: 10;
}
.p-player .cancel{
position: absolute;
right: -0.20rem;
top: -0.20rem;
width: 0.48rem;
height: 0.48rem;
z-index: 2;
cursor: pointer;
}
.p-player video{
width: 100%;
height: 100%;
}