Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psa-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高滢
psa-web
Commits
66c48d62
Commit
66c48d62
authored
Mar 07, 2025
by
祁正
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
流程图
parent
2e7b037e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
index.vue
src/components/FlowChart/index.vue
+6
-2
No files found.
src/components/FlowChart/index.vue
View file @
66c48d62
<
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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment