加工路线中step居中
This commit is contained in:
parent
c95c7134d7
commit
976c92cdec
|
|
@ -18,7 +18,7 @@
|
||||||
</el-header>
|
</el-header>
|
||||||
<el-main class="nopadding">
|
<el-main class="nopadding">
|
||||||
<div style="height: 90%; padding: 8px">
|
<div style="height: 90%; padding: 8px">
|
||||||
<el-steps direction="vertical" active="20">
|
<el-steps direction="vertical" active="20" id="elSteps">
|
||||||
<el-step v-for="item in currentRoute" v-bind:key="item.id" :title="item.process_name" />
|
<el-step v-for="item in currentRoute" v-bind:key="item.id" :title="item.process_name" />
|
||||||
</el-steps>
|
</el-steps>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -235,4 +235,16 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style scope>
|
||||||
|
#elSteps .el-step.is-vertical .el-step__title{
|
||||||
|
width:40px!important;
|
||||||
|
}
|
||||||
|
#elSteps .el-step.is-vertical .el-step__main{
|
||||||
|
/* width:60px!important; */
|
||||||
|
flex-grow: unset!important;
|
||||||
|
}
|
||||||
|
#elSteps .el-step.is-vertical{
|
||||||
|
margin:auto!important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Loading…
Reference in New Issue