@javaguns/flow-ui
Version:
``` <template> <a-spin :spinning="loading"> <FlowDesigner ref="flowDesigner" top="50px"> </FlowDesigner> </a-spin> </template> <script lang="ts" setup> import { ref, provide, onMounted } from 'vue'; import { FlowDesigner, LoadingKey } from '@j
254 lines (253 loc) • 5.67 kB
CSS
.add-user-wrapper {
display: flex;
flex-wrap: wrap;
min-height: 40px;
padding-left: 5px;
}
.add-user-wrapper .add-user-icon {
display: flex;
align-items: center;
width: 40px;
height: 32px;
border-radius: 100px;
border: 1px solid #cccccc;
justify-content: center;
margin-right: 8px;
margin-top: 8px;
cursor: pointer;
}
.add-user-wrapper .add-user-icon:hover {
border: 1px solid #3370ff;
}
.add-user-wrapper .add-user-icon:hover .el-icon-plus {
color: #3370ff;
}
.add-user-wrapper .add-user-item {
display: flex;
align-items: center;
min-width: 70px;
max-width: 50%;
height: 32px;
background: #eff0f1;
border-radius: 16px;
padding: 0 4px;
margin-right: 8px;
margin-top: 8px;
}
.add-user-wrapper .add-user-item img {
width: 24px;
height: 24px;
border-radius: 12px;
}
.add-user-wrapper .add-user-item div {
padding: 0;
margin: 0 4px;
min-width: 28px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.add-user-wrapper .add-user-item i,
.add-user-wrapper .add-user-item svg {
margin-right: 10px;
color: #646a73;
cursor: pointer;
}
.select-add-user-wrapper {
width: 100%;
display: flex;
position: relative;
}
.select-add-user-wrapper .select-add-user {
cursor: pointer;
background-color: #fff;
background-image: none;
border-radius: 4px;
border: 1px solid #dcdfe6;
box-sizing: border-box;
color: #606266;
display: inline-block;
font-size: inherit;
height: 36px;
line-height: 36px;
outline: none;
padding: 0 15px;
transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
width: 100%;
}
.select-add-user-wrapper .select-add-user .select-add-user-span-none {
color: #c0c4cc;
}
.select-add-user-wrapper .select-add-user .select-add-user-span {
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 1;
display: -webkit-box;
-webkit-box-orient: vertical;
}
.select-add-user-wrapper .select-add-user:hover {
box-shadow: 0 0 4px #dcdfe6;
}
.select-add-user-wrapper .select-add-user-icon {
position: absolute;
right: 10px;
}
.flow-select-list {
width: 100%;
height: calc(100% - 12px);
overflow: hidden;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top: 1px #eeeeee solid;
}
.flow-select-list .selected-top {
padding: 0 12px;
height: 40px;
line-height: 40px;
position: relative;
border-bottom: 1px solid #e8e8e8;
}
.flow-select-list .selected-top .selected-del {
position: absolute;
right: 12px;
cursor: pointer;
}
.flow-select-list .selected-top .selected-del:hover {
color: red;
}
.flow-select-list .selected-bottom {
padding: 12px;
height: calc(100% - 60px);
}
.flow-select-list .selected-bottom .bottom-list {
width: 100%;
height: 100%;
overflow-y: auto;
}
.flow-select-list .selected-bottom .list {
display: flex;
border-bottom: 1px solid #e8e8e8;
padding: 0 12px;
height: 100%;
}
.flow-select-list .selected-bottom .list .selected-name {
width: 80%;
padding: 12px 0;
}
.flow-select-list .selected-bottom .list .selected-del {
width: 20%;
cursor: pointer;
padding: 12px 0;
display: flex;
align-items: center;
justify-content: right;
}
.flow-select-list .selected-bottom .list .selected-del:hover {
color: red;
}
.flow-select-user {
width: 100%;
height: 100%;
overflow: hidden;
}
.flow-select-user .flow-select-user-table-card {
width: 100%;
height: calc(100% - 12px);
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.flow-select-user .height100 {
height: 100%;
}
.flow-select-user .search {
height: 40px;
line-height: 40px;
}
.flow-select-user .user-table {
height: calc(100% - 50px);
padding-bottom: 10px;
}
.flow-select-org-tree {
height: calc(100% - 12px) ;
margin-left: 1px;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
background: #fff;
}
.flow-select-org-tree .left-header {
height: 40px;
line-height: 40px;
color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
background: #409eff;
padding: 0 10px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.flow-select-org-tree .left-header .left-header-title {
font-size: 16px;
font-weight: 500;
}
.flow-select-org-tree .left-header .header-add {
font-size: 20px;
cursor: pointer;
}
.flow-select-org-tree .search {
height: 50px;
padding: 10px 10px 0 10px;
}
.flow-select-org-tree .left-tree {
padding: 0 10px;
height: calc(100% - 100px) ;
overflow-y: auto ;
overflow-x: hidden ;
}
.flow-select-org-tree .tree-title {
width: 100%;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.flow-select-org-tree .tree-edit {
width: 100%;
display: inline-block;
position: relative;
}
.flow-select-org-tree .tree-edit .edit-title {
width: calc(100% - 60px);
overflow: hidden;
display: inline-block;
text-overflow: ellipsis;
white-space: nowrap;
}
.flow-select-org-tree .tree-edit .edit-icon {
display: inline-block;
width: 40px;
position: absolute;
right: 10px;
}
.select-common-box {
width: 100%;
height: calc(100vh - 260px);
overflow: hidden;
}
.select-common-box .select-common-box-header {
width: calc(100% - 16px);
border: 1px solid #e8e8e8;
color: rgba(0, 0, 0, 0.65);
padding: 12px;
height: 50px;
overflow-y: auto;
margin-bottom: 10px;
}
.select-common-box .select-common-box-tab :deep(.ant-tabs-tab) {
padding: 12px 16px ;
}
.select-common-box .select-common-box-content {
width: 100%;
height: calc(100% - 75px);
}