File tree Expand file tree Collapse file tree 4 files changed +12
-1
lines changed
Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ const toWorkspace = () => {
3737 <Workspace :collapse =" collapse" ></Workspace >
3838 <Menu :collapse =" collapse" ></Menu >
3939 <div class =" bottom" >
40- <div class =" back-to_workspace" @click =" toWorkspace" >
40+ <div class =" back-to_workspace" :class = " collapse && 'collapse' " @click =" toWorkspace" >
4141 <el-icon size =" 16" >
4242 <icon _moments_categories_outlined ></icon _moments_categories_outlined >
4343 </el-icon >
@@ -97,6 +97,11 @@ const toWorkspace = () => {
9797 border-radius : 6px ;
9898 height : 40px ;
9999 cursor : pointer ;
100+
101+ & :not (.collapse ) {
102+ background : #1f23290a ;
103+ border : 1px solid #d9dcdf ;
104+ }
100105 & :hover {
101106 background-color : #1f23291a ;
102107 }
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const props = withDefaults(
1313 name: string
1414 type: string
1515 typeName: string
16+ num: string
1617 description? : string
1718 id? : string
1819 }>(),
@@ -69,6 +70,7 @@ const onClickOutside = () => {
6970 <el-icon class =" form-icon" size =" 16" >
7071 <icon _form_outlined ></icon _form_outlined >
7172 </el-icon >
73+ {{ num }}
7274 </div >
7375 <div click.stop class =" methods" >
7476 <el-button type =" primary" style =" margin-right : 8px " @click.stop =" handleQuestion" >
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import { useI18n } from 'vue-i18n'
2121
2222interface Datasource {
2323 name: string
24+ num: string
2425 type_name: string
2526 type: string
2627 img: string
@@ -274,6 +275,7 @@ const back = () => {
274275 :name =" ele.name"
275276 :type =" ele.type"
276277 :type-name =" ele.type_name"
278+ :num =" ele.num"
277279 :description =" ele.description"
278280 @question =" handleQuestion"
279281 @edit =" handleEditDatasource(ele)"
Original file line number Diff line number Diff line change @@ -359,6 +359,8 @@ const submit = (item: any) => {
359359
360360 .card-content {
361361 display : flex ;
362+ flex-wrap : wrap ;
363+ max-height : calc (100% - 40px );
362364 }
363365}
364366 </style >
You can’t perform that action at this time.
0 commit comments