From f76034492b4b94fce829c387b6e7bcff05997d98 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Thu, 9 Oct 2025 23:50:07 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B0=83=E6=95=B4=20hard=20=E5=80=BC?= =?UTF-8?q?=E5=8D=B3=E5=BC=80=E5=9C=BA=E5=8A=A8=E7=94=BB=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages-user/client-modules/src/render/ui/title.tsx | 3 ++- public/project/data.js | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages-user/client-modules/src/render/ui/title.tsx b/packages-user/client-modules/src/render/ui/title.tsx index 74df0eb..060b323 100644 --- a/packages-user/client-modules/src/render/ui/title.tsx +++ b/packages-user/client-modules/src/render/ui/title.tsx @@ -138,7 +138,7 @@ export const GameTitle = defineComponent(props => { /** 开始界面按钮的不透明度,选择难度界面的不透明度使用 `1-buttonsAlpha` 计算 */ const buttonsAlpha = transitioned(1, 300, linear())!; /** 开始界面的不透明度 */ - const mainAlpha = transitioned(1, 600, linear())!; + const mainAlpha = transitioned(0, 600, linear())!; const buttonFilter = ` drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.4)) @@ -331,6 +331,7 @@ export const GameTitle = defineComponent(props => { onMounted(() => { enterMain(0); + mainAlpha.set(1); }); return () => ( diff --git a/public/project/data.js b/public/project/data.js index 0d153d6..b8a5ae5 100644 --- a/public/project/data.js +++ b/public/project/data.js @@ -124,7 +124,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "color": [ 0, 255, - 22, + 0, 1 ], "action": [] @@ -135,7 +135,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "hard": 2, "color": [ 255, - 0, + 255, 0, 1 ], @@ -144,7 +144,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = { "title": "困难", "name": "hard", - "hard": 2, + "hard": 3, "color": [ 255, 0,