优化结构目录,新增部署脚本,一键上传s3 和刷新 cdn
This commit is contained in:
@@ -839,7 +839,7 @@ export default function Home() {
|
||||
onClick={() => updateSetting({ bt_next: 0 })}
|
||||
className="w-10 h-10 rounded-full flex items-center justify-center transition-all active:scale-95"
|
||||
style={{ background: "rgba(0,255,246,0.15)", border: "1px solid rgba(0,255,246,0.3)" }}>
|
||||
<img src={`${import.meta.env.BASE_URL}player/skip-forward.png`} alt="上一首" className="w-5 h-5" />
|
||||
<img src={`${import.meta.env.BASE_URL}images/player/skip-forward.png`} alt="上一首" className="w-5 h-5" />
|
||||
</button>
|
||||
<button
|
||||
onClick={() => updateSetting({ bt_play: 1 })}
|
||||
@@ -847,8 +847,8 @@ export default function Home() {
|
||||
style={{ background: "transparent", border: "1px solid rgba(0,255,246,0.5)", boxShadow: "0 0 12px rgba(0,255,246,0.4)" }}>
|
||||
<img
|
||||
src={ds.bt_status === 1
|
||||
? `${import.meta.env.BASE_URL}player/play.png`
|
||||
: `${import.meta.env.BASE_URL}player/pause.png`}
|
||||
? `${import.meta.env.BASE_URL}images/player/play.png`
|
||||
: `${import.meta.env.BASE_URL}images/player/pause.png`}
|
||||
alt={ds.bt_status === 1 ? "播放" : "暂停"}
|
||||
className="w-6 h-6"
|
||||
/>
|
||||
@@ -857,7 +857,7 @@ export default function Home() {
|
||||
onClick={() => updateSetting({ bt_next: 1 })}
|
||||
className="w-10 h-10 rounded-full flex items-center justify-center transition-all active:scale-95"
|
||||
style={{ background: "rgba(0,255,246,0.15)", border: "1px solid rgba(0,255,246,0.3)" }}>
|
||||
<img src={`${import.meta.env.BASE_URL}player/skip-back.png`} alt="下一首" className="w-5 h-5" />
|
||||
<img src={`${import.meta.env.BASE_URL}images/player/skip-back.png`} alt="下一首" className="w-5 h-5" />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -919,7 +919,7 @@ export default function Home() {
|
||||
onClick={() => updateSetting({ dsp_enable: bypassOn ? 1 : 0 })}
|
||||
>
|
||||
<img
|
||||
src={`${import.meta.env.BASE_URL}home/bypass.png`}
|
||||
src={`${import.meta.env.BASE_URL}images/home/bypass.png`}
|
||||
alt="Bypass"
|
||||
className="w-[25px] h-[25px] object-contain"
|
||||
style={{ opacity: bypassOn ? 1 : 0.6, transform: "translateX(1.5px)" }}
|
||||
@@ -958,7 +958,7 @@ export default function Home() {
|
||||
icon={<Gauge size={16} />}
|
||||
label={homeText.vu ?? "VU表"}
|
||||
value={vuLabel}
|
||||
thumbnail={`${import.meta.env.BASE_URL}vu/vu${(ds.vu ?? 0) + 1}.png`}
|
||||
thumbnail={`${import.meta.env.BASE_URL}images/vu/vu${(ds.vu ?? 0) + 1}.png`}
|
||||
onClick={() => setLocation("/vu")}
|
||||
/>
|
||||
<ListRow
|
||||
|
||||
@@ -62,7 +62,7 @@ import localeEn from "@/locales/data-en.json";
|
||||
|
||||
const iisModeImageUrl = (index: number) =>
|
||||
|
||||
`${import.meta.env.BASE_URL}IIS/iis_app${index + 1}.png`;
|
||||
`${import.meta.env.BASE_URL}images/IIS/iis_app${index + 1}.png`;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ interface VUStyle {
|
||||
const VU_STYLES: VUStyle[] = Array.from({ length: 16 }, (_, i) => ({
|
||||
index: i,
|
||||
name: `VU ${i + 1}`,
|
||||
preview: `${import.meta.env.BASE_URL}vu/vu${i + 1}.png`,
|
||||
preview: `${import.meta.env.BASE_URL}images/vu/vu${i + 1}.png`,
|
||||
}));
|
||||
|
||||
export default function VUPage() {
|
||||
|
||||
Reference in New Issue
Block a user