bri-components 1.5.21 → 1.6.0

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.
Files changed (153) hide show
  1. package/README.md +83 -83
  2. package/lib/styles/bundle.css +12 -12
  3. package/lib/styles/font/fontello.svg +31 -31
  4. package/package.json +125 -125
  5. package/src/components/Error/Error403.vue +42 -42
  6. package/src/components/Error/Error404.vue +40 -40
  7. package/src/components/Error/Error500.vue +51 -51
  8. package/src/components/Error/error.less +162 -162
  9. package/src/components/Error/errorBack.vue +40 -40
  10. package/src/components/controls/DshControlInput.vue +195 -195
  11. package/src/components/controls/base/BriUpload/BriUpload.vue +434 -434
  12. package/src/components/controls/base/BriUpload/BriUploadImage.vue +377 -377
  13. package/src/components/controls/base/BriUpload/uploadList.vue +727 -727
  14. package/src/components/controls/base/BriUpload/uploadMixin.js +446 -446
  15. package/src/components/controls/base/DshCascader/DshCascader.vue +215 -215
  16. package/src/components/controls/base/DshCascader/components/cascaderModal.vue +366 -366
  17. package/src/components/controls/base/DshCascader/components/cascaderPicker.vue +416 -416
  18. package/src/components/controls/base/DshCascader/components/cascaderSimple.vue +141 -141
  19. package/src/components/controls/base/DshCascader/components/cascaderTree.vue +151 -151
  20. package/src/components/controls/base/DshCoordinates.vue +585 -577
  21. package/src/components/controls/base/DshDate/DshDate.vue +191 -191
  22. package/src/components/controls/base/DshDate/DshDaterange.vue +186 -186
  23. package/src/components/controls/base/DshDivider.vue +201 -201
  24. package/src/components/controls/base/DshEditor.vue +274 -274
  25. package/src/components/controls/base/DshInput/BriInputs.vue +166 -166
  26. package/src/components/controls/base/DshInput/DshInput.vue +260 -260
  27. package/src/components/controls/base/DshNumber/BriInputNumber/BriInputNumber.vue +435 -435
  28. package/src/components/controls/base/DshNumber/BriInputNumber/mixins/emitter.js +34 -34
  29. package/src/components/controls/base/DshNumber/BriInputNumber/mixins/form.js +14 -14
  30. package/src/components/controls/base/DshNumber/BriInputNumber/utils/assist.js +322 -322
  31. package/src/components/controls/base/DshNumber/DshNumber.vue +143 -143
  32. package/src/components/controls/base/DshNumber/DshNumberange.vue +109 -109
  33. package/src/components/controls/base/DshSelect/DshCheckbox.vue +168 -168
  34. package/src/components/controls/base/DshSelect/DshSelect.vue +180 -180
  35. package/src/components/controls/base/DshSelect/DshSelectAll.vue +269 -269
  36. package/src/components/controls/base/DshSwitch/DshSwitch.vue +115 -115
  37. package/src/components/controls/control.less +324 -324
  38. package/src/components/controls/controlMap.js +117 -117
  39. package/src/components/controls/extra/DshColor.vue +81 -81
  40. package/src/components/controls/extra/DshThemeColor.vue +100 -100
  41. package/src/components/controls/extra/DshThemeIcon.vue +122 -122
  42. package/src/components/controls/mixins/cascaderMixin.js +325 -325
  43. package/src/components/controls/mixins/cascaderPickerMixin.js +227 -227
  44. package/src/components/controls/mixins/cascaderTableMixin.js +130 -130
  45. package/src/components/controls/mixins/controlMixin.js +393 -393
  46. package/src/components/controls/mixins/dateMixin.js +149 -149
  47. package/src/components/controls/mixins/flatTableMixin.js +111 -111
  48. package/src/components/controls/mixins/numberMixin.js +112 -112
  49. package/src/components/controls/mixins/selectMixin.js +233 -233
  50. package/src/components/controls/mixins/switchMixin.js +87 -87
  51. package/src/components/controls/mixins/userAndDepartMixin.js +260 -260
  52. package/src/components/controls/senior/DshLabels.vue +333 -333
  53. package/src/components/controls/senior/DshPackage.vue +57 -57
  54. package/src/components/controls/senior/cascaderTable.vue +213 -213
  55. package/src/components/controls/senior/correlation.vue +135 -135
  56. package/src/components/controls/senior/flatTable.vue +138 -138
  57. package/src/components/controls/senior/selectDepartments.vue +399 -399
  58. package/src/components/controls/senior/selectUsers/departMenu.vue +293 -293
  59. package/src/components/controls/senior/selectUsers/selectUsers.vue +712 -712
  60. package/src/components/controls/special/DshBack.vue +42 -42
  61. package/src/components/controls/special/DshUndeveloped.vue +41 -41
  62. package/src/components/form/DshAdvSearch.vue +510 -510
  63. package/src/components/form/DshDefaultSearch.vue +260 -260
  64. package/src/components/form/DshForm.vue +494 -494
  65. package/src/components/form/searchMixin.js +376 -376
  66. package/src/components/list/BriCard.vue +95 -95
  67. package/src/components/list/BriTable.vue +205 -205
  68. package/src/components/list/BriTree.vue +529 -529
  69. package/src/components/list/BriTreeItem.vue +163 -163
  70. package/src/components/list/DshBox/DshBox.vue +219 -219
  71. package/src/components/list/DshBox/DshCard.vue +446 -446
  72. package/src/components/list/DshBox/DshCrossTable.vue +827 -827
  73. package/src/components/list/DshBox/DshList.vue +404 -404
  74. package/src/components/list/DshBox/DshPanel.vue +669 -669
  75. package/src/components/list/DshBox/DshSingleData.vue +119 -119
  76. package/src/components/list/DshBox/DshTable.vue +239 -239
  77. package/src/components/list/DshCascaderTable.vue +115 -115
  78. package/src/components/list/DshFlatTable.vue +337 -337
  79. package/src/components/list/DshPage.vue +194 -194
  80. package/src/components/list/DshTreeTable.vue +113 -113
  81. package/src/components/list/common/importModal.vue +243 -243
  82. package/src/components/list/common/quoteListModal.vue +206 -206
  83. package/src/components/list/mixins/DshCascaderTableMixin.js +278 -278
  84. package/src/components/list/mixins/DshFlatTableMixin.js +509 -509
  85. package/src/components/list/mixins/DshTreeTableMixin.js +286 -286
  86. package/src/components/list/mixins/tableBaseMixin.js +1653 -1653
  87. package/src/components/list/mixins/treeTableBaseMixin.js +145 -145
  88. package/src/components/other/BriAvatar.vue +166 -166
  89. package/src/components/other/BriCode.vue +125 -125
  90. package/src/components/other/BriCollapseTree.vue +207 -207
  91. package/src/components/other/BriGantt.vue +1087 -1087
  92. package/src/components/other/BriIframe.vue +116 -116
  93. package/src/components/other/BriLoading.vue +171 -171
  94. package/src/components/other/BriSvg.vue +27 -27
  95. package/src/components/other/DshColorPanel.vue +128 -128
  96. package/src/components/other/DshMenuNav.vue +188 -188
  97. package/src/components/small/BriButton.vue +71 -71
  98. package/src/components/small/BriDrawer.vue +169 -169
  99. package/src/components/small/BriTooltip.vue +87 -87
  100. package/src/components/small/DshBtnModal.vue +68 -68
  101. package/src/components/small/DshButtons.vue +324 -324
  102. package/src/components/small/DshDropdown.vue +225 -225
  103. package/src/components/small/DshIcons.vue +59 -59
  104. package/src/components/small/DshListRender.js +21 -21
  105. package/src/components/small/DshModal.vue +160 -160
  106. package/src/components/small/DshSteps.vue +141 -141
  107. package/src/components/small/DshTabs.vue +598 -598
  108. package/src/components/small/DshTabsSet.vue +309 -309
  109. package/src/components/small/DshTags.vue +251 -251
  110. package/src/components/small/DshTitle.vue +50 -50
  111. package/src/components/small/render.js +20 -20
  112. package/src/components/unit/DshFormUnit.vue +398 -398
  113. package/src/components/unit/DshListUnit.vue +115 -115
  114. package/src/components/unit/unitMixin.js +86 -86
  115. package/src/data/index.js +4 -4
  116. package/src/index.js +285 -285
  117. package/src/styles/bundle.css +12 -12
  118. package/src/styles/components/BriButton.less +307 -307
  119. package/src/styles/components/BriTable.less +344 -344
  120. package/src/styles/components/DshModal.less +257 -257
  121. package/src/styles/components/index.less +3 -3
  122. package/src/styles/global/animate.less +11 -11
  123. package/src/styles/global/base.less +45 -45
  124. package/src/styles/global/box.less +186 -186
  125. package/src/styles/global/control.less +122 -122
  126. package/src/styles/global/flex.less +282 -282
  127. package/src/styles/global/global.less +8 -8
  128. package/src/styles/global/text.less +59 -59
  129. package/src/styles/global/variables.less +85 -85
  130. package/src/styles/iconfont/iconfont.css +254 -254
  131. package/src/styles/iconfont/iconfont.json +422 -422
  132. package/src/styles/iconfont/iconfont.svg +137 -137
  133. package/src/styles/index.less +26 -26
  134. package/src/styles/reset-easytable.less +21 -21
  135. package/src/styles/reset-iview-controls.less +145 -145
  136. package/src/styles/reset-iview-other.less +49 -49
  137. package/src/styles/reset-iview-variables.less +43 -43
  138. package/src/styles/reset.less +45 -45
  139. package/src/utils/index.js +3 -5
  140. package/lib/0.bri-components.min.js +0 -1
  141. package/lib/1.bri-components.min.js +0 -1
  142. package/lib/10.bri-components.min.js +0 -1
  143. package/lib/11.bri-components.min.js +0 -1
  144. package/lib/2.bri-components.min.js +0 -1
  145. package/lib/3.bri-components.min.js +0 -1
  146. package/lib/4.bri-components.min.js +0 -1
  147. package/lib/5.bri-components.min.js +0 -1
  148. package/lib/6.bri-components.min.js +0 -1
  149. package/lib/7.bri-components.min.js +0 -1
  150. package/lib/8.bri-components.min.js +0 -1
  151. package/lib/9.bri-components.min.js +0 -1
  152. package/lib/bri-components.min.js +0 -18
  153. package/src/utils/table.js +0 -175
