123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- /* 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;
- }
|