xz_mini/pages/newsDetail/newsDetail.wxss

238 lines
3.2 KiB
Plaintext
Raw Permalink Normal View History

2023-07-27 14:28:57 +08:00
page {
width: 100%;
height: 100%;
}
.news-title {
2023-07-27 14:28:57 +08:00
padding: 20rpx 30rpx;
font-size: 34rpx;
font-weight: bold;
color: #242424;
text-align: center;
}
.news-attr-box {
2023-07-27 14:28:57 +08:00
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.news-attr {
2023-07-27 14:28:57 +08:00
font-size: 24rpx;
color: #949494;
}
.news-attr:nth-of-type(n+2) {
2023-07-27 14:28:57 +08:00
margin-left: 20rpx;
}
.news-content {
2023-07-27 14:28:57 +08:00
padding: 20rpx 20rpx;
font-size: 34rpx;
color: #242424;
}
.img-box {
2023-07-27 14:28:57 +08:00
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
background: black;
}
.swiper-item {
2023-07-27 14:28:57 +08:00
width: 100%;
height: 100%;
position: absolute;
transform: translate(0%, 0px) translateZ(0px);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.item-txt {
2023-07-27 14:28:57 +08:00
position: absolute;
color: white;
font-size: 24rpx;
bottom: 0rpx;
}
.video-box {
2023-07-27 14:28:57 +08:00
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
background: #242424;
}
.video-box video {
2023-07-27 14:28:57 +08:00
width: 100%;
}
.video-category {
2023-07-27 14:28:57 +08:00
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
padding-bottom: 30rpx;
margin: 20rpx;
flex-wrap: wrap;
}
.category-title {
2023-07-27 14:28:57 +08:00
font-size: 34rpx;
color: white;
align-self: center;
margin-top: 20rpx;
}
.category-item {
2023-07-27 14:28:57 +08:00
font-size: 30rpx;
color: white;
border: 1rpx solid #949494;
padding: 20rpx;
margin: 5rpx;
}
.category-item-sel {
2023-07-27 14:28:57 +08:00
border: 1rpx solid #f30000;
color: #f30000;
background: #97979741;
}
.desc-box {
2023-07-27 14:28:57 +08:00
color: #f30000;
margin-top: 40rpx;
padding-left: 20rpx;
}
.desc {
2023-07-27 14:28:57 +08:00
font-size: 28rpx;
color: #242424;
padding: 30rpx 40rpx;
}
.audio-box {
2023-07-27 14:28:57 +08:00
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
background: black;
color: white;
}
.audio-img {
2023-07-27 14:28:57 +08:00
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
height: 400rpx;
}
.img-bg {
2023-07-27 14:28:57 +08:00
width: 100%;
height: 400rpx;
}
.img-loading {
2023-07-27 14:28:57 +08:00
width: 200rpx;
height: 200rpx;
position: absolute;
top: calc(50%-50rpx);
left: calc(50%-50rpx);
}
.progress {
2023-07-27 14:28:57 +08:00
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 100%;
}
.slider {
2023-07-27 14:28:57 +08:00
margin: 10rpx;
width: 50%;
}
.option {
2023-07-27 14:28:57 +08:00
display: flex;
flex: 1;
justify-content: space-between;
align-items: center;
padding-bottom: 20rpx;
width: 70%;
align-self: center;
margin-top: 20rpx;
}
.btn-mode,
.btn-music {
2023-07-27 14:28:57 +08:00
width: 70rpx;
height: 70rpx;
}
.btn-prev,
.btn-next {
2023-07-27 14:28:57 +08:00
width: 70rpx;
height: 70rpx;
}
.btn-pause {
2023-07-27 14:28:57 +08:00
width: 140rpx;
height: 140rpx;
}
.current {
2023-07-27 14:28:57 +08:00
font-size: 28rpx;
margin-right: 30rpx;
}
.duration {
2023-07-27 14:28:57 +08:00
font-size: 28rpx;
margin-left: 30rpx;
}
.btn {
2023-07-27 14:28:57 +08:00
width: 64rpx;
height: 64rpx;
}
.page-mask {
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
position: fixed;
top: 0;
left: 0;
z-index: 99999999;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
backdrop-filter: blur(10rpx);
}
.mask-btn {
background-color: #4CAF50;
border: none;
color: white;
padding: 10rpx 80rpx;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 26rpx;
margin-top: 30rpx;
border-radius: 10rpx;
}
.mask-hint {
font-size: 40rpx;
color: #ffffff;
font-weight: bold;
text-align: center;
2020-06-23 19:14:44 +08:00
}