Commit 66c48d62 authored by 祁正's avatar 祁正

流程图

parent 2e7b037e
<template> <template>
<div class="all-div"> <div class="all-div" :style="'width:'+widthDontai+';'">
<div class="item" v-for="(item, index) in dataList" :key="index"> <div class="item" v-for="(item, index) in dataList" :key="index">
<!-- 左侧div--> <!-- 左侧div-->
<div :class="['left-div']"> <div :class="['left-div']">
...@@ -31,6 +31,10 @@ const props = defineProps({ ...@@ -31,6 +31,10 @@ const props = defineProps({
default:null, default:null,
required: true required: true
}, },
widthDontai: {
type: String,
default:"100%"
},
}); });
const xuanran = ()=>{ const xuanran = ()=>{
...@@ -72,7 +76,7 @@ onMounted(() => { ...@@ -72,7 +76,7 @@ onMounted(() => {
color: black; color: black;
} }
.all-div { .all-div {
width: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment