diff --git a/frontend/src/app/globals.css b/frontend/src/app/globals.css index 9bc0e5c..f67fb51 100644 --- a/frontend/src/app/globals.css +++ b/frontend/src/app/globals.css @@ -271,4 +271,31 @@ transparent ); } + + /* 手机通话页「开始通话」引导光晕:柔和向外扩散的涟漪环 */ + @keyframes mobile-call-ripple { + 0% { + transform: scale(1); + opacity: 0.55; + } + 100% { + transform: scale(1.85); + opacity: 0; + } + } + + .mobile-call-ripple { + animation: mobile-call-ripple 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite; + } + + .mobile-call-ripple-delay { + animation-delay: 1.2s; + } + + @media (prefers-reduced-motion: reduce) { + .mobile-call-ripple, + .mobile-call-ripple-delay { + animation: none; + } + } } diff --git a/frontend/src/components/pages/MobileCallPage.tsx b/frontend/src/components/pages/MobileCallPage.tsx index fb93be0..7b61196 100644 --- a/frontend/src/components/pages/MobileCallPage.tsx +++ b/frontend/src/components/pages/MobileCallPage.tsx @@ -543,25 +543,34 @@ export function MobileCallPage({ assistantId }: { assistantId: string }) { {!inCall && (
AI 助手
-{error}
} + {error && ( +{error}
+ )}