From a9a436f14cf5e5493bfd5d054cda29d06ee52671 Mon Sep 17 00:00:00 2001 From: reng Date: Wed, 19 Nov 2025 13:04:25 +0800 Subject: [PATCH] add hint --- vite/public/cuelist_moty.json | 12 +++++++++--- vite/src/pages/flow_moty.jsx | 8 ++++---- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/vite/public/cuelist_moty.json b/vite/public/cuelist_moty.json index 0f8e493..7bcd7aa 100644 --- a/vite/public/cuelist_moty.json +++ b/vite/public/cuelist_moty.json @@ -39,7 +39,9 @@ "description": "撥打音效", "auto": true, "audioFile": "assets/moty/q2-1.mp3", - "nextcue": 3 + "nextcue": 3, + "hint":"輸入完成", + "hint_time":100 }, { "id": 3, @@ -49,7 +51,9 @@ "auto": true, "audioFile": "assets/moty/q3.mp3", "nextcue": 4, - "status_delay": 3000 + "status_delay": 3000, + "hint":"你想像中的美好未來\n長什麼樣子?", + "hint_time":1000 }, { "id": 4, @@ -100,7 +104,9 @@ "auto": true, "audioFile": "assets/moty/q7-1.mp3", "nextcue": 8, - "status":"intro" + "status":"intro", + "hint":"裝置使用完畢\n祝福你抵達你所期望的未來", + "hint_time":100 }, { "id": 8, diff --git a/vite/src/pages/flow_moty.jsx b/vite/src/pages/flow_moty.jsx index c81b18f..608f325 100644 --- a/vite/src/pages/flow_moty.jsx +++ b/vite/src/pages/flow_moty.jsx @@ -1099,17 +1099,17 @@ export function FlowMoty(){
-
+
{history?.map((msg, index) => (
-
{blurText(msg.content)}
- {msg.prompt &&
{blurText(msg.prompt)}
} +
{msg.content}
+ {msg.prompt &&
{msg.prompt}
}
))} {summary &&
{summary}
}