添加步骤条

This commit is contained in:
wzy-warehouse
2026-05-06 19:22:10 +08:00
parent ab13567d1d
commit a125872cf5
7 changed files with 67 additions and 4 deletions
@@ -0,0 +1,36 @@
<template>
<div class="step-box">
<el-steps
style="max-width: 100%"
:active="useStepStore().currentStep"
finish-status="success"
simple
v-if="useStepStore().stepList.length > 0"
>
<el-step
v-for="(item, index) in useStepStore().stepList"
:key="index"
:title="item"
/>
</el-steps>
</div>
</template>
<script lang="ts" setup>
import { useStepStore } from '@/stores/useStepStore';
</script>
<style scoped>
.step-box {
width: 100%;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 50px;
left: 0;
background-color: rgba(14, 52, 98, 0.8);
z-index: 1000;
}
</style>