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; }