From 1fab9b3d97c03e37c86cc3126d3ba0ddce591687 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 24 Apr 2024 15:30:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BC=80=E7=AB=99=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=9A=84=E9=83=A8=E5=88=86=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ConfigNeInfoPara5G.vue | 133 +++++++++++++++++- .../components/SoftwareLicense.vue | 2 +- src/views/system/quick-build/hooks/useStep.ts | 4 + src/views/system/quick-build/index.vue | 2 +- 4 files changed, 132 insertions(+), 9 deletions(-) diff --git a/src/views/system/quick-build/components/ConfigNeInfoPara5G.vue b/src/views/system/quick-build/components/ConfigNeInfoPara5G.vue index 1a07016c..098ba814 100644 --- a/src/views/system/quick-build/components/ConfigNeInfoPara5G.vue +++ b/src/views/system/quick-build/components/ConfigNeInfoPara5G.vue @@ -1,17 +1,136 @@ diff --git a/src/views/system/quick-build/components/SoftwareLicense.vue b/src/views/system/quick-build/components/SoftwareLicense.vue index c59d0783..9c10a2f8 100644 --- a/src/views/system/quick-build/components/SoftwareLicense.vue +++ b/src/views/system/quick-build/components/SoftwareLicense.vue @@ -8,7 +8,7 @@ import { stepState, fnToStepName, fnStepPrev } from '../hooks/useStep'; 上一步 - 跳过 + 结束 diff --git a/src/views/system/quick-build/hooks/useStep.ts b/src/views/system/quick-build/hooks/useStep.ts index 5e872c0b..7f313c20 100644 --- a/src/views/system/quick-build/hooks/useStep.ts +++ b/src/views/system/quick-build/hooks/useStep.ts @@ -21,6 +21,7 @@ type StepStateType = { /**步骤信息状态 */ export const stepState: StepStateType = reactive({ stepName: 'Start', + current: 0, steps: [ { @@ -54,11 +55,14 @@ export const stepState: StepStateType = reactive({ /**步骤信息状态复位 */ export function fnRestStepState() { + stepState.stepName = 'Start'; + stepState.current = 0; stepState.stepNext = false; stepState.states = []; } +/**跳转步骤组件 */ export function fnToStepName(stepName: string) { stepState.stepName = stepName; } diff --git a/src/views/system/quick-build/index.vue b/src/views/system/quick-build/index.vue index 621cec47..6788f4d9 100644 --- a/src/views/system/quick-build/index.vue +++ b/src/views/system/quick-build/index.vue @@ -67,7 +67,6 @@ onMounted(() => { position: relative; width: 100%; min-height: 100%; - padding-top: 164px; // background: url('./../assets/black_dot.png') 0% 0% / 14px 14px repeat; @@ -82,5 +81,6 @@ onMounted(() => { min-width: 360px; margin: 0 auto; border-radius: 6px; + top: 4vh; }