Update project dependencies and configuration: Added ECharts for data visualization, integrated Terser for minification, and adjusted Vite configuration for production. Updated app title and ConnectScreen content to reflect new version. Enhanced EQPage with headphone model loading and frequency response chart rendering.

This commit is contained in:
yangy
2026-04-09 17:00:44 +08:00
parent 502f708336
commit 53f24d5bb4
33 changed files with 3522 additions and 102 deletions
+5 -40
View File
@@ -13,48 +13,14 @@ import { useLocation } from "wouter";
interface VUStyle {
index: number;
name: string;
description: string;
preview: string;
}
const VU_STYLES: VUStyle[] = [
{
index: 0,
name: "经典复古",
description: "琥珀色指针表盘,经典模拟风格",
preview: "/vu/vu1.png",
},
{
index: 1,
name: "现代平面",
description: "LED 电平条,简洁现代风格",
preview: "/vu/vu2.png",
},
{
index: 2,
name: "数字显示",
description: "数字电平显示,精准直观",
preview: "/vu/vu3.png",
},
{
index: 3,
name: "条形图",
description: "垂直条形图,专业风格",
preview: "/vu/vu4.png",
},
{
index: 4,
name: "渐变光谱",
description: "彩虹渐变光谱,炫酷动感",
preview: "/vu/vu5.png",
},
{
index: 5,
name: "频谱分析",
description: "实时频谱分析,专业监测",
preview: "/vu/vu6.png",
},
];
const VU_STYLES: VUStyle[] = Array.from({ length: 16 }, (_, i) => ({
index: i,
name: `VU ${i + 1}`,
preview: `/vu/vu${i + 1}.png`,
}));
export default function VUPage() {
const [, setLocation] = useLocation();
@@ -112,7 +78,6 @@ export default function VUPage() {
<p className={cn("text-[15px] font-medium", isActive ? "text-[#00FFF6]" : "text-white/60")}>
{style.name}
</p>
<p className="text-[12px] text-white/35 mt-0.5">{style.description}</p>
</div>
</div>
);