diff --git a/ui/src/main.tsx b/ui/src/main.tsx index 980e724..d269da8 100644 --- a/ui/src/main.tsx +++ b/ui/src/main.tsx @@ -89,7 +89,7 @@ function App(){ if(parts[1]==='launcher')return ; if(parts[1]==='notifications')return ; if(windowPlugin){const p=status.database.plugins[windowPlugin];return
{p?.enabled&&!status.database.safeMode?:

{t("插件已停用或正在启动。")}

}{error&&

{error}

}
;} - return
{managerMode?<>{managerSection==='plugins'&&}:<>}
{error&&

{error}

}{status.database.safeMode&&

{t("安全模式:第三方插件暂停运行。")}

} + return
{managerMode?<>{managerSection==='plugins'&&}:<>}
{error&&

{error}

}{status.database.safeMode&&

{t("安全模式:第三方插件暂停运行。")}

} {selected?<>
{selected.manifest.name}{managerMode&&}
{selected.enabled&&!status.database.safeMode&&selected.manifest.ui.quickPage?:

{t("插件已停用、处于安全模式或没有快捷页面。")}

}:
{(tab==='favorites'||tab==='installed')&&<> {managerMode&&

{t("已安装")}

{plugins.length}{t("个插件,")}{plugins.filter(p=>p.enabled).length}{t("个已启用")}

setQuery(e.target.value)}/>
} diff --git a/ui/src/style.css b/ui/src/style.css index d57c5f2..9a30276 100644 --- a/ui/src/style.css +++ b/ui/src/style.css @@ -193,3 +193,5 @@ button{overflow-wrap:anywhere} /* Tint layers preserve the shell alpha; do not add opaque scrolling surfaces. */ @media(prefers-reduced-transparency:reduce){:root{--bg:#121212;--surface:#1a1a1a;--overlay-bg:#121212;--manager-content-tint:#1a1a1c;--manager-chrome-tint:#202022}} + +.manager .shell-header .manager-install-button{min-height:44px;padding:8px 14px;font-size:18px;gap:8px;white-space:nowrap;flex:none}