152 lines
2.4 KiB
CSS
152 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 {
|
|
flex-shrink: 0;
|
|
padding: 15rpx 25rpx;
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
margin-right: 20rpx;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tab.active {
|
|
color: black;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* 红包列表 */
|
|
.content {
|
|
padding: 0 20rpx;
|
|
}
|
|
|
|
.item {
|
|
padding: 20rpx;
|
|
height: 130rpx;
|
|
margin-bottom: 30rpx;
|
|
border-radius: 20rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border: 3rpx solid #ff775a;
|
|
background: linear-gradient(90deg, #ff3c11 0%, #fe8c72 100%);
|
|
position: relative;
|
|
overflow: visible;
|
|
}
|
|
|
|
.item_left {
|
|
width: 200rpx;
|
|
height: 170rpx;
|
|
background-color: #ffffff;
|
|
border-radius: 20rpx 80rpx 80rpx 20rpx;
|
|
border: 3rpx solid #ff775a;
|
|
position: relative;
|
|
left: -22rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.price {
|
|
font-size: 40rpx;
|
|
font-weight: bold;
|
|
color: #ff7557;
|
|
margin-bottom: 5rpx;
|
|
}
|
|
|
|
.manjian {
|
|
font-size: 20rpx;
|
|
color: #ff7557;
|
|
background-color: #fff0ed;
|
|
padding: 5rpx 10rpx;
|
|
border-radius: 10rpx;
|
|
}
|
|
|
|
.item_center {
|
|
flex: 1;
|
|
margin: 0 20rpx;
|
|
color: #fff;
|
|
}
|
|
|
|
.title {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.time {
|
|
color: #ffffff9a;
|
|
font-size: 24rpx;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.desc {
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
.item_right {
|
|
margin-right: 20rpx;
|
|
}
|
|
|
|
.status {
|
|
width: 120rpx;
|
|
padding: 15rpx 10rpx;
|
|
text-align: center;
|
|
background-color: #fff;
|
|
border-radius: 50rpx;
|
|
color: #ff7557;
|
|
font-size: 24rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* 滚动条样式 */
|
|
.tabs::-webkit-scrollbar {
|
|
height: 0;
|
|
}
|
|
|
|
.tabs::-webkit-scrollbar-thumb {
|
|
background-color: transparent;
|
|
} |