bri-components 1.2.51 → 1.2.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/controls/BriControlInput.vue +10 -2
- package/src/components/controls/base/BriUpload/BriUpload.vue +170 -0
- package/src/components/controls/base/BriUpload/BriUploadImage.vue +90 -0
- package/src/components/controls/base/BriUpload/uploadList.vue +166 -0
- package/src/components/controls/base/DshCascader/DshCascader.vue +55 -4
- package/src/components/controls/base/DshCascader/InfoCascader.vue +63 -1
- package/src/components/controls/base/DshCoordinates.vue +64 -4
- package/src/components/controls/base/DshDivider.vue +163 -36
- package/src/components/controls/base/DshInput/BriInputs.vue +59 -1
- package/src/components/controls/base/DshInput/DshInput.vue +16 -0
- package/src/components/controls/base/DshNumber/DshNumber.vue +1 -1
- package/src/components/controls/controlMap.js +13 -4
- package/src/components/controls/extra/themeColor.vue +115 -0
- package/src/components/controls/extra/themeIcon.vue +124 -0
- package/src/components/controls/senior/BriLabels.vue +63 -4
- package/src/components/controls/senior/DshPackage.vue +30 -32
- package/src/components/controls/senior/cascaderTable.vue +25 -4
- package/src/components/controls/senior/flatTable.vue +34 -12
- package/src/components/controls/senior/selectDepartments.vue +78 -4
- package/src/components/controls/senior/selectUsers/DepartmentMenu.vue +120 -29
- package/src/components/controls/senior/selectUsers/selectUsers.vue +179 -5
- package/src/components/form/DshForm.vue +1 -1
- package/src/components/list/DshBox/DshCrossTable.vue +2 -2
- package/src/components/unit/DshFormUnit.vue +1 -1
- package/src/index.js +8 -4
- package/src/styles/components/index.less +0 -14
- package/src/styles/reset-iview-controls.less +19 -0
- package/src/styles/components/controls/.DS_Store +0 -0
- package/src/styles/components/controls/base/BriInputs.less +0 -55
- package/src/styles/components/controls/base/BriUpload/BriUpload.less +0 -167
- package/src/styles/components/controls/base/BriUpload/BriUploadImage.less +0 -87
- package/src/styles/components/controls/base/BriUpload/index.less +0 -3
- package/src/styles/components/controls/base/BriUpload/uploadList.less +0 -164
- package/src/styles/components/controls/base/DshCascader/DshCascader.less +0 -67
- package/src/styles/components/controls/base/DshCascader/InfoCascader.less +0 -59
- package/src/styles/components/controls/base/DshCascader/index.less +0 -2
- package/src/styles/components/controls/base/DshCoordinates.less +0 -67
- package/src/styles/components/controls/base/DshDivider.less +0 -115
- package/src/styles/components/controls/base/DshInput.less +0 -13
- package/src/styles/components/controls/senior/.DS_Store +0 -0
- package/src/styles/components/controls/senior/BriLabels.less +0 -66
- package/src/styles/components/controls/senior/DshPackage.less +0 -25
- package/src/styles/components/controls/senior/cascaderTable.less +0 -19
- package/src/styles/components/controls/senior/flatTable.less +0 -20
- package/src/styles/components/controls/senior/selectDepartments.less +0 -73
- package/src/styles/components/controls/senior/selectUsers/DepartmentMenu.less +0 -37
- package/src/styles/components/controls/senior/selectUsers/index.less +0 -2
- package/src/styles/components/controls/senior/selectUsers/selectUsers.less +0 -180
|
@@ -540,13 +540,13 @@
|
|
|
540
540
|
erd.listenTo(document.getElementById("DshCrossTable-right"), function (element) {
|
|
541
541
|
// 计算宽度
|
|
542
542
|
let tableWidth = that.$refs["DshCrossTable-right"].clientWidth;
|
|
543
|
-
let nums = tableWidth /
|
|
543
|
+
let nums = tableWidth / 200;
|
|
544
544
|
let dataTotal = that.data.length;
|
|
545
545
|
if (nums >= dataTotal) {
|
|
546
546
|
that.rowWidth = tableWidth;
|
|
547
547
|
that.colWidth = (tableWidth - 10) / dataTotal;
|
|
548
548
|
} else {
|
|
549
|
-
that.rowWidth = dataTotal *
|
|
549
|
+
that.rowWidth = dataTotal * 200;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
// that.rowWidth = 200 * that.data.length;
|
package/src/index.js
CHANGED
|
@@ -14,6 +14,7 @@ import DshBox from "./components/list/DshBox/DshBox.vue";
|
|
|
14
14
|
import DshList from "./components/list/DshBox/DshList.vue";
|
|
15
15
|
import DshTable from "./components/list/DshBox/DshTable.vue";
|
|
16
16
|
import DshPage from "./components/list/DshPage.vue";
|
|
17
|
+
import DshCrossTable from "./components/list/DshBox/DshCrossTable.vue";
|
|
17
18
|
// import DshCascaderTable from "./components/list/DshCascaderTable.vue";
|
|
18
19
|
|
|
19
20
|
// form
|
|
@@ -78,10 +79,11 @@ import DshDivider from "./components/controls/base/DshDivider.vue";
|
|
|
78
79
|
|
|
79
80
|
import DshPackage from "./components/controls/senior/DshPackage.vue";
|
|
80
81
|
import selectUsers from "./components/controls/senior/selectUsers/selectUsers.vue";
|
|
82
|
+
import DepartmentMenu from "./components/controls/senior/selectUsers/DepartmentMenu.vue";
|
|
81
83
|
import selectDepartments from "./components/controls/senior/selectDepartments.vue";
|
|
82
84
|
|
|
83
|
-
import DshBack from "./components/controls/special/DshBack.vue";
|
|
84
|
-
import DshUndeveloped from "./components/controls/special/DshUndeveloped.vue";
|
|
85
|
+
// import DshBack from "./components/controls/special/DshBack.vue";
|
|
86
|
+
// import DshUndeveloped from "./components/controls/special/DshUndeveloped.vue";
|
|
85
87
|
|
|
86
88
|
// other
|
|
87
89
|
import DshMenuNav from "./components/other/DshMenuNav.vue";
|
|
@@ -183,6 +185,7 @@ export {
|
|
|
183
185
|
DshList,
|
|
184
186
|
DshTable,
|
|
185
187
|
DshPage,
|
|
188
|
+
DshCrossTable,
|
|
186
189
|
|
|
187
190
|
// form
|
|
188
191
|
DshForm,
|
|
@@ -243,9 +246,10 @@ export {
|
|
|
243
246
|
DshEditor,
|
|
244
247
|
DshDivider,
|
|
245
248
|
DshPackage,
|
|
246
|
-
DshBack,
|
|
247
|
-
DshUndeveloped,
|
|
249
|
+
// DshBack,
|
|
250
|
+
// DshUndeveloped,
|
|
248
251
|
selectUsers,
|
|
252
|
+
DepartmentMenu,
|
|
249
253
|
selectDepartments,
|
|
250
254
|
|
|
251
255
|
DshMenuNav,
|
|
@@ -15,20 +15,6 @@
|
|
|
15
15
|
@import "./list/BriTree.less";
|
|
16
16
|
@import "./list/BriTreeItem.less";
|
|
17
17
|
|
|
18
|
-
@import "./controls/base/DshInput.less";
|
|
19
|
-
@import "./controls/base/BriInputs.less";
|
|
20
|
-
@import "./controls/base/DshCascader/index.less";
|
|
21
|
-
@import "./controls/base/BriUpload/index.less";
|
|
22
|
-
@import "./controls/base/DshCoordinates.less";
|
|
23
|
-
@import "./controls/base/DshDivider.less";
|
|
24
|
-
|
|
25
|
-
@import "./controls/senior/selectUsers/index.less";
|
|
26
|
-
@import "./controls/senior/selectDepartments.less";
|
|
27
|
-
@import "./controls/senior/flatTable.less";
|
|
28
|
-
@import "./controls/senior/cascaderTable.less";
|
|
29
|
-
@import "./controls/senior/BriLabels.less";
|
|
30
|
-
@import "./controls/senior/DshPackage.less";
|
|
31
|
-
|
|
32
18
|
// other
|
|
33
19
|
@import "./other/BriAvatar.less";
|
|
34
20
|
@import "./other/BriIframe.less";
|
|
@@ -101,4 +101,23 @@
|
|
|
101
101
|
-webkit-text-fill-color: @textColor-disabled;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.ivu-cascader {
|
|
107
|
+
&-rel {
|
|
108
|
+
display: block;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&-label {
|
|
112
|
+
padding-right: 24px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&-transfer {
|
|
116
|
+
max-height: 400px !important;
|
|
117
|
+
|
|
118
|
+
.ivu-cascader-menu {
|
|
119
|
+
max-height: 400px;
|
|
120
|
+
height: auto;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
104
123
|
}
|
|
Binary file
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
.BriInputs {
|
|
2
|
-
width: 100%;
|
|
3
|
-
|
|
4
|
-
i {
|
|
5
|
-
font-size: 16px;
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&-show {
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
border: 1px solid #e5e5e5;
|
|
13
|
-
border-radius: 4px;
|
|
14
|
-
color: #515a6e;
|
|
15
|
-
padding-left: 5px;
|
|
16
|
-
height: 34px;
|
|
17
|
-
|
|
18
|
-
&-content {
|
|
19
|
-
display: flex;
|
|
20
|
-
width: calc(100% - 30px);
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
|
|
23
|
-
&-item {
|
|
24
|
-
display: flex;
|
|
25
|
-
margin: 2px 4px 2px 0;
|
|
26
|
-
padding-left: 8px;
|
|
27
|
-
border: 1px solid #e8eaec;
|
|
28
|
-
border-radius: 3px;
|
|
29
|
-
background: #f7f7f7;
|
|
30
|
-
font-size: 14px;
|
|
31
|
-
max-width: 50%;
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
|
|
34
|
-
&-content {
|
|
35
|
-
vertical-align: middle;
|
|
36
|
-
display: inline-block;
|
|
37
|
-
width: calc(100% - 20px);
|
|
38
|
-
.dsh-ellipsis();
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&-del {
|
|
42
|
-
display: inline-block;
|
|
43
|
-
width: 20px;
|
|
44
|
-
vertical-align: middle;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&-add {
|
|
50
|
-
flex: 1;
|
|
51
|
-
height: 34px;
|
|
52
|
-
line-height: 34px;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
.BriUpload {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
position: relative;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
border: 1px solid @borderColor;
|
|
7
|
-
border-radius: @borderRadius;
|
|
8
|
-
background-color: @white;
|
|
9
|
-
|
|
10
|
-
// 外围
|
|
11
|
-
&-old {
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
display: flex;
|
|
14
|
-
|
|
15
|
-
&-wrapper {
|
|
16
|
-
min-width: 120px;
|
|
17
|
-
height: 100%;
|
|
18
|
-
margin: 16px 0px 16px 16px;
|
|
19
|
-
border-radius: 0px;
|
|
20
|
-
border: none;
|
|
21
|
-
&:hover {
|
|
22
|
-
border: none
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&-imageadd {
|
|
27
|
-
.dsh-flex-col-center-center();
|
|
28
|
-
width: 120px;
|
|
29
|
-
height: 120px;
|
|
30
|
-
position: relative;
|
|
31
|
-
border: 1px @borderColor dashed;
|
|
32
|
-
color: @themeColor;
|
|
33
|
-
border-radius: @borderRadius;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
&:hover {
|
|
36
|
-
border-color: @themeColor;
|
|
37
|
-
background-color: @theme-focus;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&-circle {
|
|
42
|
-
position: absolute;
|
|
43
|
-
top: 50%;
|
|
44
|
-
left: 50%;
|
|
45
|
-
width: 50px !important;
|
|
46
|
-
height: 50px !important;
|
|
47
|
-
margin-top: -25px;
|
|
48
|
-
margin-left: -25px;
|
|
49
|
-
border-radius: 50%;
|
|
50
|
-
background-color: @inputBg-readonly;
|
|
51
|
-
|
|
52
|
-
i {
|
|
53
|
-
color: @scuess-color;
|
|
54
|
-
font-size: 40px;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&-new,
|
|
60
|
-
&-inline {
|
|
61
|
-
display: flex;
|
|
62
|
-
|
|
63
|
-
&-wrapper {
|
|
64
|
-
min-width: 30px;
|
|
65
|
-
background-color: @border-readonly;
|
|
66
|
-
height: 30px;
|
|
67
|
-
line-height: 30px;
|
|
68
|
-
border: none;
|
|
69
|
-
border-radius: 0px !important;
|
|
70
|
-
&:hover {
|
|
71
|
-
border: none
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&-imageadd {
|
|
76
|
-
.dsh-flex-row-center-center();
|
|
77
|
-
height: 30px;
|
|
78
|
-
background-color: @btn-hover;
|
|
79
|
-
color: @textColor;
|
|
80
|
-
border: none;
|
|
81
|
-
border-radius: 0px;
|
|
82
|
-
&:hover {
|
|
83
|
-
color: @themeColor;
|
|
84
|
-
background-color: @theme-focus;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&-circle {
|
|
89
|
-
position: absolute;
|
|
90
|
-
top: 50%;
|
|
91
|
-
left: 50%;
|
|
92
|
-
width: 24px !important;
|
|
93
|
-
height: 24px !important;
|
|
94
|
-
margin-top: -12px;
|
|
95
|
-
margin-left: -12px;
|
|
96
|
-
background-color: #f4f5fa;
|
|
97
|
-
border-radius: 50%;
|
|
98
|
-
i {
|
|
99
|
-
color: @scuess-color;
|
|
100
|
-
font-size: 24px;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&-readonly {
|
|
106
|
-
border: none;
|
|
107
|
-
border-radius: 0px;
|
|
108
|
-
background-color: transparent;
|
|
109
|
-
|
|
110
|
-
.uploadList {
|
|
111
|
-
&-old {
|
|
112
|
-
margin: 0px;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&-list {
|
|
116
|
-
.item {
|
|
117
|
-
flex: 0 0 80px;
|
|
118
|
-
height: 80px;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&-inline {
|
|
123
|
-
.bri-scrollbar6();
|
|
124
|
-
height: 48px;
|
|
125
|
-
line-height: 48px;
|
|
126
|
-
|
|
127
|
-
.item {
|
|
128
|
-
flex: 0 0 48px
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
&-disabled {
|
|
135
|
-
.bri-control-disabled();
|
|
136
|
-
|
|
137
|
-
.uploadList {
|
|
138
|
-
&-old {
|
|
139
|
-
margin: 0px;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&-list {
|
|
143
|
-
.item {
|
|
144
|
-
flex: 0 0 80px;
|
|
145
|
-
height: 80px;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
&-nodata {
|
|
150
|
-
color: @placeholder-disabled-color;
|
|
151
|
-
text-indent: 7px;
|
|
152
|
-
text-align: left;
|
|
153
|
-
}
|
|
154
|
-
&-inline-nodata {
|
|
155
|
-
color: @placeholder-disabled-color;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
&-unit {
|
|
161
|
-
.uploadList {
|
|
162
|
-
&-inline-nodata {
|
|
163
|
-
.bri-control-nodata();
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
.BriUploadImage {
|
|
2
|
-
position: relative;
|
|
3
|
-
|
|
4
|
-
&-set {
|
|
5
|
-
width: 100%;
|
|
6
|
-
|
|
7
|
-
&-img {
|
|
8
|
-
width: 100px;
|
|
9
|
-
height: 100px;
|
|
10
|
-
float: left;
|
|
11
|
-
background-repeat: no-repeat;
|
|
12
|
-
background-position: center;
|
|
13
|
-
background-size: contain;
|
|
14
|
-
background-color: #fff;
|
|
15
|
-
border: 1px solid @borderColor;
|
|
16
|
-
border-radius: 0px;
|
|
17
|
-
position: relative;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
|
|
20
|
-
&-action {
|
|
21
|
-
color: @themeColor;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-circle {
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: 0px;
|
|
28
|
-
bottom: 0px;
|
|
29
|
-
left: 0px;
|
|
30
|
-
right: 0px;
|
|
31
|
-
background-color: #f4f5fa;
|
|
32
|
-
display: flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
justify-content: center;
|
|
35
|
-
|
|
36
|
-
.circle {
|
|
37
|
-
width: 50px !important;
|
|
38
|
-
height: 50px !important;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
i {
|
|
42
|
-
color: #5cb85c;
|
|
43
|
-
font-size: 40px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&-avatar {
|
|
49
|
-
background-size: cover;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.wrap {
|
|
53
|
-
width: 100px;
|
|
54
|
-
height: 32px;
|
|
55
|
-
position: relative;
|
|
56
|
-
overflow: hidden;
|
|
57
|
-
display: inline-block;
|
|
58
|
-
line-height: 18px;
|
|
59
|
-
text-align: center;
|
|
60
|
-
vertical-align: middle;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
|
|
63
|
-
button {
|
|
64
|
-
position: absolute;
|
|
65
|
-
bottom: 0;
|
|
66
|
-
left: 0;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.file {
|
|
70
|
-
position: absolute;
|
|
71
|
-
bottom: 0;
|
|
72
|
-
left: 0;
|
|
73
|
-
margin: 0;
|
|
74
|
-
border: solid transparent;
|
|
75
|
-
opacity: 0;
|
|
76
|
-
filter: alpha(opacity=0);
|
|
77
|
-
cursor: pointer;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&-cropper {
|
|
83
|
-
width: 400px;
|
|
84
|
-
height: 400px;
|
|
85
|
-
margin: 0 auto;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
// 列表样式
|
|
2
|
-
.uploadList {
|
|
3
|
-
width: 100%;
|
|
4
|
-
overflow: auto;
|
|
5
|
-
|
|
6
|
-
// 普通文件
|
|
7
|
-
&-old {
|
|
8
|
-
margin: 16px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&-nodata {
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: 100%;
|
|
14
|
-
text-align: center;
|
|
15
|
-
line-height: 120px;
|
|
16
|
-
color: @placeholderColor;
|
|
17
|
-
white-space: nowrap;
|
|
18
|
-
|
|
19
|
-
span {
|
|
20
|
-
margin-left: 5px;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&-list {
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-wrap: nowrap;
|
|
27
|
-
|
|
28
|
-
.item {
|
|
29
|
-
flex: 0 0 120px;
|
|
30
|
-
height: 120px;
|
|
31
|
-
margin-right: 10px;
|
|
32
|
-
border-radius: @borderRadius;
|
|
33
|
-
background: #f4f5fa;
|
|
34
|
-
text-align: center;
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
display: inline-flex;
|
|
37
|
-
flex-direction: column;
|
|
38
|
-
justify-content: space-between;
|
|
39
|
-
position: relative;
|
|
40
|
-
|
|
41
|
-
&:hover {
|
|
42
|
-
.item-action {
|
|
43
|
-
display: flex !important;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&-show {
|
|
48
|
-
display: flex;
|
|
49
|
-
overflow: hidden;
|
|
50
|
-
align-items: center;
|
|
51
|
-
justify-content: center;
|
|
52
|
-
flex: 2;
|
|
53
|
-
min-height: 50px;
|
|
54
|
-
|
|
55
|
-
img {
|
|
56
|
-
max-width: 100%;
|
|
57
|
-
max-height: 100%;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&-name {
|
|
62
|
-
flex: 1;
|
|
63
|
-
display: flex;
|
|
64
|
-
max-height: 32px;
|
|
65
|
-
|
|
66
|
-
&-title {
|
|
67
|
-
padding: 0 8px;
|
|
68
|
-
overflow: hidden;
|
|
69
|
-
text-overflow: ellipsis;
|
|
70
|
-
white-space: nowrap;
|
|
71
|
-
color: @themeColor;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&-action {
|
|
76
|
-
background-color: @placeholderColor;
|
|
77
|
-
display: none !important;
|
|
78
|
-
position: absolute;
|
|
79
|
-
right: 0px;
|
|
80
|
-
top: 0px;
|
|
81
|
-
left: 0px;
|
|
82
|
-
bottom: 0px;
|
|
83
|
-
align-items: center;
|
|
84
|
-
justify-content: center;
|
|
85
|
-
|
|
86
|
-
&-icon {
|
|
87
|
-
width: 22px;
|
|
88
|
-
height: 22px;
|
|
89
|
-
line-height: 22px;
|
|
90
|
-
color: #fff;
|
|
91
|
-
margin-left: 2px;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// 内部表格inline模式
|
|
98
|
-
&-inline {
|
|
99
|
-
height: 30px;
|
|
100
|
-
line-height: 30px;
|
|
101
|
-
|
|
102
|
-
&-list {
|
|
103
|
-
width: 100%;
|
|
104
|
-
height: 100%;
|
|
105
|
-
display: flex;
|
|
106
|
-
flex-wrap: nowrap;
|
|
107
|
-
overflow-x: auto;
|
|
108
|
-
overflow-y: hidden;
|
|
109
|
-
padding-left: 3px;
|
|
110
|
-
|
|
111
|
-
.item {
|
|
112
|
-
flex: 0 0 48px;
|
|
113
|
-
background: #f4f5fa;
|
|
114
|
-
margin-right: 3px;
|
|
115
|
-
position: relative;
|
|
116
|
-
border-radius: @borderRadius;
|
|
117
|
-
|
|
118
|
-
&:hover {
|
|
119
|
-
.item-action {
|
|
120
|
-
display: flex !important;
|
|
121
|
-
animation: toTop 0.1s;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
img {
|
|
126
|
-
max-width: 100%;
|
|
127
|
-
max-height: 100%;
|
|
128
|
-
margin: auto;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&-action {
|
|
132
|
-
display: none !important;
|
|
133
|
-
position: absolute;
|
|
134
|
-
left: 0;
|
|
135
|
-
right: 0;
|
|
136
|
-
top: 0;
|
|
137
|
-
bottom: 0;
|
|
138
|
-
background-color: @placeholderColor;
|
|
139
|
-
color: #fff;
|
|
140
|
-
align-items: center;
|
|
141
|
-
justify-content: center;
|
|
142
|
-
i {
|
|
143
|
-
margin: 0px;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@keyframes toTop {
|
|
148
|
-
from {
|
|
149
|
-
top: 100%;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
to {
|
|
153
|
-
top: 0;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&-nodata {
|
|
160
|
-
padding-left: 7px;
|
|
161
|
-
color: @placeholderColor;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
.DshCascader {
|
|
2
|
-
width: 100%;
|
|
3
|
-
|
|
4
|
-
&-edit {
|
|
5
|
-
|
|
6
|
-
// 多选
|
|
7
|
-
&-multiple {
|
|
8
|
-
width: 100%;
|
|
9
|
-
|
|
10
|
-
&-edit {}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// 单选 -新模式
|
|
14
|
-
&-custom {
|
|
15
|
-
width: 100%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// 单选 -默认模式
|
|
19
|
-
&-single {
|
|
20
|
-
width: 100%;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// 查看
|
|
25
|
-
&-show {
|
|
26
|
-
&-multiple {}
|
|
27
|
-
|
|
28
|
-
&-single {}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// 多选类型且独自一行时
|
|
32
|
-
&-row {
|
|
33
|
-
&-edit {}
|
|
34
|
-
|
|
35
|
-
&-show {
|
|
36
|
-
height: auto;
|
|
37
|
-
|
|
38
|
-
.text,
|
|
39
|
-
.overflow {
|
|
40
|
-
width: 100%;
|
|
41
|
-
height: 100%;
|
|
42
|
-
white-space: normal;
|
|
43
|
-
overflow: auto;
|
|
44
|
-
.bri-scrollbar3();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.ivu-cascader {
|
|
51
|
-
&-rel {
|
|
52
|
-
display: block;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&-label {
|
|
56
|
-
padding-right: 24px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&-transfer {
|
|
60
|
-
max-height: 400px !important;
|
|
61
|
-
|
|
62
|
-
.ivu-cascader-menu {
|
|
63
|
-
max-height: 400px;
|
|
64
|
-
height: auto;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|