@@ -1,345 +1,345 @@
1
- // 表格颜色定制
2
- @tableTitleColor: @contentColor;
3
- @tableHover: #edf8fa;
4
- @tableSeatchColor: @placeholderColor;
5
-
6
- .bri-table {
7
- .dsh-flex-col-between-start();
8
- width: 100%;
9
- height: 100%;
10
- overflow: auto;
11
- word-break: break-word;
12
- // position: relative;
13
-
14
- td {
15
- white-space: normal !important;
16
- }
17
- th.ve-table-fixed-right {
18
- box-shadow: -4px 0 6px -2px rgba(0, 0, 0, 0.1);
19
- }
20
- td.ve-table-fixed-right {
21
- box-shadow: -4px 0 6px -2px rgba(0, 0, 0, 0.1);
22
- }
23
- th.ve-table-last-left-fixed-column {
24
- box-shadow: 4px 0 7px -2px rgba(0, 0, 0, 0.1);
25
- }
26
- td.ve-table-last-left-fixed-column {
27
- box-shadow: 4px 0 7px -2px rgba(0, 0, 0, 0.1);
28
- }
29
-
30
- &-content {
31
- width: 100%;
32
- max-height: 100%;
33
-
34
- .ve-table {
35
- height: 100%;
36
-
37
- &-container {
38
- height: 100% !important;
39
-
40
- .ve-table-content-wrapper table.ve-table-content {
41
- thead.ve-table-header {
42
- tr.ve-table-header-tr th.ve-table-header-th {
43
- padding: 4px 8px;
44
-
45
- .ve-table-filter .ve-table-filter-icon {
46
- position: absolute;
47
- top: 0px;
48
- left: 0px;
49
-
50
- &:hover {
51
- color: @themeColor;
52
- }
53
- }
54
-
55
- // 过滤
56
- .ve-dropdown {
57
- position: absolute;
58
- top: 0px;
59
- bottom: 0px;
60
- margin-top: auto;
61
- margin-bottom: auto;
62
- right: 17px;
63
- }
64
-
65
- // 排序
66
- .ve-table-sort {
67
- height: 30px;
68
- position: absolute;
69
- top: 0px;
70
- bottom: 0px;
71
- margin-top: auto;
72
- margin-bottom: auto;
73
- right: 0px;
74
-
75
- .icon-vet-sort-top-arrow:before {
76
- content: "\e6347";
77
- }
78
-
79
- .icon-vet-sort-bottom-arrow:before {
80
- content: "\e6349";
81
- }
82
- }
83
- }
84
- }
85
-
86
- tbody.ve-table-body {
87
- tr.ve-table-body-tr,
88
- tr.ve-table-expand-tr {
89
- height: auto;
90
- // position: relative;
91
-
92
- td.ve-table-body-td {
93
- height: 40px;
94
- padding: 4px 16px;
95
-
96
- &.bri-table-td-noborder {
97
- .ivu-input,
98
- textarea.ivu-input,
99
- .ivu-select-selection {
100
- min-height: 18px;
101
- padding: 0px;
102
- border: none;
103
- background-color: transparent;
104
- box-shadow: none;
105
- line-height: 18px;
106
- }
107
-
108
- .ivu-input-prefix,
109
- .ivu-input-suffix {
110
- width: 0px;
111
- display: none;
112
- }
113
-
114
- .ivu-date-picker-focused input:not([disabled]) {
115
- box-shadow: none;
116
- }
117
- }
118
- &.bri-table-td-bg {
119
- background-color: #fbfbfb;
120
- }
121
- }
122
- }
123
- }
124
- }
125
- }
126
-
127
- &.ve-table-border-around {
128
- border-radius: @borderRadius;
129
- }
130
- }
131
- }
132
-
133
- &-click {
134
- td {
135
- cursor: pointer;
136
- }
137
- }
138
-
139
- &-onlyhead {
140
- .ve-table.ve-table-border-around {
141
- border-bottom: none;
142
- border-bottom-left-radius: 0;
143
- border-bottom-right-radius: 0;
144
- }
145
- }
146
-
147
- &-empty {
148
- width: 100%;
149
- height: 100%;
150
- min-height: 60px;
151
- padding: 9px 16px;
152
- border: 1px solid @borderColor;
153
- border-top: none;
154
- // border-bottom-left-radius: @borderRadius;
155
- // border-bottom-right-radius: @borderRadius;
156
- text-align: center;
157
- color: @textColor;
158
- .dsh-flex-row-center-center();
159
- }
160
-
161
- &-nodata {
162
- height: 30px;
163
- text-align: center;
164
- }
165
-
166
- &-dropdown {
167
- position: absolute;
168
- right: 0px;
169
- bottom: 0px;
170
- display: none;
171
- z-index: 2;
172
- text-align: left;
173
-
174
- &-list {
175
- min-width: 120px;
176
- margin: 0px;
177
-
178
- li {
179
- padding-left: 15px !important;
180
- }
181
- }
182
- }
183
-
184
- &-th {
185
- padding: 4px 8px;
186
- // border-bottom: none !important;
187
- background-color: #F0F0F0;
188
- font-size: 14px;
189
- font-weight: 500;
190
- color: rgba(0, 0, 0, 0.6);
191
- position: relative;
192
- }
193
-
194
- &-td {
195
- height: 40px;
196
- padding: 4px 16px;
197
- position: relative;
198
-
199
- // &-expand {
200
-
201
- // }
202
- &-treeIndex {
203
- padding: 4px 16px 4px 12px!important;
204
- }
205
- &-operation {
206
- .DshButtons-dropdown-more {
207
- padding: 0px;
208
- margin-left: 16px;
209
- }
210
-
211
- &-btn {
212
- margin-left: 16px;
213
- padding: 0px;
214
-
215
- &:first-of-type {
216
- margin: 0px;
217
- }
218
- }
219
- }
220
-
221
- &-tip {
222
- padding: 0px 0px 0px 16px;
223
- // text-align: left;
224
- word-break: break-all;
225
- font-size: 12px;
226
- line-height: 1;
227
- color: #ed4014;
228
- position: absolute;
229
- top: calc(100% - 12px);
230
- left: 0px;
231
- }
232
-
233
- &-edit {
234
- padding: 4px 16px 12px 16px!important;
235
- }
236
-
237
- &-visible {
238
- @keyframes slideDown {
239
- from {
240
- top: -49px;
241
- opacity: 0.9;
242
- }
243
-
244
- to {
245
- top: 0px;
246
- opacity: 1;
247
- }
248
- }
249
-
250
- animation: slideDown .2s linear;
251
- }
252
-
253
- &-hide {
254
- display: none!important;
255
- }
256
-
257
- &-noborder {
258
- .ivu-input,
259
- textarea.ivu-input,
260
- .ivu-select-selection {
261
- min-height: 18px;
262
- padding: 0px;
263
- border: none;
264
- background-color: transparent;
265
- box-shadow: none;
266
- line-height: 18px;
267
- }
268
-
269
- .ivu-input-prefix,
270
- .ivu-input-suffix {
271
- width: 0px;
272
- display: none;
273
- }
274
-
275
- .ivu-date-picker-focused input:not([disabled]) {
276
- box-shadow: none;
277
- }
278
- }
279
- &-bg {
280
- background-color: #fbfbfb;
281
- }
282
- }
283
-
284
- &-th,
285
- &-td {
286
- &:hover {
287
- .bri-table-dropdown {
288
- display: inline-block;
289
- }
290
- }
291
- }
292
- }
293
-
294
-
295
-
296
- // 筛选
297
- .ve-dropdown {
298
- position: absolute;
299
- top: 9px;
300
- right: 42px;
301
- }
302
-
303
- .ve-dropdown-popper {
304
- .ve-dropdown-items-warpper {
305
- max-width: 200px;
306
- min-width: 100px;
307
- }
308
-
309
- .ve-dropdown-dd .ve-dropdown-items {
310
- border-radius: @borderRadius;
311
- border: none;
312
- box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.05), 0 8px 10px 1px rgba(0, 0, 0, 0.06), 0 5px 5px -3px rgba(0, 0, 0, 0.1);
313
- }
314
-
315
- // 重置
316
- .ve-dropdown-operation .ve-dropdown-operation-item:first-of-type {
317
- background-color: @borderColor;
318
- color: @textColor !important;
319
- margin-right: 8px;
320
- }
321
-
322
- // 筛选
323
- .ve-dropdown-operation .ve-dropdown-operation-item {
324
- width: 40px;
325
- height: 24px;
326
- opacity: 1;
327
- color: @white !important;
328
- font-weight: 500;
329
- font-family: "PingFang SC";
330
- text-align: center;
331
- line-height: 24px;
332
- background-color: @themeColor;
333
- border-radius: 4px;
334
- font-size: @smallSize;
335
- }
336
-
337
- .ve-dropdown-operation {
338
- border-top-color: #e7e7e7;
339
- justify-content: center;
340
- }
341
-
342
- .ve-dropdown-dd .ve-dropdown-items .ve-dropdown-items-warpper .ve-dropdown-items-multiple {
343
- padding: 3px 16px;
344
- }
1
+ // 表格颜色定制
2
+ @tableTitleColor: @contentColor;
3
+ @tableHover: #edf8fa;
4
+ @tableSeatchColor: @placeholderColor;
5
+
6
+ .bri-table {
7
+ .dsh-flex-col-between-start();
8
+ width: 100%;
9
+ height: 100%;
10
+ overflow: auto;
11
+ word-break: break-word;
12
+ // position: relative;
13
+
14
+ td {
15
+ white-space: normal !important;
16
+ }
17
+ th.ve-table-fixed-right {
18
+ box-shadow: -4px 0 6px -2px rgba(0, 0, 0, 0.1);
19
+ }
20
+ td.ve-table-fixed-right {
21
+ box-shadow: -4px 0 6px -2px rgba(0, 0, 0, 0.1);
22
+ }
23
+ th.ve-table-last-left-fixed-column {
24
+ box-shadow: 4px 0 7px -2px rgba(0, 0, 0, 0.1);
25
+ }
26
+ td.ve-table-last-left-fixed-column {
27
+ box-shadow: 4px 0 7px -2px rgba(0, 0, 0, 0.1);
28
+ }
29
+
30
+ &-content {
31
+ width: 100%;
32
+ max-height: 100%;
33
+
34
+ .ve-table {
35
+ height: 100%;
36
+
37
+ &-container {
38
+ height: 100% !important;
39
+
40
+ .ve-table-content-wrapper table.ve-table-content {
41
+ thead.ve-table-header {
42
+ tr.ve-table-header-tr th.ve-table-header-th {
43
+ padding: 4px 8px;
44
+
45
+ .ve-table-filter .ve-table-filter-icon {
46
+ position: absolute;
47
+ top: 0px;
48
+ left: 0px;
49
+
50
+ &:hover {
51
+ color: @themeColor;
52
+ }
53
+ }
54
+
55
+ // 过滤
56
+ .ve-dropdown {
57
+ position: absolute;
58
+ top: 0px;
59
+ bottom: 0px;
60
+ margin-top: auto;
61
+ margin-bottom: auto;
62
+ right: 17px;
63
+ }
64
+
65
+ // 排序
66
+ .ve-table-sort {
67
+ height: 30px;
68
+ position: absolute;
69
+ top: 0px;
70
+ bottom: 0px;
71
+ margin-top: auto;
72
+ margin-bottom: auto;
73
+ right: 0px;
74
+
75
+ .icon-vet-sort-top-arrow:before {
76
+ content: "\e6347";
77
+ }
78
+
79
+ .icon-vet-sort-bottom-arrow:before {
80
+ content: "\e6349";
81
+ }
82
+ }
83
+ }
84
+ }
85
+
86
+ tbody.ve-table-body {
87
+ tr.ve-table-body-tr,
88
+ tr.ve-table-expand-tr {
89
+ height: auto;
90
+ // position: relative;
91
+
92
+ td.ve-table-body-td {
93
+ height: 40px;
94
+ padding: 4px 16px;
95
+
96
+ &.bri-table-td-noborder {
97
+ .ivu-input,
98
+ textarea.ivu-input,
99
+ .ivu-select-selection {
100
+ min-height: 18px;
101
+ padding: 0px;
102
+ border: none;
103
+ background-color: transparent;
104
+ box-shadow: none;
105
+ line-height: 18px;
106
+ }
107
+
108
+ .ivu-input-prefix,
109
+ .ivu-input-suffix {
110
+ width: 0px;
111
+ display: none;
112
+ }
113
+
114
+ .ivu-date-picker-focused input:not([disabled]) {
115
+ box-shadow: none;
116
+ }
117
+ }
118
+ &.bri-table-td-bg {
119
+ background-color: #fbfbfb;
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+
127
+ &.ve-table-border-around {
128
+ border-radius: @borderRadius;
129
+ }
130
+ }
131
+ }
132
+
133
+ &-click {
134
+ td {
135
+ cursor: pointer;
136
+ }
137
+ }
138
+
139
+ &-onlyhead {
140
+ .ve-table.ve-table-border-around {
141
+ border-bottom: none;
142
+ border-bottom-left-radius: 0;
143
+ border-bottom-right-radius: 0;
144
+ }
145
+ }
146
+
147
+ &-empty {
148
+ width: 100%;
149
+ height: 100%;
150
+ min-height: 60px;
151
+ padding: 9px 16px;
152
+ border: 1px solid @borderColor;
153
+ border-top: none;
154
+ // border-bottom-left-radius: @borderRadius;
155
+ // border-bottom-right-radius: @borderRadius;
156
+ text-align: center;
157
+ color: @textColor;
158
+ .dsh-flex-row-center-center();
159
+ }
160
+
161
+ &-nodata {
162
+ height: 30px;
163
+ text-align: center;
164
+ }
165
+
166
+ &-dropdown {
167
+ position: absolute;
168
+ right: 0px;
169
+ bottom: 0px;
170
+ display: none;
171
+ z-index: 2;
172
+ text-align: left;
173
+
174
+ &-list {
175
+ min-width: 120px;
176
+ margin: 0px;
177
+
178
+ li {
179
+ padding-left: 15px !important;
180
+ }
181
+ }
182
+ }
183
+
184
+ &-th {
185
+ padding: 4px 8px;
186
+ // border-bottom: none !important;
187
+ background-color: #F0F0F0;
188
+ font-size: 14px;
189
+ font-weight: 500;
190
+ color: rgba(0, 0, 0, 0.6);
191
+ position: relative;
192
+ }
193
+
194
+ &-td {
195
+ height: 40px;
196
+ padding: 4px 16px;
197
+ position: relative;
198
+
199
+ // &-expand {
200
+
201
+ // }
202
+ &-treeIndex {
203
+ padding: 4px 16px 4px 12px!important;
204
+ }
205
+ &-operation {
206
+ .DshButtons-dropdown-more {
207
+ padding: 0px;
208
+ margin-left: 16px;
209
+ }
210
+
211
+ &-btn {
212
+ margin-left: 16px;
213
+ padding: 0px;
214
+
215
+ &:first-of-type {
216
+ margin: 0px;
217
+ }
218
+ }
219
+ }
220
+
221
+ &-tip {
222
+ padding: 0px 0px 0px 16px;
223
+ // text-align: left;
224
+ word-break: break-all;
225
+ font-size: 12px;
226
+ line-height: 1;
227
+ color: #ed4014;
228
+ position: absolute;
229
+ top: calc(100% - 12px);
230
+ left: 0px;
231
+ }
232
+
233
+ &-edit {
234
+ padding: 4px 16px 12px 16px!important;
235
+ }
236
+
237
+ &-visible {
238
+ @keyframes slideDown {
239
+ from {
240
+ top: -49px;
241
+ opacity: 0.9;
242
+ }
243
+
244
+ to {
245
+ top: 0px;
246
+ opacity: 1;
247
+ }
248
+ }
249
+
250
+ animation: slideDown .2s linear;
251
+ }
252
+
253
+ &-hide {
254
+ display: none!important;
255
+ }
256
+
257
+ &-noborder {
258
+ .ivu-input,
259
+ textarea.ivu-input,
260
+ .ivu-select-selection {
261
+ min-height: 18px;
262
+ padding: 0px;
263
+ border: none;
264
+ background-color: transparent;
265
+ box-shadow: none;
266
+ line-height: 18px;
267
+ }
268
+
269
+ .ivu-input-prefix,
270
+ .ivu-input-suffix {
271
+ width: 0px;
272
+ display: none;
273
+ }
274
+
275
+ .ivu-date-picker-focused input:not([disabled]) {
276
+ box-shadow: none;
277
+ }
278
+ }
279
+ &-bg {
280
+ background-color: #fbfbfb;
281
+ }
282
+ }
283
+
284
+ &-th,
285
+ &-td {
286
+ &:hover {
287
+ .bri-table-dropdown {
288
+ display: inline-block;
289
+ }
290
+ }
291
+ }
292
+ }
293
+
294
+
295
+
296
+ // 筛选
297
+ .ve-dropdown {
298
+ position: absolute;
299
+ top: 9px;
300
+ right: 42px;
301
+ }
302
+
303
+ .ve-dropdown-popper {
304
+ .ve-dropdown-items-warpper {
305
+ max-width: 200px;
306
+ min-width: 100px;
307
+ }
308
+
309
+ .ve-dropdown-dd .ve-dropdown-items {
310
+ border-radius: @borderRadius;
311
+ border: none;
312
+ box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.05), 0 8px 10px 1px rgba(0, 0, 0, 0.06), 0 5px 5px -3px rgba(0, 0, 0, 0.1);
313
+ }
314
+
315
+ // 重置
316
+ .ve-dropdown-operation .ve-dropdown-operation-item:first-of-type {
317
+ background-color: @borderColor;
318
+ color: @textColor !important;
319
+ margin-right: 8px;
320
+ }
321
+
322
+ // 筛选
323
+ .ve-dropdown-operation .ve-dropdown-operation-item {
324
+ width: 40px;
325
+ height: 24px;
326
+ opacity: 1;
327
+ color: @white !important;
328
+ font-weight: 500;
329
+ font-family: "PingFang SC";
330
+ text-align: center;
331
+ line-height: 24px;
332
+ background-color: @themeColor;
333
+ border-radius: 4px;
334
+ font-size: @smallSize;
335
+ }
336
+
337
+ .ve-dropdown-operation {
338
+ border-top-color: #e7e7e7;
339
+ justify-content: center;
340
+ }
341
+
342
+ .ve-dropdown-dd .ve-dropdown-items .ve-dropdown-items-warpper .ve-dropdown-items-multiple {
343
+ padding: 3px 16px;
344
+ }
345
345
  }