'use client'; import { Backdrop, Paper, CircularProgress, Typography, Box, LinearProgress } from '@mui/material'; export default function LoadingBackdrop({ open, title, description, progress = null }) { return ( theme.zIndex.drawer + 1, position: 'fixed', backdropFilter: 'blur(5px)', display: 'flex', alignItems: 'center', justifyContent: 'center' }} open={open} > theme.palette.primary.main }} /> {title} {description} {progress && progress.total > 0 && ( {progress.completed}/{progress.total} ({progress.percentage}%) {progress.questionCount > 0 && ( 已生成问题数: {progress.questionCount} )} )} ); }