From f7d39a28880dc1b97ee8fb35c93bb5e982b77db7 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Wed, 11 Jun 2025 22:05:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=8C=89=E9=92=AE=E6=9D=83=E9=99=90?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/home/Tube/index.vue | 4 ++-- src/stores/systemStore.ts | 18 +++++++++--------- src/views/home/index.vue | 8 ++++---- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/home/Tube/index.vue b/src/components/home/Tube/index.vue index f0c0856..951033d 100644 --- a/src/components/home/Tube/index.vue +++ b/src/components/home/Tube/index.vue @@ -148,7 +148,7 @@ defineExpose({ 继续 - + 停止 @@ -328,7 +328,7 @@ defineExpose({ margin-top: auto; margin-bottom: 10px; display: flex; - justify-content: center; + justify-content: space-around; .ft-button { margin-right: 5px; } diff --git a/src/stores/systemStore.ts b/src/stores/systemStore.ts index faa0eba..7b50342 100644 --- a/src/stores/systemStore.ts +++ b/src/stores/systemStore.ts @@ -146,15 +146,15 @@ export const useSystemStore = defineStore('system', { exists: true, }, ], - // crafts: { - // craft: { - // id: 1, - // name: '菱锌矿硫酸溶解法', - // steps: '[{"name":"加液","method":"addLiquid","params":{"addLiquidList":[{"containerId":1,"volume":3},{"containerId":4,"volume":4},{"containerId":3,"volume":5}],"description":["添加硫酸-3ml; ","添加氢氟酸-4ml; ","添加硝酸-5ml; "]}},{"name":"加热","method":"startHeating","params":{"temperature":4,"second":123,"description":"加热: 4度, 保持2分3秒","minutes":2,"seconds":3}},{"name":"摇匀","method":"shaking","params":{"second":122,"seconds":2,"minutes":2,"description":"摇匀: 122秒"}},{"name":"拍照","method":"takePhoto","params":{"description":"拍照"}}]', - // }, - // state: 'RUNNING', - // currentIndex: 1, - // }, + crafts: { + craft: { + id: 1, + name: '菱锌矿硫酸溶解法', + steps: '[{"name":"加液","method":"addLiquid","params":{"addLiquidList":[{"containerId":1,"volume":3},{"containerId":4,"volume":4},{"containerId":3,"volume":5}],"description":["添加硫酸-3ml; ","添加氢氟酸-4ml; ","添加硝酸-5ml; "]}},{"name":"加热","method":"startHeating","params":{"temperature":4,"second":123,"description":"加热: 4度, 保持2分3秒","minutes":2,"seconds":3}},{"name":"摇匀","method":"shaking","params":{"second":122,"seconds":2,"minutes":2,"description":"摇匀: 122秒"}},{"name":"拍照","method":"takePhoto","params":{"description":"拍照"}}]', + }, + state: 'RUNNING', + currentIndex: 1, + }, }, { uuid: '3', diff --git a/src/views/home/index.vue b/src/views/home/index.vue index c5e053e..42d5050 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -227,19 +227,19 @@ const moreVisible = ref(false)