File tree Expand file tree Collapse file tree 6 files changed +40
-80
lines changed
Expand file tree Collapse file tree 6 files changed +40
-80
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66 </div >
77 <div class =" void-page-left-main" >
88 <div class =" void-page-left-main-img" >
9- <img src = " ../../../assets/img/void_page.png " alt = " 空页面 " />
9+ <SvgIcon icon-class = " empty " width = " 200px " height = " 200px " />
1010 </div >
1111 <div class =" void-page-left-main-tip" >
1212 <span >无打开的工作流,可点击下方按钮添加</span >
@@ -99,7 +99,6 @@ export default {
9999 min-width : 240px ;
100100 margin-right : 106px ;
101101 & -title {
102- margin-bottom : 40px ;
103102 height : 33px ;
104103 line-height : 33px ;
105104 text-align : left ;
@@ -113,7 +112,7 @@ export default {
113112 & -main {
114113 & -img {
115114 text-align : left ;
116- height : 130 px ;
115+ @include font-color ( #ebebeb , #3f434c ) ;
117116 }
118117 & -tip {
119118 font-family : PingFangSC- Regular;
@@ -124,7 +123,7 @@ export default {
124123 line-height : 28px ;
125124 height : 28px ;
126125 font-weight : 400 ;
127- margin : 16px 0 px ;
126+ margin-bottom : 16px ;
128127 @include font-color ($light-text-color , $dark-text-color );
129128 }
130129 & -button {
Original file line number Diff line number Diff line change @@ -37,6 +37,14 @@ export default {
3737 verticalAlign: {
3838 type: String ,
3939 default: ' '
40+ },
41+ width: {
42+ type: String ,
43+ default: ' '
44+ },
45+ height: {
46+ type: String ,
47+ default: ' '
4048 }
4149 },
4250 computed: {
@@ -70,8 +78,17 @@ export default {
7078 }
7179 },
7280 svgVerticalAlign () {
73- return {
74- ' vertical-align' : this .verticalAlign
81+ if (this .width && this .height ) {
82+ // 某些特殊svg需要定制宽高
83+ return {
84+ ' vertical-align' : this .verticalAlign ,
85+ ' width' : this .width ,
86+ ' height' : this .height
87+ }
88+ } else {
89+ return {
90+ ' vertical-align' : this .verticalAlign
91+ }
7592 }
7693 }
7794 }
You can’t perform that action at this time.
0 commit comments