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.
135 lines
2.7 KiB
135 lines
2.7 KiB
page { |
|
background-color: #f3f4f5; |
|
} |
|
.page { |
|
padding-bottom: 80rpx; |
|
|
|
.scroll { |
|
position: sticky; |
|
top: 0; |
|
left: 0; |
|
z-index: 10; |
|
background-color: #fff; |
|
} |
|
.nav { |
|
padding: 0 16rpx; |
|
display: flex; |
|
background-color: #fff; |
|
&::-webkit-scrollbar { |
|
display: none; |
|
} |
|
.nav-item { |
|
flex-shrink: 0; |
|
padding: 32rpx 16rpx; |
|
font-size: 36rpx; |
|
color: #222222; |
|
line-height: 36rpx; |
|
&.active { |
|
font-size: 36rpx; |
|
color: #3795f7; |
|
font-weight: bold; |
|
position: relative; |
|
&::after { |
|
position: absolute; |
|
bottom: 0; |
|
left: 50%; |
|
transform: translateX(-50%); |
|
content: ''; |
|
width: 44rpx; |
|
height: 8rpx; |
|
background: #3795f7; |
|
border-radius: 0rpx 0rpx 0rpx 0rpx; |
|
} |
|
} |
|
} |
|
} |
|
.types { |
|
padding: 32rpx 32rpx 0; |
|
display: flex; |
|
gap: 16rpx; |
|
flex-wrap: wrap; |
|
.type { |
|
min-width: 160rpx; |
|
padding: 8rpx 10rpx; |
|
box-sizing: border-box; |
|
font-size: 32rpx; |
|
color: #65686c; |
|
line-height: 40rpx; |
|
background-color: #fff; |
|
border-radius: 8rpx; |
|
text-align: center; |
|
&.active { |
|
color: #fff; |
|
background-color: #3795f7; |
|
} |
|
} |
|
} |
|
.der{ |
|
margin-top: 32rpx; |
|
font-size: 28rpx; |
|
color: #999999; |
|
text-align: center; |
|
} |
|
.card { |
|
margin: 32rpx 32rpx 24rpx; |
|
padding: 24rpx; |
|
display: flex; |
|
gap: 24rpx; |
|
background: linear-gradient(173deg, #ffffff 0%, #eff7ff 100%); |
|
border-radius: 24rpx 24rpx 24rpx 24rpx; |
|
border: 2rpx solid #ffffff; |
|
&:last-of-type { |
|
margin-bottom: 0; |
|
} |
|
.photo { |
|
flex-shrink: 0; |
|
width: 218rpx; |
|
height: 218rpx; |
|
border-radius: 16rpx; |
|
} |
|
.c-container { |
|
flex: 1; |
|
display: flex; |
|
flex-direction: column; |
|
justify-content: space-between; |
|
.title { |
|
font-size: 36rpx; |
|
color: #222222; |
|
font-weight: bold; |
|
line-height: 48rpx; |
|
} |
|
.type { |
|
margin-top: 16rpx; |
|
flex: 1; |
|
font-size: 32rpx; |
|
color: #999999; |
|
} |
|
.stat { |
|
margin-top: 42rpx; |
|
display: flex; |
|
align-items: center; |
|
justify-content: space-between; |
|
gap: 40rpx; |
|
.s-item { |
|
display: flex; |
|
align-items: center; |
|
gap: 8rpx; |
|
font-size: 28rpx; |
|
color: #999999; |
|
.icon { |
|
width: 32rpx; |
|
height: 32rpx; |
|
} |
|
&.active { |
|
color: #3795f7; |
|
} |
|
} |
|
} |
|
} |
|
} |
|
.none { |
|
display: block; |
|
margin: 30rpx auto; |
|
width: 80%; |
|
} |
|
}
|
|
|