信达小程序
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.

239 lines
5.6 KiB

.page {
.page-container {
box-sizing: border-box;
margin-top: -20rpx;
padding: 40rpx 30rpx 200rpx;
.banner {
.title {
margin-top: 34rpx;
font-size: 44rpx;
color: #484848;
font-weight: bold;
}
.banner-footer {
margin-top: 22rpx;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 28rpx;
color: #9e9e9e;
.views {
display: flex;
align-items: center;
.icon {
margin-right: 6rpx;
width: 32rpx;
height: 32rpx;
}
}
}
.tags {
margin-top: 32rpx;
.tag {
margin: 0 16rpx 16rpx 0;
padding: 2rpx 20rpx;
display: inline-block;
line-height: 32rpx;
font-size: 22rpx;
color: #e04775;
border-radius: 18rpx;
word-break: break-all;
background-color: rgba(224, 71, 117, 0.13);
}
}
}
.container {
.audio {
margin-top: 36rpx;
padding: 0 0 20rpx;
}
.mp-html {
padding: 20px;
word-break: break-all;
video {
width: 100% !important;
object-fit: cover !important;
}
}
}
.other {
.o-title {
font-size: 36rpx;
color: #333333;
font-weight: bold;
}
.other-list {
margin-top: 32rpx;
padding: 24rpx;
background: #ffffff;
box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(0, 0, 0, 0.05);
border-radius: 24rpx;
border: 2rpx solid #ebecee;
.list-item {
display: flex;
margin-bottom: 22rpx;
.photo {
width: 232rpx;
height: 184rpx;
flex-shrink: 0;
border-radius: 16rpx;
border: 1rpx solid #ebecee;
margin-right: 16rpx;
}
.inner {
flex: 1;
padding-bottom: 20rpx;
border-bottom: 1px solid rgba(182, 183, 186, 0.21);
.title {
font-size: 28rpx;
color: #252525;
font-weight: bold;
line-height: 42rpx;
}
.date {
margin-top: 10rpx;
color: #9e9e9e;
font-size: 22rpx;
}
.labels {
margin-top: 16rpx;
display: flex;
flex-wrap: wrap;
align-items: center;
.label {
margin-right: 16rpx;
margin-bottom: 10rpx;
padding: 2rpx 20rpx;
font-size: 22rpx;
color: #e04775;
word-break: break-all;
border-radius: 18rpx;
background-color: rgba(224, 71, 117, 0.13);
}
}
.o-footer {
margin-top: 10rpx;
display: flex;
justify-content: flex-end;
.f-item {
display: flex;
align-items: center;
font-size: 22rpx;
color: #b6b7ba;
.icon {
margin-right: 8rpx;
width: 32rpx;
height: 32rpx;
}
&:not(:last-of-type)::after {
margin: 18rpx;
content: '';
width: 2rpx;
height: 20rpx;
background-color: #f3f3f4;
}
}
}
}
}
}
}
}
.animate {
position: fixed;
z-index: 1;
left: 1000000px;
bottom: calc(env(safe-area-inset-bottom) + 80rpx);
transform: translateX(-50%);
width: 200rpx;
height: 400rpx;
&.active {
left: 50%;
}
}
.footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
padding: 26rpx 50rpx calc(env(safe-area-inset-bottom) + 26rpx);
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
box-shadow: 0rpx 8rpx 20rpx 0rpx rgba(0, 0, 0, 0.26);
background-color: #fff;
.tip {
padding: 5rpx 16rpx;
position: absolute;
top: -80rpx;
left: 50%;
transform: translateX(-50%);
font-size: 28rpx;
color: #f5ad1d;
background: #ffefd0;
border: 1rpx solid #ffffff;
display: flex;
align-items: center;
border-radius: 20rpx;
box-shadow: -10rpx 20rpx 42rpx 0rpx rgba(0, 0, 0, 0.11);
.icon {
margin-right: 10rpx;
width: 40rpx;
height: 40rpx;
}
&::after {
position: absolute;
bottom: -12rpx;
left: 50%;
transform: translateX(-50%);
content: '';
width: 0;
height: 0;
border-style: solid;
border-width: 10rpx 10rpx 0 10rpx;
border-color: #ffefd0 transparent transparent transparent;
}
}
.f-item {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
font-size: 32rpx;
color: #211D2E;
margin: 0;
background: transparent;
&::after {
display: none;
outline: none;
}
.icon {
margin-right: 6rpx;
width: 56rpx;
height: 56rpx;
}
.icon-active {
@extend .icon;
display: none;
}
&.active {
color: #B982FF;
.icon {
display: none;
}
.icon-active {
display: block;
}
}
}
.vertical {
width: 3rpx;
height: 28rpx;
background-color: rgba(105, 104, 110, 0.16);
}
}
}