/* pages/distribution/commission.wxss */ .container { min-height: 100vh; background: #f8f8f8; } /* 佣金概览卡片 */ .overview-card { margin: 20rpx; padding: 30rpx; background: linear-gradient(135deg, #ff4d4f, #ff7875); border-radius: 16rpx; color: #fff; box-shadow: 0 4rpx 12rpx rgba(255, 77, 79, 0.2); } .total-section { text-align: center; margin-bottom: 30rpx; } .total-section .label { font-size: 28rpx; opacity: 0.9; margin-bottom: 10rpx; } .total-section .amount { font-size: 60rpx; font-weight: 600; } .stats-row { display: flex; justify-content: space-between; padding-top: 20rpx; border-top: 1rpx solid rgba(255, 255, 255, 0.2); } .stat-item { flex: 1; text-align: center; } .stat-item .value { display: block; font-size: 32rpx; font-weight: 500; margin-bottom: 8rpx; } .stat-item .label { font-size: 24rpx; opacity: 0.9; } /* 标签页样式 */ .tabs { display: flex; background: #fff; padding: 0 20rpx; position: sticky; top: 0; z-index: 100; } .tab { flex: 1; height: 80rpx; display: flex; align-items: center; justify-content: center; font-size: 28rpx; color: #666; position: relative; } .tab.active { color: #ff4d4f; font-weight: 500; } .tab.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40rpx; height: 4rpx; background: #ff4d4f; border-radius: 2rpx; } /* 佣金明细列表 */ .commission-list { padding: 20rpx; } .commission-item { background: #fff; border-radius: 12rpx; padding: 20rpx; margin-bottom: 20rpx; } .commission-info { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16rpx; } .main-info { flex: 1; margin-right: 20rpx; } .title { font-size: 28rpx; color: #333; margin-bottom: 8rpx; } .time { font-size: 24rpx; color: #999; } .amount { font-size: 32rpx; color: #ff4d4f; font-weight: 500; } .amount.pending { color: #faad14; } .detail-info { background: #f8f8f8; padding: 16rpx; border-radius: 8rpx; } .detail-item { display: flex; font-size: 24rpx; margin-bottom: 8rpx; } .detail-item:last-child { margin-bottom: 0; } .detail-item .label { color: #666; width: 140rpx; } .detail-item .value { color: #333; flex: 1; } .pending-text { color: #faad14; } .settled-text { color: #52c41a; } /* 加载更多样式 */ .loading { text-align: center; padding: 20rpx 0; } .loading-text { font-size: 24rpx; color: #999; } /* 空状态样式 */ .empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100rpx 0; } .empty-icon { width: 200rpx; height: 200rpx; margin-bottom: 20rpx; } .empty-text { font-size: 28rpx; color: #999; }