Files
xingque/pages/recharge-log/recharge-log.wxss

421 lines
6.6 KiB
Plaintext

/* 佣金记录 - 逍遥梦黄色风格 */
page {
height: 100%;
background: #fff8e1;
}
.page-container {
height: 100%;
background: linear-gradient(180deg, #f7dc51 0%, #fff 18%, #fff8e1 100%);
position: relative;
}
.fixed-top {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
padding: 16rpx 24rpx 20rpx;
background: linear-gradient(180deg, #f7dc51 0%, #ffd061 85%, #fff8e1 100%);
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.06);
}
.tab-bar {
display: flex;
background: rgba(255, 255, 255, 0.75);
border-radius: 999rpx;
padding: 6rpx;
margin-bottom: 20rpx;
}
.tab-item {
flex: 1;
text-align: center;
padding: 16rpx 8rpx;
font-size: 26rpx;
color: #666;
border-radius: 999rpx;
transition: all 0.2s;
}
.tab-item.active {
background: linear-gradient(180deg, #fae04d, #ffc0a3);
color: #492f00;
font-weight: 700;
box-shadow: 0 4rpx 12rpx rgba(250, 180, 80, 0.35);
}
.stats-card {
background: #fef6d4;
border-radius: 24rpx;
padding: 28rpx 24rpx;
border: 2rpx solid rgba(255, 255, 255, 0.8);
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.06);
}
.stats-main {
text-align: center;
padding-bottom: 20rpx;
margin-bottom: 20rpx;
border-bottom: 1rpx solid rgba(0, 0, 0, 0.06);
}
.stats-label,
.stats-label-sm {
display: block;
font-size: 24rpx;
color: #888;
margin-bottom: 8rpx;
}
.stats-amount {
display: block;
font-size: 52rpx;
font-weight: 800;
color: #e65100;
line-height: 1.2;
}
.stats-amount-sm {
display: block;
font-size: 36rpx;
font-weight: 700;
color: #e65100;
}
.stats-tip {
display: block;
font-size: 22rpx;
color: #999;
margin-top: 6rpx;
}
.stats-row {
display: flex;
align-items: center;
justify-content: space-around;
}
.stats-row.three .stats-cell {
flex: 1;
text-align: center;
}
.stats-cell {
text-align: center;
flex: 1;
}
.stats-num {
display: block;
font-size: 36rpx;
font-weight: 700;
color: #333;
}
.stats-sub {
display: block;
font-size: 22rpx;
color: #888;
margin-top: 4rpx;
}
.stats-divider {
width: 1rpx;
height: 48rpx;
background: rgba(0, 0, 0, 0.08);
}
.dashou-hd {
text-align: center;
padding: 32rpx 24rpx;
}
.dashou-title {
display: block;
font-size: 32rpx;
font-weight: 700;
color: #333;
}
.dashou-sub {
display: block;
font-size: 24rpx;
color: #888;
margin-top: 8rpx;
}
.refresh-btn {
position: absolute;
top: 20rpx;
right: 36rpx;
width: 64rpx;
height: 64rpx;
background: rgba(255, 255, 255, 0.9);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08);
}
.refresh-icon {
font-size: 32rpx;
color: #e65100;
}
.refresh-icon.spin {
animation: spin 1s linear infinite;
opacity: 0.5;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.scroll-area {
position: fixed;
top: 280rpx;
left: 0;
right: 0;
bottom: 0;
z-index: 50;
}
.scroll-area.has-tabs.dashou { top: 300rpx; }
.scroll-area.has-tabs.guanshi { top: 420rpx; }
.scroll-area.has-tabs.zuzhang { top: 320rpx; }
.scroll-area.guanshi:not(.has-tabs) { top: 400rpx; }
.scroll-area.zuzhang:not(.has-tabs) { top: 300rpx; }
.state-box,
.empty-box {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 80rpx 40rpx;
margin: 24rpx;
background: #fff;
border-radius: 24rpx;
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
}
.spinner {
width: 64rpx;
height: 64rpx;
border: 4rpx solid #ffe082;
border-top-color: #e65100;
border-radius: 50%;
animation: spin 0.8s linear infinite;
margin-bottom: 20rpx;
}
.spinner.sm {
width: 36rpx;
height: 36rpx;
margin-bottom: 0;
margin-right: 12rpx;
}
.empty-icon {
font-size: 72rpx;
margin-bottom: 16rpx;
}
.empty-title {
font-size: 30rpx;
font-weight: 600;
color: #333;
margin-bottom: 8rpx;
}
.empty-tip {
font-size: 24rpx;
color: #999;
margin-bottom: 32rpx;
text-align: center;
}
.empty-btn {
padding: 16rpx 48rpx;
background: linear-gradient(180deg, #fae04d, #ffc0a3);
color: #492f00;
font-size: 28rpx;
font-weight: 600;
border-radius: 999rpx;
}
.list-hd {
display: flex;
align-items: baseline;
margin: 8rpx 24rpx 16rpx;
}
.list-title {
font-size: 30rpx;
font-weight: 700;
color: #333;
margin-right: 12rpx;
}
.list-count {
font-size: 24rpx;
color: #999;
}
.record-list {
padding: 0 24rpx 40rpx;
}
.record-card {
display: flex;
align-items: center;
padding: 24rpx;
margin-bottom: 16rpx;
background: #fff;
border-radius: 20rpx;
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
}
.record-card.avatar-card .avatar {
width: 88rpx;
height: 88rpx;
border-radius: 50%;
margin-right: 20rpx;
flex-shrink: 0;
background: #eee;
}
.record-main {
flex: 1;
min-width: 0;
}
.record-title {
display: block;
font-size: 28rpx;
font-weight: 600;
color: #333;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.record-time {
display: block;
font-size: 22rpx;
color: #999;
margin-top: 6rpx;
}
.record-amt {
font-size: 30rpx;
font-weight: 700;
flex-shrink: 0;
}
.record-amt.plus {
color: #2e7d32;
}
.amt-col {
text-align: right;
}
.bonus-card {
display: flex;
align-items: center;
padding: 20rpx;
margin-bottom: 16rpx;
background: #fff;
border-radius: 20rpx;
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
}
.bonus-left,
.bonus-right {
display: flex;
align-items: center;
flex: 1;
min-width: 0;
}
.bonus-right {
flex-direction: row;
justify-content: flex-end;
}
.avatar.sm {
width: 64rpx;
height: 64rpx;
border-radius: 50%;
margin-right: 12rpx;
flex-shrink: 0;
background: #eee;
}
.bonus-info {
min-width: 0;
flex: 1;
}
.bonus-mid {
display: flex;
flex-direction: column;
align-items: center;
padding: 0 8rpx;
flex-shrink: 0;
}
.bonus-tag {
font-size: 20rpx;
color: #999;
}
.bonus-arrow {
font-size: 24rpx;
color: #e65100;
}
.footer-tip {
display: flex;
align-items: center;
justify-content: center;
padding: 24rpx;
font-size: 24rpx;
color: #999;
}
.footer-tip.muted {
padding-bottom: 60rpx;
}
.error-bar {
position: fixed;
bottom: 40rpx;
left: 24rpx;
right: 24rpx;
z-index: 200;
background: #fff;
border-radius: 16rpx;
padding: 20rpx 24rpx;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.12);
font-size: 26rpx;
color: #666;
}
.error-btn {
padding: 10rpx 28rpx;
background: linear-gradient(180deg, #fae04d, #ffc0a3);
color: #492f00;
font-size: 24rpx;
font-weight: 600;
border-radius: 999rpx;
}