2025-12-16 17:11:52 +08:00

154 lines
2.4 KiB
CSS

page {
background-color: #f6f7fb;
}
.container {
padding-bottom: 20rpx;
}
/* 顶部统计 */
.stats {
display: flex;
justify-content: space-around;
background-color: #fff;
padding: 30rpx 20rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
}
.stat-item {
text-align: center;
flex: 1;
}
.stat-label {
font-size: 28rpx;
color: #8c8c8c;
margin-bottom: 10rpx;
}
.stat-value {
font-size: 48rpx;
font-weight: bold;
color: #333;
}
/* 分类标签 */
.tabs {
display: flex;
background-color: #fff;
padding: 20rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
overflow-x: auto;
}
.tab {
width: 50%;
text-align: center;
padding: 15rpx 25rpx;
font-size: 28rpx;
color: #666;
margin-right: 20rpx;
white-space: nowrap;
}
.tab.active {
color: #409eff;
border-bottom: 5rpx solid #409eff;
}
/* 红包列表 */
.content {
padding: 0 20rpx;
}
.item {
padding: 20rpx;
height: 130rpx;
margin-bottom: 30rpx;
border-radius: 20rpx;
display: flex;
justify-content: space-between;
align-items: center;
background-color: #f2f2f2;
color: #999999;
}
.item_left {
font-size: 40rpx;
font-weight: bold;
width: 170rpx;
height: 170rpx;
line-height: 170rpx;
padding-left: 30rpx;
border-radius: 20rpx 80rpx 80rpx 20rpx;
position: relative;
left: -22rpx;
}
.item_center {
flex: 1;
margin: 0 20rpx;
}
.title {
font-size: 32rpx;
font-weight: bold;
color: #333333;
}
.time {
font-size: 24rpx;
margin: 10rpx 0;
}
.desc {
font-size: 26rpx;
}
.item_right {
margin-right: 20rpx;
}
.status2 {
position: absolute;
top: 0;
right: 0;
width: 150rpx;
height: 120rpx;
overflow: hidden;
transform: rotate(0deg);
}
.status2::after {
content: attr(data-status);
position: absolute;
top: 25rpx;
right: -50rpx;
width: 180rpx;
height: 40rpx;
line-height: 40rpx;
text-align: center;
color: #999999;
font-size: 24rpx;
font-weight: bold;
transform: rotate(45deg);
border-radius: 0 20rpx 0 0;
background: #cccccc;
box-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.1);
}
.item {
position: relative;
overflow: visible;
}
/* 滚动条样式 */
.tabs::-webkit-scrollbar {
height: 0;
}
.tabs::-webkit-scrollbar-thumb {
background-color: transparent;
}