bri-components 1.0.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 (215) hide show
  1. package/README.md +30 -0
  2. package/lib/.DS_Store +0 -0
  3. package/lib/0.bri-components.min.js +2 -0
  4. package/lib/0.bri-components.min.js.map +1 -0
  5. package/lib/1.bri-components.min.js +2 -0
  6. package/lib/1.bri-components.min.js.map +1 -0
  7. package/lib/2.bri-components.min.js +2 -0
  8. package/lib/2.bri-components.min.js.map +1 -0
  9. package/lib/3.bri-components.min.js +2 -0
  10. package/lib/3.bri-components.min.js.gz +0 -0
  11. package/lib/3.bri-components.min.js.map +1 -0
  12. package/lib/4.bri-components.min.js +2 -0
  13. package/lib/4.bri-components.min.js.gz +0 -0
  14. package/lib/4.bri-components.min.js.map +1 -0
  15. package/lib/5.bri-components.min.js +2 -0
  16. package/lib/5.bri-components.min.js.map +1 -0
  17. package/lib/6.bri-components.min.js +2 -0
  18. package/lib/6.bri-components.min.js.map +1 -0
  19. package/lib/bri-components.min.js +21 -0
  20. package/lib/bri-components.min.js.gz +0 -0
  21. package/lib/bri-components.min.js.map +1 -0
  22. package/lib/styles/bri-components.css +1 -0
  23. package/lib/styles/bundle.css +14 -0
  24. package/lib/styles/font/fontello.eot +0 -0
  25. package/lib/styles/font/fontello.svg +32 -0
  26. package/lib/styles/font/fontello.ttf +0 -0
  27. package/lib/styles/font/fontello.woff +0 -0
  28. package/lib/styles/font/fontello.woff2 +0 -0
  29. package/package.json +121 -0
  30. package/src/.DS_Store +0 -0
  31. package/src/components/controls/base/DshBack.vue +36 -0
  32. package/src/components/controls/base/DshCascader.vue +366 -0
  33. package/src/components/controls/base/DshCascaderMultiple.vue +158 -0
  34. package/src/components/controls/base/DshCheckbox.vue +199 -0
  35. package/src/components/controls/base/DshCoordinates.vue +497 -0
  36. package/src/components/controls/base/DshDate.vue +148 -0
  37. package/src/components/controls/base/DshDaterange.vue +335 -0
  38. package/src/components/controls/base/DshDivider.vue +59 -0
  39. package/src/components/controls/base/DshEditor.vue +166 -0
  40. package/src/components/controls/base/DshInput.vue +139 -0
  41. package/src/components/controls/base/DshLabels.vue +302 -0
  42. package/src/components/controls/base/DshNumber/BriInputNumber/BriInputNumber.vue +425 -0
  43. package/src/components/controls/base/DshNumber/BriInputNumber/mixins/emitter.js +34 -0
  44. package/src/components/controls/base/DshNumber/BriInputNumber/mixins/form.js +14 -0
  45. package/src/components/controls/base/DshNumber/BriInputNumber/utils/assist.js +322 -0
  46. package/src/components/controls/base/DshNumber/DshNumber.vue +148 -0
  47. package/src/components/controls/base/DshNumberange.vue +137 -0
  48. package/src/components/controls/base/DshPackage.vue +72 -0
  49. package/src/components/controls/base/DshSelect.vue +231 -0
  50. package/src/components/controls/base/DshSwitch.vue +112 -0
  51. package/src/components/controls/base/DshUndeveloped.vue +39 -0
  52. package/src/components/controls/base/YSerialNumber.vue +37 -0
  53. package/src/components/controls/base/ZUpload/YUploadImage.vue +228 -0
  54. package/src/components/controls/base/ZUpload/index.vue +356 -0
  55. package/src/components/controls/base/ZUpload/upload-list.vue +277 -0
  56. package/src/components/controls/base/ZUpload/upload-listItem.vue +0 -0
  57. package/src/components/controls/base/ZUpload/uploadMixin.js +397 -0
  58. package/src/components/controls/base/selectMixin.js +110 -0
  59. package/src/components/controls/base/textMultiple/DshTextMultiple.vue +94 -0
  60. package/src/components/controls/base/textMultiple/MultipleInput.vue +106 -0
  61. package/src/components/controls/controlMap.js +94 -0
  62. package/src/components/controls/controlMixin.js +84 -0
  63. package/src/components/form/DshAdvSearchForm.vue +341 -0
  64. package/src/components/form/DshDefaultSearch.vue +203 -0
  65. package/src/components/form/DshForm.vue +364 -0
  66. package/src/components/form/searchMixin.js +205 -0
  67. package/src/components/list/DshBox/DshBox.vue +168 -0
  68. package/src/components/list/DshBox/DshCard.vue +219 -0
  69. package/src/components/list/DshBox/DshCrossTable.vue +624 -0
  70. package/src/components/list/DshBox/DshList.vue +442 -0
  71. package/src/components/list/DshBox/DshPanel.vue +407 -0
  72. package/src/components/list/DshBox/DshSingleData.vue +82 -0
  73. package/src/components/list/DshBox/DshTable.vue +273 -0
  74. package/src/components/list/DshCascaderTable.vue +817 -0
  75. package/src/components/list/DshFlatTable.vue +622 -0
  76. package/src/components/list/ZTree.vue +527 -0
  77. package/src/components/list/easyTable/index.js +23 -0
  78. package/src/components/list/easyTable/src/directives/clickoutside.js +32 -0
  79. package/src/components/list/easyTable/src/mixins/layerAdjustment.js +62 -0
  80. package/src/components/list/easyTable/src/settings/settings.js +11 -0
  81. package/src/components/list/easyTable/src/utils/deepClone.js +256 -0
  82. package/src/components/list/easyTable/src/utils/dom.js +41 -0
  83. package/src/components/list/easyTable/src/utils/utils.js +190 -0
  84. package/src/components/list/easyTable/v-checkbox/index.js +7 -0
  85. package/src/components/list/easyTable/v-checkbox/src/checkbox.vue +127 -0
  86. package/src/components/list/easyTable/v-checkbox-group/index.js +7 -0
  87. package/src/components/list/easyTable/v-checkbox-group/src/checkbox-group.vue +68 -0
  88. package/src/components/list/easyTable/v-dropdown/index.js +7 -0
  89. package/src/components/list/easyTable/v-dropdown/src/dropdown.vue +337 -0
  90. package/src/components/list/easyTable/v-table/index.js +7 -0
  91. package/src/components/list/easyTable/v-table/src/body-cell-merge-mixin.js +141 -0
  92. package/src/components/list/easyTable/v-table/src/cell-edit-mixin.js +102 -0
  93. package/src/components/list/easyTable/v-table/src/checkbox-selection-mixin.js +189 -0
  94. package/src/components/list/easyTable/v-table/src/classes-mixin.js +56 -0
  95. package/src/components/list/easyTable/v-table/src/drag-width-mixin.js +202 -0
  96. package/src/components/list/easyTable/v-table/src/export-csv.js +74 -0
  97. package/src/components/list/easyTable/v-table/src/frozen-columns-mixin.js +134 -0
  98. package/src/components/list/easyTable/v-table/src/loading.vue +49 -0
  99. package/src/components/list/easyTable/v-table/src/scroll-bar-control-mixin.js +21 -0
  100. package/src/components/list/easyTable/v-table/src/scroll-control-mixin.js +92 -0
  101. package/src/components/list/easyTable/v-table/src/sort-control-mixin.js +108 -0
  102. package/src/components/list/easyTable/v-table/src/table-empty-mixin.js +73 -0
  103. package/src/components/list/easyTable/v-table/src/table-empty.vue +66 -0
  104. package/src/components/list/easyTable/v-table/src/table-filters-mixin.js +126 -0
  105. package/src/components/list/easyTable/v-table/src/table-footer-mixin.js +122 -0
  106. package/src/components/list/easyTable/v-table/src/table-resize-mixin.js +279 -0
  107. package/src/components/list/easyTable/v-table/src/table-row-mouse-events-mixin.js +123 -0
  108. package/src/components/list/easyTable/v-table/src/table.vue +1565 -0
  109. package/src/components/list/easyTable/v-table/src/title-cell-merge-mixin.js +115 -0
  110. package/src/components/list/evTable/EvTable.vue +323 -0
  111. package/src/components/list/evTable/EvTableMixin.js +26 -0
  112. package/src/components/other/DshAvatar.vue +149 -0
  113. package/src/components/other/DshBtnModal.vue +64 -0
  114. package/src/components/other/DshColorPanel.vue +128 -0
  115. package/src/components/other/DshEditPanel.vue +130 -0
  116. package/src/components/other/InfoCascader.vue +258 -0
  117. package/src/components/other/YNoPermission.vue +45 -0
  118. package/src/components/other/ZCode.vue +125 -0
  119. package/src/components/other/ZCollapseTree.vue +84 -0
  120. package/src/components/other/ZGantt.vue +669 -0
  121. package/src/components/other/ZIframe.vue +105 -0
  122. package/src/components/other/ZLoading.vue +59 -0
  123. package/src/components/other/menu/DshMenu.vue +133 -0
  124. package/src/components/other/menu/DshMenuNav.vue +104 -0
  125. package/src/components/pages/Error/Error403.vue +34 -0
  126. package/src/components/pages/Error/Error404.vue +34 -0
  127. package/src/components/pages/Error/Error500.vue +34 -0
  128. package/src/components/pages/Error/error.less +163 -0
  129. package/src/components/pages/Error/errorBack.vue +38 -0
  130. package/src/components/small/Ctooltip.vue +90 -0
  131. package/src/components/small/DshButtons.vue +195 -0
  132. package/src/components/small/DshControlDefine.vue +110 -0
  133. package/src/components/small/DshCrumbs.vue +61 -0
  134. package/src/components/small/DshCrumbsItem.vue +107 -0
  135. package/src/components/small/DshDropdown.vue +159 -0
  136. package/src/components/small/DshFileShow.vue +212 -0
  137. package/src/components/small/DshIcons.vue +63 -0
  138. package/src/components/small/DshModal.vue +255 -0
  139. package/src/components/small/DshPage.vue +98 -0
  140. package/src/components/small/DshSteps.vue +68 -0
  141. package/src/components/small/DshTabs.vue +227 -0
  142. package/src/components/small/DshTags.vue +58 -0
  143. package/src/components/small/DshTdRender.js +21 -0
  144. package/src/components/small/DshTitle.vue +36 -0
  145. package/src/components/small/render.js +20 -0
  146. package/src/components/unit/DshFormItem.vue +157 -0
  147. package/src/components/unit/DshUnit.vue +72 -0
  148. package/src/components/unit/unitMixin.js +43 -0
  149. package/src/datas/.DS_Store +0 -0
  150. package/src/datas/common/region.json +1 -0
  151. package/src/datas/common/resourceData.json +20 -0
  152. package/src/datas/index.js +11 -0
  153. package/src/index.js +243 -0
  154. package/src/styles/animate.less +16 -0
  155. package/src/styles/bundle.css +14 -0
  156. package/src/styles/common/box.less +157 -0
  157. package/src/styles/common/common.less +31 -0
  158. package/src/styles/common/flex.less +282 -0
  159. package/src/styles/common/index.less +4 -0
  160. package/src/styles/common/text.less +43 -0
  161. package/src/styles/components/controls/DshCascader.less +75 -0
  162. package/src/styles/components/controls/DshCheckbox.less +156 -0
  163. package/src/styles/components/controls/DshCoordinates.less +72 -0
  164. package/src/styles/components/controls/DshDaterange.less +49 -0
  165. package/src/styles/components/controls/DshDivider.less +115 -0
  166. package/src/styles/components/controls/DshEditor.less +52 -0
  167. package/src/styles/components/controls/DshInput.less +40 -0
  168. package/src/styles/components/controls/DshLabels.less +187 -0
  169. package/src/styles/components/controls/DshNumberange.less +24 -0
  170. package/src/styles/components/controls/DshPackage.less +25 -0
  171. package/src/styles/components/controls/DshSelect.less +172 -0
  172. package/src/styles/components/controls/MultipleInput.less +55 -0
  173. package/src/styles/components/controls/ZUpload.less +446 -0
  174. package/src/styles/components/form/DshAdvSearchForm.less +159 -0
  175. package/src/styles/components/form/DshDefaultSearch.less +71 -0
  176. package/src/styles/components/index.less +49 -0
  177. package/src/styles/components/list/DshCascaderTable.less +113 -0
  178. package/src/styles/components/list/DshCrossTable.less +175 -0
  179. package/src/styles/components/list/DshFlatTable.less +98 -0
  180. package/src/styles/components/list/DshSingleData.less +30 -0
  181. package/src/styles/components/list/evTable.less +79 -0
  182. package/src/styles/components/list/evtable/animation.less +141 -0
  183. package/src/styles/components/list/evtable/font/fontello.eot +0 -0
  184. package/src/styles/components/list/evtable/font/fontello.svg +32 -0
  185. package/src/styles/components/list/evtable/font/fontello.ttf +0 -0
  186. package/src/styles/components/list/evtable/font/fontello.woff +0 -0
  187. package/src/styles/components/list/evtable/font/fontello.woff2 +0 -0
  188. package/src/styles/components/list/evtable/fontello.less +68 -0
  189. package/src/styles/components/list/evtable/index.less +5 -0
  190. package/src/styles/components/list/evtable/v-checkbox.less +167 -0
  191. package/src/styles/components/list/evtable/v-dropdown.less +235 -0
  192. package/src/styles/components/list/evtable/v-table.less +334 -0
  193. package/src/styles/components/list/ivu_reset.less +49 -0
  194. package/src/styles/components/other/DshEditPanel.less +70 -0
  195. package/src/styles/components/other/DshMenu.less +37 -0
  196. package/src/styles/components/other/DshMenuNav.less +82 -0
  197. package/src/styles/components/other/InfoCascader.less +55 -0
  198. package/src/styles/components/other/ZCode.less +1 -0
  199. package/src/styles/components/other/ZCollapseTree.less +62 -0
  200. package/src/styles/components/other/ZGantt.less +278 -0
  201. package/src/styles/components/other/ZLoading.less +36 -0
  202. package/src/styles/components/small/Ctooltip.less +5 -0
  203. package/src/styles/components/small/DshButtons.less +40 -0
  204. package/src/styles/components/small/DshControlDefine.less +64 -0
  205. package/src/styles/components/small/DshDropdown.less +61 -0
  206. package/src/styles/components/small/DshPage.less +94 -0
  207. package/src/styles/components/small/DshSteps.less +58 -0
  208. package/src/styles/components/small/DshTabs.less +82 -0
  209. package/src/styles/components/small/DshTitle.less +18 -0
  210. package/src/styles/components/unit/DshFormItem.less +124 -0
  211. package/src/styles/define.less +374 -0
  212. package/src/styles/index.less +10 -0
  213. package/src/styles/reset.less +83 -0
  214. package/src/styles/variables.less +98 -0
  215. package/src/styles/view_reset.less +446 -0
