101 lines
1.6 KiB
Plaintext
101 lines
1.6 KiB
Plaintext
page {
|
|
background-color: #fafafa;
|
|
}
|
|
|
|
/* 分类 */
|
|
.tabs {
|
|
box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, .05);
|
|
background-color: #fff;
|
|
}
|
|
|
|
.tabs-scroll {
|
|
line-height: 88rpx;
|
|
height: 110rpx;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tabs-scroll-name {
|
|
display: inline-block;
|
|
padding: 0 32rpx;
|
|
font-size: 30rpx;
|
|
position: relative;
|
|
color: rgb(85, 85, 85);
|
|
}
|
|
|
|
.tabs-scroll-name::after {
|
|
content: '';
|
|
position: absolute;
|
|
background-color: transparent;
|
|
left: 32%;
|
|
bottom: 0rpx;
|
|
width: 36%;
|
|
height: 8rpx;
|
|
border-radius: 60rpx;
|
|
}
|
|
|
|
.tabs-scroll-name.active {
|
|
color: #3b7cff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.tabs-scroll-name.active::after {
|
|
background-color: #3b7cff;
|
|
}
|
|
|
|
/* 健康知识 */
|
|
.article {
|
|
padding: 10rpx 30rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.wiki {
|
|
margin-top: 60rpx;
|
|
}
|
|
|
|
.wiki-label {
|
|
background-color: #fff;
|
|
margin-bottom: 70rpx;
|
|
position: relative;
|
|
height: 200rpx;
|
|
box-shadow: 0 4rpx 30rpx 2rpx rgba(0, 0, 0, .05);
|
|
border-radius: 10rpx;
|
|
}
|
|
|
|
.wiki-label:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.wiki-label-img {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
position: absolute;
|
|
top: -30rpx;
|
|
left: 30rpx;
|
|
border-radius: 10rpx;
|
|
}
|
|
|
|
.wiki-label-cont {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
padding: 30rpx 25rpx 0 270rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.wiki-label-name {
|
|
font-size: 32rpx;
|
|
color: #3b7cff;
|
|
}
|
|
|
|
.wiki-label-name text {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.wiki-label-text {
|
|
color: #999999;
|
|
font-size: 28rpx;
|
|
margin-top: 20rpx;
|
|
line-height: 40rpx;
|
|
font-weight: 200;
|
|
} |