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,