@@ -0,0 +1,446 @@
1
+ .ZUpload {
2
+ width: 100%;
3
+ height: 100%;
4
+ background: #FFF;
5
+ position: relative;
6
+ overflow: hidden;
7
+
8
+ // 外围
9
+ &-old {
10
+ overflow: hidden;
11
+ display: flex;
12
+
13
+ &-wrapper {
14
+ min-width: 80px;
15
+ height: 100%;
16
+ margin: 8px 0px 8px 8px;
17
+ border: none;
18
+ border-radius: 0px;
19
+
20
+ &:hover {
21
+ border: none
22
+ }
23
+ }
24
+
25
+ &-imageadd {
26
+ width: 80px;
27
+ height: 80px;
28
+ border-radius: 0px;
29
+ background: transparent!important;
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ position: relative;
34
+ border: 1px @shenpi-themeColor dashed;
35
+ color:@shenpi-themeColor;
36
+
37
+ i {
38
+ color: @iconDefaultGreyColor;
39
+ font-size: 14px;
40
+
41
+ &.bico-tianjia1{
42
+ color: @shenpi-themeColor;
43
+ margin-right: 8px;
44
+ }
45
+ }
46
+ }
47
+
48
+ &-circle {
49
+ position: absolute;
50
+ top: 50%;
51
+ left: 50%;
52
+ width: 50px !important;
53
+ height: 50px !important;
54
+ margin-top: -25px;
55
+ margin-left: -25px;
56
+ border-radius: 50%;
57
+ background-color: #f4f5fa;
58
+
59
+ i {
60
+ color: #5cb85c;
61
+ font-size: 40px;
62
+ }
63
+ }
64
+ }
65
+
66
+ &-new,
67
+ &-inline {
68
+ display: flex;
69
+
70
+ &-wrapper {
71
+ min-width: 50px;
72
+ background-color: @uploadBackgroundColor;
73
+ height: 30px;
74
+ line-height: 30px;
75
+ border: none;
76
+
77
+ &:hover {
78
+ border: none
79
+ }
80
+ }
81
+
82
+ &-imageadd {
83
+ display: flex;
84
+ justify-content: space-between;
85
+ align-items: center;
86
+ white-space: nowrap;
87
+ font-size: 14px;
88
+ padding: 0 3px;
89
+ height: 30px;
90
+ position: relative;
91
+
92
+ i {
93
+ color: @iconDefaultGreyColor;
94
+ }
95
+ }
96
+
97
+ &-circle {
98
+ position: absolute;
99
+ top: 50%;
100
+ left: 50%;
101
+ width: 24px !important;
102
+ height: 24px !important;
103
+ margin-top: -12px;
104
+ margin-left: -12px;
105
+ background-color: #f4f5fa;
106
+ border-radius: 50%;
107
+
108
+ i {
109
+ color: #5cb85c;
110
+ font-size: 24px;
111
+ }
112
+ }
113
+ }
114
+
115
+ // 列表样式
116
+ .uploadList {
117
+ width: 100%;
118
+ overflow: auto;
119
+
120
+ // 普通文件
121
+ &-old {
122
+ margin: 8px 8px 8px;
123
+ }
124
+
125
+ &-nodata {
126
+ width: 100%;
127
+ height: 100%;
128
+ text-align: center;
129
+ line-height: 80px;
130
+ color: #929292;
131
+ white-space: nowrap;
132
+
133
+ span {
134
+ margin-left: 5px;
135
+ }
136
+ }
137
+
138
+ &-list {
139
+ display: flex;
140
+ flex-wrap: nowrap;
141
+ }
142
+
143
+ &-listItem {
144
+ flex: 0 0 80px;
145
+ height: 80px;
146
+ margin-right: 10px;
147
+ background: #f4f5fa;
148
+ text-align: center;
149
+ overflow: hidden;
150
+ display: inline-flex;
151
+ flex-direction: column;
152
+ justify-content: space-between;
153
+ position: relative;
154
+
155
+ &:hover {
156
+ .uploadList-listItem-action {
157
+ display: flex !important;
158
+ }
159
+ }
160
+
161
+ &-show {
162
+ display: flex;
163
+ overflow: hidden;
164
+ align-items: center;
165
+ justify-content: center;
166
+ flex: 2;
167
+ min-height: 50px;
168
+
169
+ img {
170
+ max-width: 100%;
171
+ max-height: 100%;
172
+ }
173
+ }
174
+
175
+ &-name {
176
+ flex: 1;
177
+ display: flex;
178
+ max-height: 32px;
179
+
180
+ &-title {
181
+ padding: 0 8px;
182
+ overflow: hidden;
183
+ text-overflow: ellipsis;
184
+ white-space: nowrap;
185
+ color: @themeColor;
186
+ }
187
+ }
188
+
189
+ &-action {
190
+ display: none !important;
191
+ position: absolute;
192
+ right: 0px;
193
+ top: 0px;
194
+ left: 0px;
195
+ bottom: 0px;
196
+ background-color: rgba(0, 0, 0, 0.5);
197
+ align-items: center;
198
+ justify-content: center;
199
+
200
+ &-icon {
201
+ width: 22px;
202
+ height: 22px;
203
+ line-height: 22px;
204
+ color: #fff;
205
+ margin-left: 2px;
206
+ }
207
+ }
208
+ }
209
+
210
+ // 内部表格inline模式
211
+ &-inline {
212
+ height: 30px;
213
+ line-height: 30px;
214
+
215
+ &-list {
216
+ width: 100%;
217
+ height: 100%;
218
+ display: flex;
219
+ flex-wrap: nowrap;
220
+ overflow: auto;
221
+ padding-left: 3px;
222
+ }
223
+
224
+ &-listItem {
225
+ flex: 0 0 50px;
226
+ background: #f4f5fa;
227
+ margin-right: 3px;
228
+ position: relative;
229
+
230
+ img {
231
+ max-width: 100%;
232
+ max-height: 100%;
233
+ margin: auto;
234
+ }
235
+
236
+ &-action {
237
+ display: none !important;
238
+ position: absolute;
239
+ left: 0;
240
+ right: 0;
241
+ top: 0;
242
+ bottom: 0;
243
+ background-color: rgba(0, 0, 0, 0.4);
244
+ color: #fff;
245
+ align-items: center;
246
+
247
+ i {
248
+ margin: 0px;
249
+ }
250
+ }
251
+
252
+ &:hover {
253
+ .uploadList-inline-listItem-action {
254
+ display: flex !important;
255
+ animation: toTop 0.1s;
256
+ }
257
+ }
258
+
259
+ @keyframes toTop {
260
+ from {
261
+ top: 100%;
262
+ }
263
+
264
+ to {
265
+ top: 0;
266
+ }
267
+ }
268
+ }
269
+ }
270
+ }
271
+ }
272
+
273
+ // dropdownItem
274
+ .uploadList-new-listItem {
275
+ width: 150px;
276
+ height: 37px;
277
+ display: inline-flex;
278
+ justify-content: space-between;
279
+
280
+ &-show {
281
+ flex: 0 0 34px;
282
+ margin-right: 10px;
283
+ background: #e9edf1;
284
+ border-radius: 0px;
285
+ display: flex;
286
+ align-items: center;
287
+ justify-content: center;
288
+ overflow: hidden;
289
+
290
+ img {
291
+ max-width: 100%;
292
+ max-height: 100%;
293
+ }
294
+ }
295
+
296
+ &-right {
297
+ height: 100%;
298
+ flex: 1;
299
+ overflow: hidden;
300
+ text-align: right;
301
+ }
302
+
303
+ &-name {
304
+ &-title {
305
+ overflow: hidden;
306
+ text-overflow: ellipsis;
307
+ white-space: nowrap;
308
+ color: @themeColor;
309
+ line-height: 14px;
310
+ }
311
+ }
312
+
313
+ &-action {
314
+ display: block !important;
315
+
316
+ &-icon {
317
+ color: #9a9a9a;
318
+ }
319
+ }
320
+ }
321
+
322
+ .YUploadImage {
323
+ position: relative;
324
+
325
+ &-set {
326
+ width: 100%;
327
+
328
+ &-img {
329
+ width: 100px;
330
+ height: 100px;
331
+ float: left;
332
+ background-repeat: no-repeat;
333
+ background-position: center;
334
+ background-size: contain;
335
+ background-color: #fff;
336
+ border: 1px solid @borderColor;
337
+ border-radius: 0px;
338
+ position: relative;
339
+ overflow: hidden;
340
+
341
+ &-action {
342
+ color: @themeColor;
343
+ cursor: pointer;
344
+ }
345
+
346
+ &-circle {
347
+ position: absolute;
348
+ top: 0px;
349
+ bottom: 0px;
350
+ left: 0px;
351
+ right: 0px;
352
+ background-color: #f4f5fa;
353
+ display: flex;
354
+ align-items: center;
355
+ justify-content: center;
356
+
357
+ .circle {
358
+ width: 50px !important;
359
+ height: 50px !important;
360
+ }
361
+
362
+ i {
363
+ color: #5cb85c;
364
+ font-size: 40px;
365
+ }
366
+ }
367
+ }
368
+
369
+ &-avatar {
370
+ background-size: cover;
371
+ }
372
+
373
+ .wrap {
374
+ width: 100px;
375
+ height: 32px;
376
+ position: relative;
377
+ overflow: hidden;
378
+ display: inline-block;
379
+ line-height: 18px;
380
+ text-align: center;
381
+ vertical-align: middle;
382
+ cursor: pointer;
383
+
384
+ button {
385
+ position: absolute;
386
+ bottom: 0;
387
+ left: 0;
388
+ }
389
+
390
+ .file {
391
+ position: absolute;
392
+ bottom: 0;
393
+ left: 0;
394
+ margin: 0;
395
+ border: solid transparent;
396
+ opacity: 0;
397
+ filter: alpha(opacity=0);
398
+ cursor: pointer;
399
+ }
400
+ }
401
+ }
402
+ }
403
+
404
+ // 不同模式下的样式
405
+ .ZUpload.control {
406
+ &-default {
407
+ &-edit {
408
+ border: 1px solid @formBorderColor;
409
+ border-radius: 0px;
410
+ }
411
+
412
+ &-readonly {
413
+ border: 1px solid @readonlyBorderColor;
414
+ border-radius: 0px;
415
+ }
416
+
417
+ &-disabled {
418
+ border: 1px solid @readonlyBorderColor;
419
+ border-radius: 0px;
420
+ }
421
+
422
+ }
423
+
424
+ &-rimless {
425
+ &-edit {
426
+ border: 1px solid @formBorderColor;
427
+ border-radius: 0px;
428
+ }
429
+
430
+ &-readonly {
431
+ padding: 5px 0;
432
+
433
+ .uploadList-old {
434
+ margin: 0;
435
+ }
436
+ }
437
+
438
+ &-disabled {
439
+ padding: 5px 0;
440
+
441
+ .uploadList-old {
442
+ margin: 0;
443
+ }
444
+ }
445
+ }
446
+ }
@@ -0,0 +1,159 @@
1
+ .DshAdvSearchForm {
2
+
3
+ #title {
4
+ font-weight: 400;
5
+ color: #999999;
6
+ font-size: 14px;
7
+ }
8
+
9
+ &-title {
10
+ #title();
11
+ }
12
+
13
+ &-logic {
14
+ margin: 5px 0px 10px;
15
+ .dsh-flex-row-start-center();
16
+
17
+ &-title {
18
+ #title();
19
+ }
20
+ &-option {
21
+ flex: 1;
22
+ min-width: 100px;
23
+ margin-left: 20px;
24
+ }
25
+ }
26
+
27
+ &-conditions {
28
+ &-delete {
29
+ display: none;
30
+ padding: 3px;
31
+ position: absolute;
32
+ top: 6px;
33
+ right: 2px;
34
+ color: red;
35
+ }
36
+
37
+ &-loop,
38
+ &-item {
39
+ position: relative;
40
+
41
+ &:hover,
42
+ &-active {
43
+ .DshAdvSearchForm-conditions-delete {
44
+ display: inline-block;
45
+ }
46
+ }
47
+ }
48
+
49
+ &-loop {
50
+ padding: 10px;
51
+ margin: 6px;
52
+ border: 1px solid @greyColor;
53
+ background-color: @ghostBg;
54
+ }
55
+
56
+ &-item {
57
+ padding: 0!important;
58
+ margin-bottom: 10px!important;
59
+ cursor: pointer;
60
+
61
+ .DshFormItem-label-right {
62
+ flex: 6;
63
+ }
64
+
65
+ &-loading {
66
+ margin: 5px 0px;
67
+ text-align: center;
68
+ font-size: 16px;
69
+ color: @subColor;
70
+ }
71
+
72
+ &-control {
73
+ .dsh-margin-bottom5();
74
+ }
75
+
76
+ &-blank {
77
+ text-align: center;
78
+ line-height: 30px;
79
+ color: @subColor;
80
+ }
81
+
82
+ &-extra {
83
+ text-align: right;
84
+ padding-right: 10px;
85
+
86
+ .extra {
87
+ &-dynamic {
88
+ width: 90px;
89
+ display: inline-block;
90
+ }
91
+
92
+ &-operator {
93
+ .dsh-margin-right10();
94
+
95
+ &-wrap {
96
+ display: inline-block;
97
+ padding: 5px;
98
+ &:hover {
99
+ background-color: @hoverBg;
100
+ }
101
+ }
102
+
103
+ &-name {
104
+ display: inline-block;
105
+ min-width: 36px;
106
+ }
107
+
108
+ &-icon {
109
+ .dsh-margin-left5();
110
+ }
111
+ }
112
+ }
113
+ }
114
+
115
+ &.DshFormItem-labels{
116
+ overflow: initial;
117
+ .DshLabels {
118
+ width: 100%;
119
+ padding: 0;
120
+ }
121
+
122
+ }
123
+ }
124
+ }
125
+
126
+ &-btns {
127
+ width: 100%;
128
+ margin-top: 15px;
129
+ .dsh-flex-row-start-center();
130
+
131
+ &-field {
132
+ flex: 3;
133
+
134
+ &-list {
135
+ width: 330px;
136
+ }
137
+
138
+ &-create {
139
+ #btn-style();
140
+ }
141
+ }
142
+
143
+ &-loop {
144
+ flex: 1;
145
+ margin-left: 12px;
146
+
147
+ &-create {
148
+ #btn-style();
149
+ }
150
+ }
151
+ }
152
+
153
+ &-nodata {
154
+ margin: 20px 0px;
155
+ text-align: center;
156
+ font-size: 16px;
157
+ color: @subColor;
158
+ }
159
+ }
@@ -0,0 +1,71 @@
1
+ .DshDefaultSearch {
2
+ position: relative;
3
+
4
+ // .ivu-input {
5
+ // border-radius: 0;
6
+ // }
7
+
8
+ // .DshLabels-show {
9
+ // border-radius: 0;
10
+ // }
11
+
12
+ &-item {
13
+ padding: 0 !important;
14
+ padding-bottom: 6px !important;
15
+ padding-top: 6px !important;
16
+ margin-top: 0px !important;
17
+ margin-bottom: 0px !important;
18
+
19
+ &-name {}
20
+
21
+ &.DshFormItem-labels {
22
+ .DshLabels {
23
+ position: static;
24
+ width: 100%;
25
+ padding: 0;
26
+
27
+ &-searchResult {
28
+ position: fixed;
29
+ }
30
+ }
31
+ }
32
+ }
33
+
34
+ &-form {
35
+ position: relative;
36
+ z-index: 2;
37
+ }
38
+
39
+ //展开图标
40
+ &-fold {
41
+ width: 100%;
42
+ text-align: center;
43
+ position: absolute;
44
+ bottom: -20px;
45
+ left: 0px;
46
+
47
+ &-zhanwei {
48
+ width: 100%;
49
+ height: 15px;
50
+ background: #fff;
51
+ position: relative;
52
+ z-index: 1;
53
+ }
54
+
55
+ &-icon {
56
+ width: 48px;
57
+ height: 20px;
58
+ text-align: center;
59
+ line-height: 20px;
60
+ background: #fff;
61
+ box-shadow: 0 0 16px 0 rgba(51, 51, 51, 0.1);
62
+ font-size: 14px;
63
+ color: #999999;
64
+ cursor: pointer;
65
+
66
+ &.arrow-up {
67
+ transform: rotate(180deg);
68
+ }
69
+ }
70
+ }
71
+ }
@@ -0,0 +1,49 @@
1
+ // controls
2
+ @import "./controls/DshCheckbox.less";
3
+ @import "./controls/DshCoordinates.less";
4
+ @import "./controls/DshDaterange.less";
5
+ @import "./controls/DshDivider.less";
6
+ @import "./controls/DshInput.less";
7
+ @import "./controls/DshNumberange.less";
8
+ @import "./controls/DshSelect.less";
9
+ @import "./controls/ZUpload.less";
10
+ @import "./controls/DshCascader.less";
11
+ @import "./controls/DshEditor.less";
12
+ @import "./controls/MultipleInput.less";
13
+ @import "./controls/DshLabels.less";
14
+ @import "./controls/DshPackage.less";
15
+
16
+ // form
17
+ @import "./form/DshAdvSearchForm.less";
18
+ @import "./form/DshDefaultSearch.less";
19
+
20
+ // list
21
+ @import "./list/evTable.less";
22
+ @import "./list/DshCascaderTable.less";
23
+ @import "./list/DshFlatTable.less";
24
+ @import "./list/DshSingleData.less";
25
+ @import "./list/DshCrossTable.less";
26
+ @import "./list/ivu_reset.less";
27
+
28
+ // other
29
+ @import "./other/DshEditPanel.less";
30
+ @import "./other/DshMenu.less";
31
+ @import "./other/DshMenuNav.less";
32
+ @import "./other/ZCode.less";
33
+ @import "./other/ZCollapseTree.less";
34
+ @import "./other/ZGantt.less";
35
+ @import "./other/InfoCascader.less";
36
+ @import "./other/ZLoading.less";
37
+
38
+ // small
39
+ @import "./small/DshButtons.less";
40
+ @import "./small/Ctooltip.less";
41
+ @import "./small/DshDropdown.less";
42
+ @import "./small/DshPage.less";
43
+ @import "./small/DshTabs.less";
44
+ @import "./small/DshTitle.less";
45
+ @import "./small/DshSteps.less";
46
+ @import "./small/DshControlDefine.less";
47
+
48
+ // unit
49
+ @import "./unit/DshFormItem.less";