feat: 优化语言切换下拉交互并支持玩法规则多语言内容

This commit is contained in:
2026-05-22 16:55:45 +08:00
parent 52702c9fbb
commit 2bf44e4c29
5 changed files with 126 additions and 89 deletions

View File

@@ -26,8 +26,8 @@ export function HallScreen() {
return (
<div className="mx-auto w-full max-w-[480px]">
<section className={cn("overflow-hidden bg-white text-slate-900", playerPageInset)}>
<header className="mb-2 flex min-h-9 items-center gap-2">
<section className={cn("bg-white text-slate-900", playerPageInset)}>
<header className="relative z-20 mb-2 flex min-h-9 items-center gap-2 overflow-visible">
<div className="flex min-w-0 flex-1 items-center">
<Image
src="/logo.png"
@@ -41,6 +41,7 @@ export function HallScreen() {
<div className="flex shrink-0 items-center gap-1">
<LanguageSwitcher
variant="minimal"
menuAlign="end"
showFlag={false}
className={cn(
playerHeaderControl,