兼容低内核版本的浏览器

This commit is contained in:
eafonyang
2026-06-03 15:42:58 +08:00
parent e17c096f0b
commit 56da3e0d1f
29 changed files with 1246 additions and 82 deletions
+3 -5
View File
@@ -22,7 +22,7 @@ import {
} from "lucide-react";
import { Link, useLocation } from "wouter";
import { useMemo } from "react";
import { appShellColumnClass, appShellGutterClass } from "@/lib/appShell";
import { bottomNavInnerClass, bottomNavOuterClass } from "@/lib/appShell";
type BottomNavLocale = NonNullable<(typeof localeZh)["bottomNav"]>;
@@ -56,11 +56,9 @@ export default function BottomNav() {
}, [deviceState?.language]);
return (
<nav
className={`fixed inset-x-0 bottom-0 z-50 flex justify-center pointer-events-none ${appShellGutterClass}`}
>
<nav className={bottomNavOuterClass}>
<div
className={`pointer-events-auto ${appShellColumnClass}`}
className={bottomNavInnerClass}
style={{
background: "rgba(10, 10, 12, 0.96)",
backdropFilter: "blur(40px) saturate(200%)",