Files
2026-08-03 11:05:19 +08:00

186 lines
2.6 KiB
SCSS

.page-wrap {
box-sizing: border-box;
background: #f5f5f5;
height: calc(100vh - 162rpx);
display: flex;
flex-direction: column;
padding: 28rpx 20rpx;
}
/* ===== 汇总卡片 ===== */
// .summary-section {
// padding: 24rpx 24rpx 0;
// }
.summary-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20rpx;
border-radius: 16rpx;
}
.total-card {
background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
margin-bottom: 16rpx;
}
.total-card .card-label {
color: rgba(255, 255, 255, 0.85);
font-size: 26rpx;
}
.total-amount {
color: #fff !important;
font-size: 48rpx !important;
}
.summary-row {
display: flex;
gap: 16rpx;
}
.sub-card {
flex: 1;
background: #fff;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06);
padding: 24rpx 10rpx;
}
.card-label {
font-size: 22rpx;
color: #999;
margin-bottom: 10rpx;
}
.card-amount {
font-size: 30rpx;
font-weight: 700;
}
.card-amount.received {
color: #52c41a;
}
.card-amount.pending {
color: #fa8c16;
}
.card-amount.expired {
color: #999;
}
.tabs-wrap {
margin-top: 16rpx;
}
/* ===== 红包列表 ===== */
.red-history {
flex: 1;
background: #f5f5f5;
margin-top: 16rpx;
overflow: hidden;
}
.list-scroll {
height: 100%;
overflow: auto;
}
.record {
display: flex;
align-items: center;
padding: 24rpx 30rpx;
background: #fff;
border-bottom: 1px solid #eee;
margin: 0;
border-radius: 12rpx;
margin-bottom: 12rpx;
}
.record:first-child {
margin-top: 12rpx;
}
.red-icon {
width: 70rpx;
height: 140rpx;
flex-shrink: 0;
}
.content {
flex: 1;
margin-left: 20rpx;
min-width: 0;
}
.name {
font-size: 28rpx;
color: #333;
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.time {
font-size: 24rpx;
color: #999;
display: block;
margin-top: 8rpx;
}
.right {
display: flex;
flex-direction: column;
align-items: flex-end;
flex-shrink: 0;
}
.amount {
font-size: 32rpx;
color: #ff4d4f;
font-weight: 600;
}
.state-text {
font-size: 24rpx;
color: #999;
margin-top: 8rpx;
}
.receive-btn {
margin-top: 12rpx;
padding: 8rpx 28rpx;
font-size: 24rpx;
color: #fff;
background: #ff4d4f;
border-radius: 24rpx;
line-height: 1.4;
}
.no-more {
text-align: center;
padding: 30rpx 0;
font-size: 24rpx;
color: #999;
}
.loading-tip {
text-align: center;
padding: 20rpx 0;
font-size: 24rpx;
color: #999;
}
.no-data {
display: flex;
justify-content: center;
align-items: center;
flex: 0.9;
font-size: 32rpx;
color: #999;
}