/* pages/refund/refund-list/index.wxss */ .refund-list { background-color: #f5f5f5; min-height: 100vh; } /* 页面标题 */ .page-header { background-color: #fff; padding: 32rpx; border-bottom: 1rpx solid #eee; } .page-title { font-size: 36rpx; font-weight: 600; color: #333; } /* 状态筛选 */ .status-filter { display: flex; background-color: #fff; padding: 24rpx 32rpx; border-bottom: 1rpx solid #eee; } .filter-item { flex: 1; text-align: center; padding: 16rpx 0; font-size: 28rpx; color: #666; border-radius: 8rpx; transition: all 0.3s ease; } .filter-item.active { background-color: #ff6b35; color: #fff; } /* 退款记录列表 */ .refund-items { padding: 24rpx 32rpx; } .refund-item { background-color: #fff; border-radius: 16rpx; padding: 32rpx; margin-bottom: 24rpx; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05); } /* 退款头部 */ .refund-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24rpx; } .refund-status { padding: 8rpx 16rpx; border-radius: 8rpx; font-size: 24rpx; font-weight: 500; } .refund-status.pending { background-color: #fff3cd; color: #856404; } .refund-status.approved { background-color: #d1ecf1; color: #0c5460; } .refund-status.rejected { background-color: #f8d7da; color: #721c24; } .refund-status.completed { background-color: #d4edda; color: #155724; } .refund-time { font-size: 24rpx; color: #999; } /* 订单信息 */ .order-info { display: flex; align-items: center; margin-bottom: 16rpx; } .order-label { font-size: 28rpx; color: #666; margin-right: 16rpx; } .order-no { font-size: 28rpx; color: #333; font-weight: 500; } /* 退款金额 */ .refund-amount { display: flex; align-items: center; margin-bottom: 16rpx; } .amount-label { font-size: 28rpx; color: #666; margin-right: 16rpx; } .amount-value { font-size: 32rpx; color: #ff6b35; font-weight: 600; } /* 退款原因 */ .refund-reason { display: flex; margin-bottom: 24rpx; } .reason-label { font-size: 28rpx; color: #666; margin-right: 16rpx; flex-shrink: 0; } .reason-text { font-size: 28rpx; color: #333; line-height: 1.5; } /* 操作按钮 */ .refund-actions { display: flex; justify-content: flex-end; gap: 16rpx; } .action-btn { padding: 12rpx 24rpx; border-radius: 8rpx; font-size: 26rpx; text-align: center; min-width: 120rpx; } .action-btn.primary { background-color: #ff6b35; color: #fff; } .action-btn.secondary { background-color: #f8f9fa; color: #666; border: 1rpx solid #dee2e6; } /* 空状态 */ .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120rpx 32rpx; } .empty-icon { width: 200rpx; height: 200rpx; margin-bottom: 32rpx; opacity: 0.6; } .empty-text { font-size: 28rpx; color: #999; } /* 加载状态 */ .loading-state { display: flex; justify-content: center; align-items: center; padding: 80rpx 32rpx; font-size: 28rpx; color: #999; }