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) - + 开始加热 - + 停止加热 - + 开始降温 - + 停止降温