index.less 3.88 KB
// 意见反馈列表页面样式
.feedback-list {
    min-height: 100vh;
    background-color: #f9fafb;
    padding-bottom: 120rpx; // 为固定按钮留出空间

    .feedback-item {
        background: white;
        border-radius: 24rpx;
        margin: 16rpx 32rpx;
        padding: 32rpx;
        box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;

        &:active {
            transform: scale(0.98);
        }

        .feedback-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16rpx;

            .feedback-id {
                font-size: 28rpx;
                color: #666;
                font-weight: 500;
            }

            .feedback-status {
                padding: 8rpx 16rpx;
                border-radius: 12rpx;
                font-size: 24rpx;
                font-weight: 500;

                &.pending {
                    background-color: #fef3c7;
                    color: #d97706;
                }

                &.processed {
                    background-color: #d1fae5;
                    color: #059669;
                }
            }
        }

        .feedback-content {
            margin-bottom: 16rpx;

            .feedback-note {
                font-size: 32rpx;
                color: #333;
                line-height: 1.5;
                margin-bottom: 16rpx;
            }

            .feedback-meta {
                display: flex;
                flex-wrap: wrap;
                gap: 16rpx;
                font-size: 26rpx;
                color: #666;

                .meta-item {
                    display: flex;
                    align-items: center;
                }
            }
        }

        .feedback-images {
            display: flex;
            flex-wrap: wrap;
            gap: 16rpx;
            margin-bottom: 16rpx;

            .feedback-image {
                width: 120rpx;
                height: 120rpx;
                border-radius: 12rpx;
                overflow: hidden;
            }
        }

        .feedback-reply {
            background-color: #f8fafc;
            border-radius: 16rpx;
            padding: 24rpx;
            margin-top: 16rpx;

            .reply-label {
                font-size: 26rpx;
                color: #666;
                margin-bottom: 8rpx;
            }

            .reply-content {
                font-size: 30rpx;
                color: #333;
                line-height: 1.5;
                margin-bottom: 8rpx;
            }

            .reply-time {
                font-size: 24rpx;
                color: #999;
            }
        }
    }

    .empty-state {
        text-align: center;
        padding: 120rpx 32rpx;

        .empty-icon {
            font-size: 120rpx;
            color: #d1d5db;
            margin-bottom: 32rpx;
        }

        .empty-title {
            font-size: 36rpx;
            color: #6b7280;
            margin-bottom: 16rpx;
        }

        .empty-desc {
            font-size: 28rpx;
            color: #9ca3af;
        }
    }

    .load-more {
        text-align: center;
        padding: 32rpx;
        color: #3b82f6;
        font-size: 28rpx;
    }

    .no-more {
        text-align: center;
        padding: 32rpx;
        color: #9ca3af;
        font-size: 28rpx;
    }
}

// 固定按钮样式
.fixed-button {
    position: fixed;
    bottom: 32rpx;
    left: 32rpx;
    right: 32rpx;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    color: white;
    border-radius: 24rpx;
    padding: 25rpx;
    text-align: center;
    font-size: 32rpx;
    font-weight: 600;
    box-shadow: 0 8rpx 24rpx rgba(var(--primary-color), 0.3);
    z-index: 1000;
    transition: all 0.3s ease;

    &:active {
        transform: scale(0.95);
        box-shadow: 0 4rpx 12rpx rgba(var(--primary-color), 0.3);
    }
}