import { notification } from 'antd'; import { useRouter } from 'next/router'; type NotificationType = 'success' | 'info' | 'warning' | 'error'; const darkGlassStyle = { background: 'rgba(30, 32, 40, 0.95)', backdropFilter: 'blur(10px)', WebkitBackdropFilter: 'blur(10px)', border: '1px solid rgba(255, 255, 255, 0.08)', borderRadius: '8px', boxShadow: '0 4px 16px rgba(0, 0, 0, 0.4)', padding: '12px 16px', }; const messageStyle = { fontSize: '13px', fontWeight: 500, color: '#ffffff', marginBottom: '6px', display: 'flex', alignItems: 'center', gap: '6px', }; const iconStyle = { color: '#F6B266', // 警告图标颜色 background: 'rgba(246, 178, 102, 0.15)', padding: '4px', borderRadius: '6px', display: 'flex', alignItems: 'center', justifyContent: 'center', }; const descriptionStyle = { fontSize: '12px', color: 'rgba(255, 255, 255, 0.65)', marginBottom: '12px', lineHeight: '1.5', }; const btnStyle = { color: 'rgb(250 173 20 / 90%)', background: 'transparent', border: 'none', cursor: 'pointer', padding: 0, fontSize: '12px', fontWeight: 500, textDecoration: 'underline', textUnderlineOffset: '2px', textDecorationColor: 'rgb(250 173 20 / 60%)', transition: 'all 0.2s ease', }; /** 场记板动画样式 */ const clapperboardStyle = { position: 'relative' as const, width: '40px', height: '40px', marginRight: '12px', animation: 'clap 2s infinite', }; /** 场记板文字样式 */ const sceneTextStyle = { fontSize: '14px', fontFamily: 'monospace', color: '#F6B266', marginBottom: '8px', letterSpacing: '0.5px', }; /** 队列信息样式 */ const queueInfoStyle = { display: 'flex', alignItems: 'center', fontSize: '13px', color: 'rgba(255, 255, 255, 0.9)', marginBottom: '12px', background: 'rgba(246, 178, 102, 0.1)', padding: '8px 12px', borderRadius: '6px', }; /** * 场记板SVG组件 */ const Clapperboard = () => (