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.
110 lines
2.5 KiB
110 lines
2.5 KiB
2 days ago
|
.page {
|
||
|
background-color: #000;
|
||
|
.swiper {
|
||
|
width: 100vw;
|
||
|
height: 100vh;
|
||
|
.swiper-item {
|
||
|
position: relative;
|
||
|
width: 100vw;
|
||
|
height: 100vh;
|
||
|
.video {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
.play {
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%, -50%);
|
||
|
width: 90rpx;
|
||
|
height: 104rpx;
|
||
|
}
|
||
|
.swiper-item-footer {
|
||
|
padding: 80rpx 30rpx calc(34rpx + env(safe-area-inset-bottom));
|
||
|
width: 100%;
|
||
|
position: absolute;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
box-sizing: border-box;
|
||
|
background: linear-gradient(to top, rgba(20, 20, 20, 0.88) 0%, rgba(20, 20, 20, 0) 100%);
|
||
|
.title {
|
||
|
font-size: 32rpx;
|
||
|
color: rgba(255, 255, 255, 1);
|
||
|
}
|
||
|
.progress {
|
||
|
margin-top: 24rpx;
|
||
|
.slider-btn {
|
||
|
width: 200vw;
|
||
|
height: 80rpx;
|
||
|
}
|
||
|
}
|
||
|
.container {
|
||
|
margin-top: 24rpx;
|
||
|
width: 100%;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
.user {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
.avatar {
|
||
|
width: 76rpx;
|
||
|
height: 76rpx;
|
||
|
border-radius: 50%;
|
||
|
}
|
||
|
.name {
|
||
|
margin-left: 16rpx;
|
||
|
font-size: 28rpx;
|
||
|
color: rgba(255, 255, 255, 1);
|
||
|
}
|
||
|
}
|
||
|
.options {
|
||
|
padding-right: 26rpx;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 64rpx;
|
||
|
.o-item {
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
border: none;
|
||
|
outline: none;
|
||
|
background: transparent;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
line-height: 1;
|
||
|
&::after {
|
||
|
border: none;
|
||
|
}
|
||
|
.icon {
|
||
|
width: 36rpx;
|
||
|
height: 36rpx;
|
||
|
}
|
||
|
.num {
|
||
|
margin-top: 6rpx;
|
||
|
font-size: 32rpx;
|
||
|
color: rgba(255, 255, 255, 1);
|
||
|
&.active {
|
||
|
color: rgba(246, 74, 58, 1);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.animate {
|
||
|
position: fixed;
|
||
|
z-index: 10000000;
|
||
|
right: 1000000px;
|
||
|
bottom: calc(env(safe-area-inset-bottom) + 110rpx);
|
||
|
width: 200rpx;
|
||
|
height: 400rpx;
|
||
|
&.active {
|
||
|
right: -20rpx;
|
||
|
}
|
||
|
}
|