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

296 lines
7.4 KiB

1 month ago
.page {
padding-bottom: 120rpx;
.sticky {
position: sticky;
top: 0;
left: 0;
z-index: 20;
background-color: #fff;
padding-bottom: 10rpx;
box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(0, 0, 0, 0.05);
.tab {
font-size: 32rpx;
color: #9e9e9e;
}
.tab-active {
font-size: 36rpx;
color: #484848;
}
}
.info-list {
margin: 32rpx 30rpx;
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: 1rpx 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);
}
}
.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;
}
&.active {
color: #e04775;
}
&::after {
margin: 18rpx;
content: "";
width: 2rpx;
height: 20rpx;
background-color: #f3f3f4;
}
}
.share {
padding: 0;
background-color: transparent;
margin: 0;
&::after {
border: none;
outline: none;
}
}
}
}
}
}
.video-list {
margin: 32rpx 30rpx;
.list-item {
margin-bottom: 20rpx;
background: #ffffff;
box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(0, 0, 0, 0.05);
border-radius: 24rpx;
border: 2rpx solid #ebecee;
.photo {
position: relative;
border-radius: 24rpx 24rpx 0 0;
display: block;
width: 100%;
height: 388rpx;
overflow: hidden;
.video {
border-radius: inherit;
width: 100%;
height: 100%;
}
.poster {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: inherit;
}
.play {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 104rpx;
height: 104rpx;
}
}
.inner {
padding: 32rpx 34rpx 28rpx;
background-color: #fff;
border-radius: 0 0 24rpx 24rpx;
.title {
font-size: 32rpx;
color: #252525;
font-weight: bold;
}
.content {
margin-top: 22rpx;
padding-bottom: 24rpx;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1rpx solid #ebecee;
.labels {
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);
}
}
.date {
color: #9e9e9e;
font-size: 22rpx;
}
}
.footer {
margin-top: 28rpx;
display: flex;
justify-content: space-around;
.f-item {
display: flex;
align-items: center;
font-size: 22rpx;
color: #b6b7ba;
.icon {
margin-right: 8rpx;
width: 32rpx;
height: 32rpx;
}
&.active {
color: #e04775;
}
&::after {
margin: 18rpx;
content: "";
width: 2rpx;
height: 20rpx;
background-color: #f3f3f4;
}
}
.share {
padding: 0;
background-color: transparent;
margin: 0;
&::after {
border: none;
outline: none;
}
}
}
}
}
}
.question-list {
margin: 32rpx 30rpx;
.row {
padding: 38rpx 32rpx;
display: flex;
background: #ffffff;
box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(0, 0, 0, 0.05);
border-radius: 24rpx;
border: 2rpx solid #ebecee;
margin-bottom: 16rpx;
.num {
padding: 0 15rpx;
font-size: 28rpx;
color: #cf5375;
flex-shrink: 0;
height: 40rpx;
background: #ffffff linear-gradient(136deg, #e8ebfd 0%, #fde0ea 100%);
border-radius: 8rpx;
text-align: center;
line-height: 40rpx;
}
.wrap {
flex: 1;
color: #252525;
padding-left: 16rpx;
display: flex;
align-items: center;
justify-content: space-between;
.content {
flex: 1;
.c-title {
font-size: 28rpx;
color: #252525;
font-weight: bold;
}
.footer {
margin-top: 28rpx;
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;
}
&.active {
color: #e04775;
}
&:not(:last-of-type)::after {
margin: 18rpx;
content: "";
width: 2rpx;
height: 20rpx;
background-color: #f3f3f4;
}
}
.share {
padding: 0;
background-color: transparent;
margin: 0;
&::after {
border: none;
outline: none;
}
}
}
}
}
}
}
}