ai-c/pages/commission/commission.wxss
2026-02-02 18:21:32 +08:00

267 lines
4.0 KiB
Plaintext

.page {
min-height: 100vh;
background: #F8F9FC;
display: flex;
flex-direction: column;
}
.nav-container {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
}
.status-bar { background: transparent; }
.nav-bar {
display: flex;
align-items: center;
justify-content: center;
padding: 0 32rpx;
position: relative;
}
.nav-back {
position: absolute;
left: 32rpx;
top: 50%;
transform: translateY(-50%);
width: 80rpx;
height: 80rpx;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
}
.back-icon {
width: 48rpx;
height: 48rpx;
}
.nav-title {
font-size: 34rpx;
font-weight: 700;
color: #1A1A1A;
}
/* Top Card Section */
.top-section {
padding: 20rpx 32rpx;
background: #F8F9FC;
}
.commission-card {
background: linear-gradient(135deg, #CF91D3 0%, #B06AB3 100%);
border-radius: 40rpx;
padding: 40rpx 48rpx;
color: #FFFFFF;
box-shadow: 0 10rpx 30rpx rgba(176, 106, 179, 0.3);
}
.card-header {
display: flex;
align-items: center;
gap: 16rpx;
margin-bottom: 32rpx;
}
.card-title {
font-size: 32rpx;
font-weight: 600;
}
.balance-label {
display: block;
font-size: 26rpx;
opacity: 0.9;
margin-bottom: 8rpx;
}
.balance-value {
font-size: 80rpx;
font-weight: 800;
line-height: 1;
margin-bottom: 40rpx;
display: block;
}
.divider {
height: 1rpx;
background: rgba(255,255,255,0.2);
margin-bottom: 24rpx;
}
.stats-row {
display: flex;
align-items: center;
}
.stat-item {
display: flex;
align-items: center;
gap: 12rpx;
}
.stat-text {
font-size: 28rpx;
font-weight: 500;
}
/* List Section */
.record-title-row {
padding: 20rpx 32rpx 10rpx;
}
.record-title {
font-size: 34rpx;
font-weight: 800;
color: #111827;
}
/* Tabs */
.tabs-container {
display: flex;
align-items: center;
gap: 20rpx;
padding: 20rpx 32rpx;
}
.tab-item {
padding: 16rpx 48rpx;
border-radius: 40rpx;
font-size: 28rpx;
color: #6B7280;
font-weight: 500;
}
.tab-item.active {
background: #B06AB3;
color: #FFFFFF;
font-weight: 600;
box-shadow: 0 4rpx 12rpx rgba(176, 106, 179, 0.3);
}
.tab-item.active-text {
color: #111827;
font-weight: 700;
}
/* Record List */
.record-list {
padding: 10rpx 32rpx;
}
.record-card {
background: #FFFFFF;
border-radius: 32rpx;
padding: 32rpx;
margin-bottom: 24rpx;
box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.02);
}
.card-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24rpx;
}
.left-info {
display: flex;
align-items: center;
}
.user-avatar {
width: 80rpx;
height: 80rpx;
border-radius: 50%;
margin-right: 20rpx;
}
.text-info {
display: flex;
flex-direction: column;
gap: 4rpx;
max-width: 280rpx;
}
.user-name {
font-size: 30rpx;
font-weight: 700;
color: #111827;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.user-role {
font-size: 24rpx;
color: #9CA3AF;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.right-info {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 8rpx;
}
.amount-val {
font-size: 36rpx;
font-weight: 800;
color: #B06AB3;
}
.status-badge {
padding: 4rpx 12rpx;
border-radius: 8rpx;
font-size: 22rpx;
}
.status-badge.green {
background: #DCFCE7;
color: #16A34A;
}
.status-badge.gray {
background: #F3F4F6;
color: #9CA3AF;
}
.card-bottom {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 24rpx;
border-top: 1rpx solid #F9FAFB;
}
.record-time {
font-size: 24rpx;
color: #9CA3AF;
}
.record-id {
font-size: 22rpx;
color: #D1D5DB;
}
.footer-tip {
text-align: center;
color: #D1D5DB;
font-size: 24rpx;
padding: 40rpx 0;
}
.loading, .empty {
text-align: center;
padding: 60rpx;
color: #9CA3AF;
}