bri-components 1.1.3 → 1.1.4
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/lib/0.bri-components.min.js +1 -1
- package/lib/1.bri-components.min.js +1 -1
- package/lib/2.bri-components.min.js +1 -1
- package/lib/3.bri-components.min.js +1 -1
- package/lib/4.bri-components.min.js +1 -1
- package/lib/5.bri-components.min.js +1 -1
- package/lib/6.bri-components.min.js +1 -1
- package/lib/7.bri-components.min.js +1 -1
- package/lib/bri-components.min.js +6 -6
- package/lib/styles/bri-components.css +1 -1
- package/package.json +1 -1
- package/src/abolish/DshCascaders.less +11 -0
- package/src/{components/controls/base/DshCascaderMultiple.vue → abolish/DshCascaders.vue} +4 -23
- package/src/{components/list → abolish}/DshFlatTable.vue +1 -1
- package/src/abolish/DshTexts.less +13 -0
- package/src/{components/controls/base/textMultiple/DshTextMultiple.vue → abolish/DshTexts.vue} +4 -20
- package/src/components/controls/base/{textMultiple/MultipleInput.vue → BriInputs.vue} +13 -12
- package/src/components/controls/base/{ZUpload/YUploadImage.vue → BriUpload/BriUploadImage.vue} +56 -15
- package/src/components/controls/base/{ZUpload → BriUpload}/index.vue +11 -12
- package/src/components/controls/base/{ZUpload → BriUpload}/uploadMixin.js +2 -2
- package/src/components/controls/base/{DshCascader.vue → DshCascader/DshCascader.vue} +20 -16
- package/src/components/controls/base/DshCheckbox.vue +1 -1
- package/src/components/controls/base/DshCoordinates.vue +117 -109
- package/src/components/controls/base/DshEditor.vue +1 -1
- package/src/components/controls/base/DshInput.vue +9 -4
- package/src/components/controls/base/DshNumber/DshNumber.vue +2 -0
- package/src/components/controls/base/DshSelect.vue +1 -1
- package/src/components/controls/controlMap.js +6 -7
- package/src/components/controls/controlMixin.js +6 -5
- package/src/components/list/DshBox/DshBox.vue +7 -24
- package/src/components/list/DshBox/DshCard.vue +13 -72
- package/src/components/list/DshBox/DshList.vue +8 -136
- package/src/components/list/DshBox/DshPanel.vue +0 -110
- package/src/components/list/DshBox/DshTable.vue +1 -4
- package/src/components/list/ZTree.vue +0 -58
- package/src/components/other/ZIframe.vue +5 -0
- package/src/components/small/DshControlDefine.vue +5 -1
- package/src/components/small/DshPage.vue +1 -0
- package/src/index.js +11 -23
- package/src/styles/common/control.less +16 -17
- package/src/styles/components/controls/{MultipleInput.less → BriInputs.less} +1 -1
- package/src/styles/components/controls/{ZUpload.less → BriUpload.less} +4 -4
- package/src/styles/components/controls/DshCoordinates.less +53 -43
- package/src/styles/components/controls/DshNumber.less +18 -0
- package/src/styles/components/index.less +22 -16
- package/src/styles/components/list/DshBox/DshBox.less +20 -0
- package/src/styles/components/list/DshBox/DshCard.less +59 -0
- package/src/styles/components/list/DshBox/DshList.less +142 -0
- package/src/styles/components/list/DshBox/DshPanel.less +107 -0
- package/src/styles/components/list/DshBox/DshTable.less +4 -0
- package/src/styles/components/list/ZTree.less +52 -0
- package/src/styles/components/small/DshModal.less +1 -1
- package/src/styles/variables.less +1 -0
- package/src/utils/table.js +3 -2
- package/src/components/controls/base/YSerialNumber.vue +0 -43
- package/src/components/list/easyTable/index.js +0 -23
- package/src/components/list/easyTable/src/directives/clickoutside.js +0 -32
- package/src/components/list/easyTable/src/mixins/layerAdjustment.js +0 -62
- package/src/components/list/easyTable/src/settings/settings.js +0 -11
- package/src/components/list/easyTable/src/utils/deepClone.js +0 -256
- package/src/components/list/easyTable/src/utils/dom.js +0 -41
- package/src/components/list/easyTable/src/utils/utils.js +0 -190
- package/src/components/list/easyTable/v-checkbox/index.js +0 -7
- package/src/components/list/easyTable/v-checkbox/src/checkbox.vue +0 -127
- package/src/components/list/easyTable/v-checkbox-group/index.js +0 -7
- package/src/components/list/easyTable/v-checkbox-group/src/checkbox-group.vue +0 -68
- package/src/components/list/easyTable/v-dropdown/index.js +0 -7
- package/src/components/list/easyTable/v-dropdown/src/dropdown.vue +0 -337
- package/src/components/list/easyTable/v-table/index.js +0 -7
- package/src/components/list/easyTable/v-table/src/body-cell-merge-mixin.js +0 -141
- package/src/components/list/easyTable/v-table/src/cell-edit-mixin.js +0 -102
- package/src/components/list/easyTable/v-table/src/checkbox-selection-mixin.js +0 -189
- package/src/components/list/easyTable/v-table/src/classes-mixin.js +0 -56
- package/src/components/list/easyTable/v-table/src/drag-width-mixin.js +0 -202
- package/src/components/list/easyTable/v-table/src/export-csv.js +0 -74
- package/src/components/list/easyTable/v-table/src/frozen-columns-mixin.js +0 -134
- package/src/components/list/easyTable/v-table/src/loading.vue +0 -49
- package/src/components/list/easyTable/v-table/src/scroll-bar-control-mixin.js +0 -21
- package/src/components/list/easyTable/v-table/src/scroll-control-mixin.js +0 -92
- package/src/components/list/easyTable/v-table/src/sort-control-mixin.js +0 -108
- package/src/components/list/easyTable/v-table/src/table-empty-mixin.js +0 -73
- package/src/components/list/easyTable/v-table/src/table-empty.vue +0 -66
- package/src/components/list/easyTable/v-table/src/table-filters-mixin.js +0 -126
- package/src/components/list/easyTable/v-table/src/table-footer-mixin.js +0 -122
- package/src/components/list/easyTable/v-table/src/table-resize-mixin.js +0 -279
- package/src/components/list/easyTable/v-table/src/table-row-mouse-events-mixin.js +0 -123
- package/src/components/list/easyTable/v-table/src/table.vue +0 -1565
- package/src/components/list/easyTable/v-table/src/title-cell-merge-mixin.js +0 -115
- package/src/components/list/evTable/EvTable.vue +0 -321
- package/src/components/list/evTable/EvTableMixin.js +0 -26
- package/src/styles/components/list/evTable.less +0 -79
- package/src/styles/components/list/evtable/animation.less +0 -141
- package/src/styles/components/list/evtable/font/fontello.eot +0 -0
- package/src/styles/components/list/evtable/font/fontello.svg +0 -32
- package/src/styles/components/list/evtable/font/fontello.ttf +0 -0
- package/src/styles/components/list/evtable/font/fontello.woff +0 -0
- package/src/styles/components/list/evtable/font/fontello.woff2 +0 -0
- package/src/styles/components/list/evtable/fontello.less +0 -68
- package/src/styles/components/list/evtable/index.less +0 -5
- package/src/styles/components/list/evtable/v-checkbox.less +0 -167
- package/src/styles/components/list/evtable/v-dropdown.less +0 -235
- package/src/styles/components/list/evtable/v-table.less +0 -334
- package/src/styles/components/list/ivu_reset.less +0 -49
- /package/src/{styles/components/list → abolish}/DshFlatTable.less +0 -0
- /package/src/components/{pages/Error → Error}/Error403.vue +0 -0
- /package/src/components/{pages/Error → Error}/Error404.vue +0 -0
- /package/src/components/{pages/Error → Error}/Error500.vue +0 -0
- /package/src/components/{pages/Error → Error}/error.less +0 -0
- /package/src/components/{pages/Error → Error}/errorBack.vue +0 -0
- /package/src/components/controls/base/{ZUpload → BriUpload}/upload-list.vue +0 -0
- /package/src/components/controls/base/{ZUpload → BriUpload}/upload-listItem.vue +0 -0
- /package/src/components/{other → controls/base/DshCascader}/InfoCascader.vue +0 -0
- /package/src/styles/components/{other → controls}/InfoCascader.less +0 -0
- /package/src/styles/components/list/{DshCrossTable.less → DshBox/DshCrossTable.less} +0 -0
- /package/src/styles/components/list/{DshSingleData.less → DshBox/DshSingleData.less} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:class="{
|
|
4
4
|
'dsh-control-define': true,
|
|
5
5
|
'dsh-control-define-multiplerow': selfPropsObj._multiplerow,
|
|
6
|
-
'dsh-control-define-disabled':
|
|
6
|
+
'dsh-control-define-disabled': !finalCanEdit,
|
|
7
7
|
'dsh-control-define-show': !canEdit
|
|
8
8
|
}"
|
|
9
9
|
@click="clickInput"
|
|
@@ -53,6 +53,10 @@
|
|
|
53
53
|
type: Boolean,
|
|
54
54
|
default: true
|
|
55
55
|
},
|
|
56
|
+
finalCanEdit: {
|
|
57
|
+
type: Boolean,
|
|
58
|
+
default: true
|
|
59
|
+
},
|
|
56
60
|
value: {
|
|
57
61
|
type: [String, Array],
|
|
58
62
|
default () {
|
package/src/index.js
CHANGED
|
@@ -8,8 +8,6 @@ import { VeTable, VeLocale } from "vue-easytable";
|
|
|
8
8
|
import CN from "vue-easytable/libs/locale/lang/zh-CN.js";
|
|
9
9
|
|
|
10
10
|
// list
|
|
11
|
-
// import { VTable } from "./components/list/easyTable/index.js";
|
|
12
|
-
// import EvTable from "./components/list/evTable/EvTable.vue"; // 大表格
|
|
13
11
|
import DshBox from "./components/list/DshBox/DshBox.vue";
|
|
14
12
|
import DshTable from "./components/list/DshBox/DshTable.vue";
|
|
15
13
|
import DshList from "./components/list/DshBox/DshList.vue";
|
|
@@ -33,7 +31,7 @@ import DshInput from "./components/controls/base/DshInput.vue";
|
|
|
33
31
|
import DshNumber from "./components/controls/base/DshNumber/DshNumber.vue";
|
|
34
32
|
import DshSelect from "./components/controls/base/DshSelect.vue";
|
|
35
33
|
import DshCheckbox from "./components/controls/base/DshCheckbox.vue";
|
|
36
|
-
import DshCascader from "./components/controls/base/DshCascader.vue";
|
|
34
|
+
import DshCascader from "./components/controls/base/DshCascader/DshCascader.vue";
|
|
37
35
|
|
|
38
36
|
// 其他
|
|
39
37
|
import ZCode from "./components/other/ZCode.vue";
|
|
@@ -71,22 +69,19 @@ import BriButton from "./components/small/BriButton.vue";
|
|
|
71
69
|
import BriTree from "./components/small/BriTree.vue";
|
|
72
70
|
|
|
73
71
|
/* -------------------- 局部组件 ----------------------- */
|
|
74
|
-
//
|
|
75
|
-
import Error500 from "./components/
|
|
76
|
-
import Error403 from "./components/
|
|
77
|
-
import Error404 from "./components/
|
|
72
|
+
// error
|
|
73
|
+
import Error500 from "./components/Error/Error500.vue";
|
|
74
|
+
import Error403 from "./components/Error/Error403.vue";
|
|
75
|
+
import Error404 from "./components/Error/Error404.vue";
|
|
78
76
|
|
|
79
77
|
// controls
|
|
80
|
-
|
|
81
|
-
import MultipleInput from "./components/controls/base/textMultiple/MultipleInput.vue";
|
|
82
|
-
import YSerialNumber from "./components/controls/base/YSerialNumber.vue";
|
|
78
|
+
import BriInputs from "./components/controls/base/BriInputs.vue";
|
|
83
79
|
import DshNumberange from "./components/controls/base/DshNumberange.vue";
|
|
84
80
|
import DshDate from "./components/controls/base/DshDate.vue";
|
|
85
81
|
import DshDaterange from "./components/controls/base/DshDaterange.vue";
|
|
86
82
|
import DshSwitch from "./components/controls/base/DshSwitch.vue";
|
|
87
|
-
|
|
88
|
-
import
|
|
89
|
-
import YUploadImage from "./components/controls/base/ZUpload/YUploadImage.vue";
|
|
83
|
+
import BriUpload from "./components/controls/base/BriUpload/index.vue";
|
|
84
|
+
import BriUploadImage from "./components/controls/base/BriUpload/BriUploadImage.vue";
|
|
90
85
|
import DshCoordinates from "./components/controls/base/DshCoordinates.vue";
|
|
91
86
|
import DshEditor from "./components/controls/base/DshEditor.vue";
|
|
92
87
|
import DshDivider from "./components/controls/base/DshDivider.vue";
|
|
@@ -103,8 +98,6 @@ const map = {
|
|
|
103
98
|
DshDraggable,
|
|
104
99
|
DshCropper,
|
|
105
100
|
|
|
106
|
-
// VTable,
|
|
107
|
-
// EvTable,
|
|
108
101
|
DshBox,
|
|
109
102
|
DshTable,
|
|
110
103
|
DshList,
|
|
@@ -193,8 +186,6 @@ export {
|
|
|
193
186
|
DshDraggable,
|
|
194
187
|
DshCropper,
|
|
195
188
|
|
|
196
|
-
VTable,
|
|
197
|
-
EvTable,
|
|
198
189
|
DshBox,
|
|
199
190
|
DshTable,
|
|
200
191
|
DshList,
|
|
@@ -254,16 +245,13 @@ export {
|
|
|
254
245
|
Error403,
|
|
255
246
|
Error404,
|
|
256
247
|
|
|
257
|
-
|
|
258
|
-
MultipleInput,
|
|
259
|
-
YSerialNumber,
|
|
248
|
+
BriInputs,
|
|
260
249
|
DshNumberange,
|
|
261
250
|
DshDate,
|
|
262
251
|
DshDaterange,
|
|
263
252
|
DshSwitch,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
YUploadImage,
|
|
253
|
+
BriUpload,
|
|
254
|
+
BriUploadImage,
|
|
267
255
|
DshCoordinates,
|
|
268
256
|
DshEditor,
|
|
269
257
|
DshDivider,
|
|
@@ -51,10 +51,6 @@
|
|
|
51
51
|
// }
|
|
52
52
|
|
|
53
53
|
// 表单模式
|
|
54
|
-
.control-show {
|
|
55
|
-
border: none;
|
|
56
|
-
background-color: transparent;
|
|
57
|
-
}
|
|
58
54
|
.control-edit {
|
|
59
55
|
height: 32px;
|
|
60
56
|
border: 1px solid @borderColor;
|
|
@@ -64,6 +60,22 @@
|
|
|
64
60
|
cursor: pointer;
|
|
65
61
|
color: @textColor;
|
|
66
62
|
}
|
|
63
|
+
.control-disabled {
|
|
64
|
+
border: 1px solid @border-disabled;
|
|
65
|
+
border-radius: @borderRadius;
|
|
66
|
+
background: @inputBg-disabled;
|
|
67
|
+
cursor: not-allowed;
|
|
68
|
+
color: @textColor-disabled;
|
|
69
|
+
}
|
|
70
|
+
.control-show {
|
|
71
|
+
border: none;
|
|
72
|
+
background-color: transparent;
|
|
73
|
+
}
|
|
74
|
+
.control-unit {
|
|
75
|
+
border: none;
|
|
76
|
+
background-color: transparent;
|
|
77
|
+
}
|
|
78
|
+
|
|
67
79
|
.control-placeholder {
|
|
68
80
|
color: @placeholderColor;
|
|
69
81
|
}
|
|
@@ -74,19 +86,6 @@
|
|
|
74
86
|
line-height: 32px;
|
|
75
87
|
color: @textColor-readonly;
|
|
76
88
|
}
|
|
77
|
-
.control-disabled {
|
|
78
|
-
border: 1px solid @border-disabled;
|
|
79
|
-
border-radius: @borderRadius;
|
|
80
|
-
background: @inputBg-disabled;
|
|
81
|
-
cursor: not-allowed;
|
|
82
|
-
color: @textColor-disabled;
|
|
83
|
-
}
|
|
84
89
|
.control-notext {
|
|
85
90
|
color: @placeholderColor;
|
|
86
91
|
}
|
|
87
|
-
|
|
88
|
-
// 暂时移到这里,部分需要删除
|
|
89
|
-
.control-nodata-text {
|
|
90
|
-
color: @placeholderColor ;
|
|
91
|
-
font-weight: 400;
|
|
92
|
-
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.BriUpload {
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
position: relative;
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
-
.
|
|
317
|
+
.BriUploadImage {
|
|
318
318
|
position: relative;
|
|
319
319
|
|
|
320
320
|
&-set {
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
398
|
|
|
399
|
-
.
|
|
399
|
+
.BriUpload-readonly {
|
|
400
400
|
border: none;
|
|
401
401
|
border-radius: 0px;
|
|
402
402
|
background-color: transparent;
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
|
|
423
|
-
.
|
|
423
|
+
.BriUpload-disabled {
|
|
424
424
|
.control-disabled();
|
|
425
425
|
.ZUploa-old-wrapper {
|
|
426
426
|
margin: 0px;
|
|
@@ -2,63 +2,68 @@
|
|
|
2
2
|
width: 100%;
|
|
3
3
|
line-height: 30px;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
text-align: right;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&-wrap {
|
|
5
|
+
&-edit {
|
|
10
6
|
position: relative;
|
|
11
7
|
padding: 0 32px 0 8px;
|
|
12
|
-
&-zuobiao {
|
|
13
|
-
color: #e5e5e5;
|
|
14
|
-
line-height: 32px;
|
|
15
|
-
position: absolute;
|
|
16
|
-
right: 6px;
|
|
17
|
-
top: 0;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
8
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
9
|
+
.value {
|
|
10
|
+
width: 100%;
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
align-items: center;
|
|
26
14
|
|
|
27
|
-
|
|
28
|
-
|
|
15
|
+
&-name {
|
|
16
|
+
.dsh-ellipsis();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&-icon {
|
|
20
|
+
padding: 5px;
|
|
21
|
+
}
|
|
29
22
|
}
|
|
30
|
-
}
|
|
31
23
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&-message {
|
|
37
|
-
position: absolute;
|
|
38
|
-
color: red;
|
|
39
|
-
font-size: 12px;
|
|
40
|
-
bottom: -16px;
|
|
41
|
-
left: 0px;
|
|
42
|
-
}
|
|
24
|
+
.nodata {
|
|
25
|
+
color: @placeholderColor;
|
|
43
26
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
27
|
+
&-icon {
|
|
28
|
+
color: #e5e5e5;
|
|
29
|
+
line-height: 32px;
|
|
30
|
+
position: absolute;
|
|
31
|
+
right: 6px;
|
|
32
|
+
top: 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
47
35
|
}
|
|
48
36
|
|
|
49
|
-
&-show {
|
|
50
|
-
padding: 0 8px;
|
|
51
|
-
line-height: 32px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
37
|
&-modal {
|
|
55
38
|
&-header {
|
|
56
39
|
padding: 5px 0px;
|
|
57
40
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
41
|
+
.edit {
|
|
42
|
+
&-message {
|
|
43
|
+
position: absolute;
|
|
44
|
+
color: red;
|
|
45
|
+
font-size: 12px;
|
|
46
|
+
bottom: -16px;
|
|
47
|
+
left: 0px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&-text {
|
|
51
|
+
font-size: @textSize;
|
|
52
|
+
line-height: 18px;
|
|
53
|
+
}
|
|
61
54
|
}
|
|
55
|
+
|
|
56
|
+
.show {
|
|
57
|
+
&-name {
|
|
58
|
+
text-align: right;
|
|
59
|
+
.dsh-padding-top10();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&-map {
|
|
65
|
+
width: 100%;
|
|
66
|
+
height: 100%;
|
|
62
67
|
}
|
|
63
68
|
|
|
64
69
|
.ivu-modal-content {
|
|
@@ -71,4 +76,9 @@
|
|
|
71
76
|
}
|
|
72
77
|
}
|
|
73
78
|
}
|
|
79
|
+
|
|
80
|
+
&-show {
|
|
81
|
+
padding: 0 8px;
|
|
82
|
+
line-height: 32px;
|
|
83
|
+
}
|
|
74
84
|
}
|
|
@@ -30,4 +30,22 @@
|
|
|
30
30
|
border-color: transparent;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
+
}
|
|
34
|
+
.ivu-input-number-handler {
|
|
35
|
+
&-wrap {
|
|
36
|
+
// opacity: 1;
|
|
37
|
+
border-left: none;
|
|
38
|
+
}
|
|
39
|
+
&-down {
|
|
40
|
+
border: none;
|
|
41
|
+
}
|
|
42
|
+
&:hover {
|
|
43
|
+
background-color: @hoverBg;
|
|
44
|
+
.ivu-input-number-handler-down-inner, .ivu-input-number-handler-up-inner {
|
|
45
|
+
color: @textColor;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
&-down-inner, &-up-inner {
|
|
49
|
+
color: @contentColor;
|
|
50
|
+
}
|
|
33
51
|
}
|
|
@@ -1,36 +1,43 @@
|
|
|
1
1
|
// controls
|
|
2
|
-
@import "./controls/DshCheckbox.less";
|
|
3
|
-
@import "./controls/DshCoordinates.less";
|
|
4
|
-
@import "./controls/DshDaterange.less";
|
|
5
|
-
@import "./controls/DshDivider.less";
|
|
6
2
|
@import "./controls/DshInput.less";
|
|
3
|
+
@import "./controls/BriInputs.less";
|
|
7
4
|
@import "./controls/DshNumber.less";
|
|
8
5
|
@import "./controls/DshNumberange.less";
|
|
6
|
+
@import "./controls/DshCheckbox.less";
|
|
9
7
|
@import "./controls/DshSelect.less";
|
|
10
|
-
@import "./controls/
|
|
8
|
+
@import "./controls/DshDate.less";
|
|
9
|
+
@import "./controls/DshDaterange.less";
|
|
11
10
|
@import "./controls/DshCascader.less";
|
|
11
|
+
@import "./controls/InfoCascader.less";
|
|
12
|
+
@import "./controls/DshCoordinates.less";
|
|
12
13
|
@import "./controls/DshEditor.less";
|
|
13
|
-
@import "./controls/
|
|
14
|
-
|
|
15
|
-
@import "./controls/
|
|
14
|
+
@import "./controls/DshDivider.less";
|
|
15
|
+
|
|
16
|
+
@import "./controls/BriUpload.less";
|
|
16
17
|
@import "./controls/flatTable.less";
|
|
17
18
|
@import "./controls/cascaderTable.less";
|
|
19
|
+
@import "./controls/BriLabels.less";
|
|
20
|
+
@import "./controls/DshPackage.less";
|
|
21
|
+
|
|
18
22
|
@import "./controls/controlShow.less";
|
|
19
|
-
@import "./controls/DshDate.less";
|
|
20
23
|
|
|
21
24
|
// form
|
|
22
25
|
@import "./form/DshAdvSearchForm.less";
|
|
23
26
|
@import "./form/DshDefaultSearch.less";
|
|
24
27
|
|
|
25
28
|
// list
|
|
26
|
-
@import "./list/
|
|
27
|
-
@import "./list/
|
|
28
|
-
|
|
29
|
-
@import "./list/
|
|
30
|
-
@import "./list/
|
|
31
|
-
@import "./list/
|
|
29
|
+
@import "./list/DshBox/DshBox.less";
|
|
30
|
+
@import "./list/DshBox/DshTable.less";
|
|
31
|
+
@import "./list/DshBox/DshCrossTable.less";
|
|
32
|
+
@import "./list/DshBox/DshCard.less";
|
|
33
|
+
@import "./list/DshBox/DshPanel.less";
|
|
34
|
+
@import "./list/DshBox/DshSingleData.less";
|
|
35
|
+
@import "./list/DshBox/DshList.less";
|
|
36
|
+
|
|
32
37
|
@import "./list/BriTable.less";
|
|
33
38
|
@import "./list/BriFlatTable.less";
|
|
39
|
+
@import "./list/DshCascaderTable.less";
|
|
40
|
+
@import "./list/ZTree.less";
|
|
34
41
|
|
|
35
42
|
// other
|
|
36
43
|
@import "./other/DshEditPanel.less";
|
|
@@ -39,7 +46,6 @@
|
|
|
39
46
|
@import "./other/ZCode.less";
|
|
40
47
|
@import "./other/ZCollapseTree.less";
|
|
41
48
|
@import "./other/ZGantt.less";
|
|
42
|
-
@import "./other/InfoCascader.less";
|
|
43
49
|
@import "./other/ZLoading.less";
|
|
44
50
|
@import "./other/BriTransfer.less";
|
|
45
51
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.DshBox {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
|
|
7
|
+
&-list {
|
|
8
|
+
width: 100%;
|
|
9
|
+
flex: 1;
|
|
10
|
+
min-height: 60px;
|
|
11
|
+
margin-bottom: 10px;
|
|
12
|
+
background: #fff;
|
|
13
|
+
overflow: auto;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&-page {
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 30px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
.DshCard {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-wrap: wrap;
|
|
4
|
+
background-color: #ffffff;
|
|
5
|
+
padding: 0 40px;
|
|
6
|
+
|
|
7
|
+
&-item {
|
|
8
|
+
width: 250px;
|
|
9
|
+
height: 210px;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
margin: 10px 16px 30px;
|
|
12
|
+
border-radius: 6px;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
box-shadow: 0px 4px 8px 0px rgba(222, 222, 222, 0.75);
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
position: relative;
|
|
19
|
+
|
|
20
|
+
&-dropdown {
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 5px;
|
|
23
|
+
right: 5px;
|
|
24
|
+
}
|
|
25
|
+
&-image {
|
|
26
|
+
padding-top: 20px;
|
|
27
|
+
height: 122px;
|
|
28
|
+
}
|
|
29
|
+
&-info {
|
|
30
|
+
flex: 1;
|
|
31
|
+
padding: 8px 15px;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
background: #F7FBFF;
|
|
34
|
+
&-title {
|
|
35
|
+
font-size: 14px;
|
|
36
|
+
font-weight: 600;
|
|
37
|
+
}
|
|
38
|
+
&-col {
|
|
39
|
+
height: 24px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.unit {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: row;
|
|
45
|
+
&-label {
|
|
46
|
+
max-width: 60px;
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
color: #515A6E;
|
|
49
|
+
}
|
|
50
|
+
&-colon {
|
|
51
|
+
|
|
52
|
+
}
|
|
53
|
+
&-value {
|
|
54
|
+
flex: 1;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
.DshList {
|
|
2
|
+
@height:44px;
|
|
3
|
+
|
|
4
|
+
.list {
|
|
5
|
+
&-loading {
|
|
6
|
+
min-height: 100px;
|
|
7
|
+
|
|
8
|
+
&-wrap {
|
|
9
|
+
display: block;
|
|
10
|
+
height: 100%;
|
|
11
|
+
width: 100%;
|
|
12
|
+
background-color: #fff;
|
|
13
|
+
z-index: 99999;
|
|
14
|
+
position: relative;
|
|
15
|
+
opacity: 0.6;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&-content {
|
|
19
|
+
z-index: 9999999;
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 30px;
|
|
22
|
+
left: 50%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&-icon {
|
|
26
|
+
-moz-animation: spin 2.3s infinite linear;
|
|
27
|
+
-o-animation: spin 2.3s infinite linear;
|
|
28
|
+
-webkit-animation: spin 2.3s infinite linear;
|
|
29
|
+
animation: spin 2.3s infinite linear;
|
|
30
|
+
display: inline-block;
|
|
31
|
+
font-size: 28px;
|
|
32
|
+
opacity:0.6;
|
|
33
|
+
|
|
34
|
+
&:before {
|
|
35
|
+
content: '\e838';
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&-cols,
|
|
41
|
+
&-rows {
|
|
42
|
+
position: relative;
|
|
43
|
+
&-left {
|
|
44
|
+
width: 48px;
|
|
45
|
+
text-align: center;
|
|
46
|
+
position: absolute;
|
|
47
|
+
left: 0;
|
|
48
|
+
top: 0;
|
|
49
|
+
label {
|
|
50
|
+
display: inline-block;
|
|
51
|
+
height: 36px;
|
|
52
|
+
padding: 9px 5px;
|
|
53
|
+
margin: 0px;
|
|
54
|
+
line-height: 18px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.row {
|
|
59
|
+
width: 100%;
|
|
60
|
+
line-height: 20px;
|
|
61
|
+
display: flex;
|
|
62
|
+
justify-content: space-between;
|
|
63
|
+
&-item {
|
|
64
|
+
min-width: 120px;
|
|
65
|
+
height: 100%;
|
|
66
|
+
padding: 0 16px;
|
|
67
|
+
font-size: 14px;
|
|
68
|
+
align-items: center;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&-cols {
|
|
74
|
+
height: @height;
|
|
75
|
+
background: #f0f0f0;
|
|
76
|
+
&-left {}
|
|
77
|
+
&-right {}
|
|
78
|
+
|
|
79
|
+
.row {
|
|
80
|
+
font-weight: 700;
|
|
81
|
+
&-item {
|
|
82
|
+
padding: 10px 16px;
|
|
83
|
+
border-top: 1px #e5e5e5 solid;
|
|
84
|
+
border-bottom: 1px #f0f0f0 solid;
|
|
85
|
+
border-left: 1px #e5e5e5 solid;
|
|
86
|
+
|
|
87
|
+
&:last-child{
|
|
88
|
+
border-right: 1px #e5e5e5 solid;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&-inner {
|
|
92
|
+
.dsh-ellipsis{
|
|
93
|
+
font-size: 14px;
|
|
94
|
+
color: #666;
|
|
95
|
+
font-weight: 700;
|
|
96
|
+
line-height: 24px;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&-rows {
|
|
104
|
+
&-left {
|
|
105
|
+
label {
|
|
106
|
+
height: 44px;
|
|
107
|
+
line-height: 20px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
&-right {}
|
|
111
|
+
|
|
112
|
+
.row {
|
|
113
|
+
height: 44px;
|
|
114
|
+
line-height: 20px;
|
|
115
|
+
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
&-item {
|
|
118
|
+
display: flex;
|
|
119
|
+
border: 1px solid #E5E5E5;
|
|
120
|
+
border-width: 0 0 1px 1px;
|
|
121
|
+
|
|
122
|
+
&:last-child{
|
|
123
|
+
border-width: 0 1px 1px 1px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&-inner {
|
|
127
|
+
width: 100%;
|
|
128
|
+
font-size: 14px;
|
|
129
|
+
color: #333;
|
|
130
|
+
font-weight: 400;
|
|
131
|
+
line-height: 24px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&-noData {
|
|
138
|
+
padding: 10px 0px;
|
|
139
|
+
text-align: center;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|