From aee5c573feb6d03515ad854abc513b58d10cf082 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Fri, 23 May 2025 14:58:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=A6=96=E9=A1=B5=E6=BA=B6=E6=B6=B2?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/self.ts | 2 +- src/components/check/index.vue | 2 +- src/components/container/Item/index.vue | 342 ++++++++++++++++++-------------- src/components/home/Liquid/index.vue | 62 ++++++ src/layouts/default.vue | 42 +++- src/router/index.ts | 4 +- src/views/container/index.vue | 2 +- src/views/container/liquidItem.vue | 232 ---------------------- src/views/debug/index.vue | 14 ++ 9 files changed, 310 insertions(+), 392 deletions(-) create mode 100644 src/components/home/Liquid/index.vue delete mode 100644 src/views/container/liquidItem.vue diff --git a/src/apis/self.ts b/src/apis/self.ts index 0d44836..d090ef9 100644 --- a/src/apis/self.ts +++ b/src/apis/self.ts @@ -1,4 +1,4 @@ import http from 'libs/http' export const getSelfStatus = (): Promise> => http.get('/self-test/status') -export const getSelfFinish = (): Promise> => http.post('/self-test/finish') +export const getSelfFinish = (params: boolean): Promise> => http.post('/self-test/finish', { params: { mode: params } }) diff --git a/src/components/check/index.vue b/src/components/check/index.vue index f8dcaf0..b58941f 100644 --- a/src/components/check/index.vue +++ b/src/components/check/index.vue @@ -101,7 +101,7 @@ const alginHandle = async () => { } const onConfirm = async () => { - await getSelfFinish() + await getSelfFinish(true) emits('close') } diff --git a/src/components/container/Item/index.vue b/src/components/container/Item/index.vue index 55ae8b4..effc3e0 100644 --- a/src/components/container/Item/index.vue +++ b/src/components/container/Item/index.vue @@ -1,194 +1,232 @@ - - diff --git a/src/components/home/Liquid/index.vue b/src/components/home/Liquid/index.vue new file mode 100644 index 0000000..7b389b4 --- /dev/null +++ b/src/components/home/Liquid/index.vue @@ -0,0 +1,62 @@ + + + + + diff --git a/src/layouts/default.vue b/src/layouts/default.vue index 0d1f8a2..c785f62 100644 --- a/src/layouts/default.vue +++ b/src/layouts/default.vue @@ -1,6 +1,8 @@ + + + + + + + + + + 前进