45 lines
964 B
Vue
45 lines
964 B
Vue
<template>
|
|
<div class="step-box" v-show="statusStore.uiComponents.stepBar.show">
|
|
<el-steps
|
|
style="width: 100%; background-color: #ffffff00"
|
|
:active="stepStore.currentStep"
|
|
finish-status="success"
|
|
process-status="success"
|
|
simple
|
|
>
|
|
<el-step
|
|
v-for="(item, index) in stepStore.stepList"
|
|
:key="index"
|
|
:title="item"
|
|
/>
|
|
</el-steps>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { useStatusStore } from '@/stores/useStatusStore';
|
|
import { useStepStore } from '@/stores/useStepStore';
|
|
|
|
const statusStore = useStatusStore();
|
|
const stepStore = useStepStore();
|
|
</script>
|
|
|
|
<style scoped>
|
|
.step-box {
|
|
width: 100%;
|
|
height: 65px;
|
|
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;
|
|
}
|
|
|
|
:deep(.is-wait) {
|
|
color: #fff;
|
|
}
|
|
</style>
|