添加步骤条
This commit is contained in:
@@ -157,13 +157,13 @@
|
||||
<style scoped>
|
||||
.control-box {
|
||||
position: absolute;
|
||||
top: 75px;
|
||||
top: 125px;
|
||||
left: 30px;
|
||||
z-index: 1001;
|
||||
}
|
||||
.disaster-list-box {
|
||||
position: absolute;
|
||||
top: 65px;
|
||||
top: 115px;
|
||||
left: 20px;
|
||||
background: rgba(14, 52, 98, 0.8);
|
||||
color: white;
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
.left-button-box {
|
||||
width: 180px;
|
||||
position: absolute;
|
||||
top: 45px;
|
||||
top: 95px;
|
||||
z-index: 1000;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
.right-button-box {
|
||||
width: 180px;
|
||||
position: absolute;
|
||||
top: 45px;
|
||||
top: 95px;
|
||||
right: 40px;
|
||||
z-index: 1000;
|
||||
border-radius: 8px;
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user