bri-components 1.1.4 → 1.1.6
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/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 +5 -5
- package/package.json +1 -1
- package/src/components/controls/base/DshCascader/DshCascader.vue +202 -160
- package/src/components/controls/base/DshCascader/InfoCascader.vue +11 -9
- package/src/components/controls/base/DshCoordinates.vue +118 -115
- package/src/components/controls/base/DshSelect.vue +8 -6
- package/src/components/controls/base/DshSwitch.vue +45 -87
- package/src/components/controls/controlMixin.js +26 -6
- package/src/components/form/DshDefaultSearch.vue +1 -1
- package/src/components/form/DshForm.vue +4 -0
- package/src/components/list/BriTable.vue +0 -1
- package/src/components/other/BriSvg.vue +28 -0
- package/src/components/other/DshEditPanel.vue +33 -11
- package/src/components/other/ZLoading.vue +24 -12
- package/src/components/small/BriButton.vue +2 -2
- package/src/components/small/DshButtons.vue +28 -2
- package/src/components/small/DshIcons.vue +1 -1
- package/src/components/unit/DshFormItem.vue +2 -2
- package/src/index.js +6 -5
- package/src/styles/common/control.less +11 -7
- package/src/styles/components/controls/base/DshCascader.less +110 -0
- package/src/styles/components/controls/base/DshSwitch.less +37 -0
- package/src/styles/components/form/DshDefaultSearch.less +41 -9
- package/src/styles/components/index.less +19 -19
- package/src/styles/components/other/ZLoading.less +5 -7
- package/src/styles/components/small/BriButton.less +34 -2
- package/src/styles/components/small/DshDropdown.less +1 -7
- package/src/styles/components/unit/DshFormItem.less +1 -2
- package/src/components/small/DshControlDefine.vue +0 -115
- package/src/styles/components/controls/DshCascader.less +0 -79
- package/src/styles/components/small/DshControlDefine.less +0 -40
- /package/src/styles/components/controls/{BriInputs.less → base/BriInputs.less} +0 -0
- /package/src/styles/components/controls/{BriUpload.less → base/BriUpload.less} +0 -0
- /package/src/styles/components/controls/{DshCheckbox.less → base/DshCheckbox.less} +0 -0
- /package/src/styles/components/controls/{DshCoordinates.less → base/DshCoordinates.less} +0 -0
- /package/src/styles/components/controls/{DshDate.less → base/DshDate.less} +0 -0
- /package/src/styles/components/controls/{DshDaterange.less → base/DshDaterange.less} +0 -0
- /package/src/styles/components/controls/{DshDivider.less → base/DshDivider.less} +0 -0
- /package/src/styles/components/controls/{DshEditor.less → base/DshEditor.less} +0 -0
- /package/src/styles/components/controls/{DshInput.less → base/DshInput.less} +0 -0
- /package/src/styles/components/controls/{DshNumber.less → base/DshNumber.less} +0 -0
- /package/src/styles/components/controls/{DshNumberange.less → base/DshNumberange.less} +0 -0
- /package/src/styles/components/controls/{DshSelect.less → base/DshSelect.less} +0 -0
- /package/src/styles/components/controls/{InfoCascader.less → base/InfoCascader.less} +0 -0
- /package/src/styles/components/controls/{BriLabels.less → senior/BriLabels.less} +0 -0
- /package/src/styles/components/controls/{DshPackage.less → senior/DshPackage.less} +0 -0
- /package/src/styles/components/controls/{cascaderTable.less → senior/cascaderTable.less} +0 -0
- /package/src/styles/components/controls/{flatTable.less → senior/flatTable.less} +0 -0
|
@@ -9,13 +9,20 @@
|
|
|
9
9
|
>
|
|
10
10
|
<div class="ZLoading-main">
|
|
11
11
|
<slot>
|
|
12
|
-
<
|
|
12
|
+
<template v-if="value === 1">
|
|
13
13
|
<div class="ZLoading-main-loading" :style="getStyle">
|
|
14
14
|
</div>
|
|
15
15
|
<div v-if="showLoadingText" class="ZLoading-main-loadingText">
|
|
16
|
-
|
|
16
|
+
{{ loadText }}
|
|
17
17
|
</div>
|
|
18
|
-
</
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<template v-else-if="value==2">
|
|
21
|
+
<BriSvg :src="imgSrc" />
|
|
22
|
+
<div v-if="noText" class="ZLoading-main-noText">
|
|
23
|
+
{{ noText }}
|
|
24
|
+
</div>
|
|
25
|
+
</template>
|
|
19
26
|
</slot>
|
|
20
27
|
</div>
|
|
21
28
|
</div>
|
|
@@ -41,27 +48,32 @@
|
|
|
41
48
|
loadImg: {
|
|
42
49
|
type: String
|
|
43
50
|
},
|
|
44
|
-
|
|
51
|
+
noImg: {
|
|
45
52
|
type: String
|
|
46
53
|
},
|
|
47
54
|
mode: {
|
|
48
55
|
type: String,
|
|
49
56
|
default: "large" // small middle
|
|
50
57
|
},
|
|
51
|
-
showLoadingText:
|
|
58
|
+
showLoadingText: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: false
|
|
61
|
+
},
|
|
62
|
+
loadText: {
|
|
63
|
+
type: String,
|
|
64
|
+
default: "加载中..."
|
|
65
|
+
},
|
|
66
|
+
noText: {
|
|
67
|
+
type: String,
|
|
68
|
+
default: "暂无数据"
|
|
69
|
+
}
|
|
52
70
|
},
|
|
53
71
|
data () {
|
|
54
72
|
return {};
|
|
55
73
|
},
|
|
56
74
|
computed: {
|
|
57
75
|
imgSrc () {
|
|
58
|
-
|
|
59
|
-
return this.loadImg || this.$imageSrcMap.loading;
|
|
60
|
-
} else if (this.value == 2) {
|
|
61
|
-
return this.kongImg || this.$imageSrcMap.kongdata;
|
|
62
|
-
} else {
|
|
63
|
-
return undefined;
|
|
64
|
-
}
|
|
76
|
+
return this.noImg || "zanwushuju";
|
|
65
77
|
},
|
|
66
78
|
getStyle () {
|
|
67
79
|
let styleMap = {
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
let setType = this.propsObj.btnType || this.type;
|
|
43
43
|
if (["cancel"].includes(defaultType)) {
|
|
44
44
|
setType = "primary";
|
|
45
|
-
} else if (["errorLine"].includes(defaultType)) {
|
|
45
|
+
} else if (["errorLine", "primaryLine"].includes(defaultType)) {
|
|
46
46
|
setType = "default";
|
|
47
47
|
} else if (["linkText", "primaryText", "errorText"].includes(defaultType)) {
|
|
48
48
|
setType = "text";
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
|
-
class: ["cancel", "linkText", "primaryText", "errorLine", "errorText"].includes(defaultType) ? `ivu-btn-${defaultType}` : "",
|
|
51
|
+
class: ["cancel", "linkText", "primaryText", "errorLine", "errorText", "primaryLine"].includes(defaultType) ? `ivu-btn-${defaultType}` : "",
|
|
52
52
|
...this.propsObj,
|
|
53
53
|
btnType: setType,
|
|
54
54
|
customIcon: this.propsObj.customIcon ? `bico-font ${this.propsObj.customIcon}` : undefined
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
|
|
79
79
|
<template v-else>
|
|
80
80
|
<bri-button
|
|
81
|
-
v-for="(operationItem, index) in
|
|
81
|
+
v-for="(operationItem, index) in flatList"
|
|
82
82
|
:key="operationItem.type"
|
|
83
83
|
:style="operationItem.style"
|
|
84
84
|
:class="[
|
|
@@ -97,6 +97,25 @@
|
|
|
97
97
|
{{ operationItem.name }}
|
|
98
98
|
</span>
|
|
99
99
|
</bri-button>
|
|
100
|
+
|
|
101
|
+
<dsh-dropdown
|
|
102
|
+
v-if="moreList.length"
|
|
103
|
+
class="DshButtons-dropdown"
|
|
104
|
+
:list="moreList"
|
|
105
|
+
:trigger="'hover'"
|
|
106
|
+
@click="emit($event)"
|
|
107
|
+
>
|
|
108
|
+
<slot name="more">
|
|
109
|
+
<bri-button
|
|
110
|
+
class="DshButtons-dropdown-more"
|
|
111
|
+
:propsObj="moreBtnOperationObj"
|
|
112
|
+
>
|
|
113
|
+
<span class="DshButtons-dropdown-more-name">
|
|
114
|
+
{{ moreBtnOperationObj.name }}
|
|
115
|
+
</span>
|
|
116
|
+
</bri-button>
|
|
117
|
+
</slot>
|
|
118
|
+
</dsh-dropdown>
|
|
100
119
|
</template>
|
|
101
120
|
</div>
|
|
102
121
|
</template>
|
|
@@ -143,11 +162,18 @@
|
|
|
143
162
|
name: "更多",
|
|
144
163
|
type: "more",
|
|
145
164
|
size: "default",
|
|
146
|
-
customIcon: "bico-
|
|
165
|
+
customIcon: "bico-gengduo",
|
|
166
|
+
btnType: "primaryText"
|
|
147
167
|
}
|
|
148
168
|
};
|
|
149
169
|
},
|
|
150
170
|
computed: {
|
|
171
|
+
flatList () {
|
|
172
|
+
return this.list.slice(0, this.maxFlatNum);
|
|
173
|
+
},
|
|
174
|
+
moreList () {
|
|
175
|
+
return this.list.slice(this.maxFlatNum);
|
|
176
|
+
},
|
|
151
177
|
leftFlatList () {
|
|
152
178
|
return this.leftList.slice(0, this.maxFlatNum);
|
|
153
179
|
},
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
>
|
|
6
6
|
<Icon
|
|
7
7
|
v-for="(operationItem, index) in list"
|
|
8
|
-
:key="operationItem._key || operationItem._id ||
|
|
8
|
+
:key="operationItem._key || operationItem._id || index"
|
|
9
9
|
:style="operationItem.style"
|
|
10
10
|
:class="[
|
|
11
11
|
'DshIcons-item',
|
|
@@ -117,10 +117,10 @@
|
|
|
117
117
|
return [];
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
|
-
// 实际最精确值是
|
|
120
|
+
// 实际最精确值是68px(label:30px, control:32px, 上下padding各: 3px,因为ivu-form-item-content里line-height: 32px导致有问题,故先70px
|
|
121
121
|
height: {
|
|
122
122
|
type: [String, Number],
|
|
123
|
-
default: "
|
|
123
|
+
default: "70"
|
|
124
124
|
},
|
|
125
125
|
rowStyle: {
|
|
126
126
|
type: Object,
|
package/src/index.js
CHANGED
|
@@ -63,7 +63,6 @@ import DshTabs from "./components/small/DshTabs.vue";
|
|
|
63
63
|
import DshSteps from "./components/small/DshSteps.vue";
|
|
64
64
|
import Ctooltip from "./components/small/Ctooltip.vue";
|
|
65
65
|
import DshPage from "./components/small/DshPage.vue";
|
|
66
|
-
import DshControlDefine from "./components/small/DshControlDefine.vue";
|
|
67
66
|
import DshFileShow from "./components/small/DshFileShow.vue";
|
|
68
67
|
import BriButton from "./components/small/BriButton.vue";
|
|
69
68
|
import BriTree from "./components/small/BriTree.vue";
|
|
@@ -92,6 +91,7 @@ import DshBack from "./components/controls/special/DshBack.vue";
|
|
|
92
91
|
import DshUndeveloped from "./components/controls/special/DshUndeveloped.vue";
|
|
93
92
|
// other
|
|
94
93
|
import ZIframe from "./components/other/ZIframe.vue";
|
|
94
|
+
import BriSvg from "./components/other/BriSvg.vue";
|
|
95
95
|
|
|
96
96
|
// !!!!!!挂载全局的组件,不是别写在这
|
|
97
97
|
const map = {
|
|
@@ -147,10 +147,11 @@ const map = {
|
|
|
147
147
|
DshSteps,
|
|
148
148
|
Ctooltip,
|
|
149
149
|
DshPage,
|
|
150
|
-
DshControlDefine,
|
|
151
150
|
DshFileShow,
|
|
152
151
|
BriButton,
|
|
153
|
-
BriTree
|
|
152
|
+
BriTree,
|
|
153
|
+
|
|
154
|
+
BriSvg
|
|
154
155
|
};
|
|
155
156
|
const install = function (Vue, opts = {}) {
|
|
156
157
|
ViewUI.LoadingBar.config({
|
|
@@ -235,7 +236,6 @@ export {
|
|
|
235
236
|
DshSteps,
|
|
236
237
|
Ctooltip,
|
|
237
238
|
DshPage,
|
|
238
|
-
DshControlDefine,
|
|
239
239
|
DshFileShow,
|
|
240
240
|
BriButton,
|
|
241
241
|
BriTree,
|
|
@@ -260,5 +260,6 @@ export {
|
|
|
260
260
|
DshBack,
|
|
261
261
|
DshUndeveloped,
|
|
262
262
|
|
|
263
|
-
ZIframe
|
|
263
|
+
ZIframe,
|
|
264
|
+
BriSvg
|
|
264
265
|
};
|
|
@@ -61,12 +61,23 @@
|
|
|
61
61
|
color: @textColor;
|
|
62
62
|
}
|
|
63
63
|
.control-disabled {
|
|
64
|
+
height: 32px;
|
|
64
65
|
border: 1px solid @border-disabled;
|
|
65
66
|
border-radius: @borderRadius;
|
|
66
67
|
background: @inputBg-disabled;
|
|
68
|
+
line-height: 32px;
|
|
67
69
|
cursor: not-allowed;
|
|
68
70
|
color: @textColor-disabled;
|
|
69
71
|
}
|
|
72
|
+
.control-readonly {
|
|
73
|
+
height: 32px;
|
|
74
|
+
border: 1px solid @border-readonly;
|
|
75
|
+
border-radius: @borderRadius;
|
|
76
|
+
background: @inputBg-readonly;
|
|
77
|
+
line-height: 32px;
|
|
78
|
+
cursor: not-allowed;
|
|
79
|
+
color: @textColor-readonly;
|
|
80
|
+
}
|
|
70
81
|
.control-show {
|
|
71
82
|
border: none;
|
|
72
83
|
background-color: transparent;
|
|
@@ -79,13 +90,6 @@
|
|
|
79
90
|
.control-placeholder {
|
|
80
91
|
color: @placeholderColor;
|
|
81
92
|
}
|
|
82
|
-
.control-readonly {
|
|
83
|
-
border: 1px solid @border-readonly;
|
|
84
|
-
border-radius: @borderRadius;
|
|
85
|
-
background: @inputBg-readonly;
|
|
86
|
-
line-height: 32px;
|
|
87
|
-
color: @textColor-readonly;
|
|
88
|
-
}
|
|
89
93
|
.control-notext {
|
|
90
94
|
color: @placeholderColor;
|
|
91
95
|
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
.DshCascader {
|
|
2
|
+
width: 100%;
|
|
3
|
+
|
|
4
|
+
#nodata () {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
padding: 0px 8px;
|
|
7
|
+
color: @placeholderColor;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// 多选
|
|
11
|
+
&-multiple {
|
|
12
|
+
width: 100%;
|
|
13
|
+
|
|
14
|
+
&-input {
|
|
15
|
+
.hasdata {
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
|
|
19
|
+
&-multiple {
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
padding: 0px 8px;
|
|
23
|
+
.bri-scrollbar3();
|
|
24
|
+
overflow-y: hidden;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.nodata {
|
|
29
|
+
#nodata();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// 单选 -新模式
|
|
35
|
+
&-custom {
|
|
36
|
+
&-input {
|
|
37
|
+
.hasdata {
|
|
38
|
+
width: 100%;
|
|
39
|
+
height: 100%;
|
|
40
|
+
padding: 0px 8px;
|
|
41
|
+
|
|
42
|
+
&-text {
|
|
43
|
+
.dsh-ellipsis();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&-clear {
|
|
47
|
+
margin-left: 5px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.nodata {
|
|
52
|
+
#nodata();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// 单选 -默认模式
|
|
58
|
+
&-single {
|
|
59
|
+
width: 100%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// 查看
|
|
63
|
+
&-show {
|
|
64
|
+
.hasdata {
|
|
65
|
+
width: 100%;
|
|
66
|
+
height: 100%;
|
|
67
|
+
|
|
68
|
+
&-multiple {
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 100%;
|
|
71
|
+
padding: 0px 8px;
|
|
72
|
+
.bri-scrollbar3();
|
|
73
|
+
overflow-y: hidden;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.nodata {
|
|
78
|
+
#nodata();
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&-multiplerow {
|
|
83
|
+
height: 70px;
|
|
84
|
+
|
|
85
|
+
.hasdata {
|
|
86
|
+
&-multiple {
|
|
87
|
+
padding: 4px 8px;
|
|
88
|
+
overflow-y: auto;
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-wrap: wrap;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ivu-cascader {
|
|
97
|
+
&-label {
|
|
98
|
+
padding-right: 24px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&-transfer {
|
|
102
|
+
max-height: 400px !important;
|
|
103
|
+
|
|
104
|
+
.ivu-cascader-menu {
|
|
105
|
+
max-height: 400px;
|
|
106
|
+
height: auto;
|
|
107
|
+
max-width: 300px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.DshSwitch {
|
|
2
|
+
width: 100%;
|
|
3
|
+
|
|
4
|
+
&-show {
|
|
5
|
+
height: 24px;
|
|
6
|
+
padding: 2px 8px;
|
|
7
|
+
border-radius: 4px;
|
|
8
|
+
line-height: 20px;
|
|
9
|
+
flex-grow: 1;
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: flex-start;
|
|
12
|
+
|
|
13
|
+
&-name {
|
|
14
|
+
.dsh-ellipsis();
|
|
15
|
+
display: flex;
|
|
16
|
+
min-height: 32px;
|
|
17
|
+
padding: 4px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ivu-switch {
|
|
22
|
+
width: 50px;
|
|
23
|
+
}
|
|
24
|
+
.ivu-switch-checked:after {
|
|
25
|
+
left: 29px;
|
|
26
|
+
}
|
|
27
|
+
.ivu-switch-inner {
|
|
28
|
+
color: #fff;
|
|
29
|
+
font-size: 12px;
|
|
30
|
+
position: absolute;
|
|
31
|
+
left: auto;
|
|
32
|
+
right: 4px;
|
|
33
|
+
}
|
|
34
|
+
.ivu-switch-checked .ivu-switch-inner {
|
|
35
|
+
left: 3px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.DshDefaultSearch {
|
|
2
2
|
position: relative;
|
|
3
|
+
background: #fff;
|
|
3
4
|
|
|
4
5
|
&-item {
|
|
5
6
|
padding: 0 !important;
|
|
@@ -21,17 +22,9 @@
|
|
|
21
22
|
width: 100%;
|
|
22
23
|
text-align: center;
|
|
23
24
|
position: absolute;
|
|
24
|
-
bottom: -
|
|
25
|
+
bottom: -10px;
|
|
25
26
|
left: 0px;
|
|
26
27
|
|
|
27
|
-
&-zhanwei {
|
|
28
|
-
width: 100%;
|
|
29
|
-
height: 15px;
|
|
30
|
-
background: #fff;
|
|
31
|
-
position: relative;
|
|
32
|
-
z-index: 1;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
28
|
&-icon {
|
|
36
29
|
width: 48px;
|
|
37
30
|
height: 20px;
|
|
@@ -48,4 +41,43 @@
|
|
|
48
41
|
}
|
|
49
42
|
}
|
|
50
43
|
}
|
|
44
|
+
|
|
45
|
+
// 输入框/下拉框
|
|
46
|
+
input,
|
|
47
|
+
.ivu-select-selection,
|
|
48
|
+
.ivu-cascader-size-default,
|
|
49
|
+
.DshCascader-multiple-input,
|
|
50
|
+
.DshDaterange-item {
|
|
51
|
+
border-radius: 0;
|
|
52
|
+
|
|
53
|
+
.ivu-select-input{
|
|
54
|
+
top: 0px!important;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.DshCascader-multiple-input {
|
|
59
|
+
height: 32px;
|
|
60
|
+
padding: 1px 6px;
|
|
61
|
+
overflow: hidden!important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.DshFormItem-label {
|
|
65
|
+
width: 80px;
|
|
66
|
+
text-align: right;
|
|
67
|
+
margin-right: 16px;
|
|
68
|
+
|
|
69
|
+
.DshFormItem-label-left {
|
|
70
|
+
.DshFormItem-label-name {
|
|
71
|
+
font-family: "Microsoft YaHei";
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.DshFormItem-label-right {
|
|
76
|
+
text-align: left;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
.control-edit {
|
|
80
|
+
border-radius: 0px;
|
|
81
|
+
}
|
|
82
|
+
|
|
51
83
|
}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
// controls
|
|
2
|
-
@import "./controls/DshInput.less";
|
|
3
|
-
@import "./controls/BriInputs.less";
|
|
4
|
-
@import "./controls/DshNumber.less";
|
|
5
|
-
@import "./controls/DshNumberange.less";
|
|
6
|
-
@import "./controls/
|
|
7
|
-
@import "./controls/DshSelect.less";
|
|
8
|
-
@import "./controls/
|
|
9
|
-
@import "./controls/
|
|
10
|
-
@import "./controls/
|
|
11
|
-
@import "./controls/
|
|
12
|
-
@import "./controls/
|
|
13
|
-
@import "./controls/
|
|
14
|
-
@import "./controls/
|
|
2
|
+
@import "./controls/base/DshInput.less";
|
|
3
|
+
@import "./controls/base/BriInputs.less";
|
|
4
|
+
@import "./controls/base/DshNumber.less";
|
|
5
|
+
@import "./controls/base/DshNumberange.less";
|
|
6
|
+
@import "./controls/base/DshSwitch.less";
|
|
7
|
+
@import "./controls/base/DshSelect.less";
|
|
8
|
+
@import "./controls/base/DshCheckbox.less";
|
|
9
|
+
@import "./controls/base/DshDate.less";
|
|
10
|
+
@import "./controls/base/DshDaterange.less";
|
|
11
|
+
@import "./controls/base/DshCascader.less";
|
|
12
|
+
@import "./controls/base/InfoCascader.less";
|
|
13
|
+
@import "./controls/base/BriUpload.less";
|
|
14
|
+
@import "./controls/base/DshCoordinates.less";
|
|
15
|
+
@import "./controls/base/DshEditor.less";
|
|
16
|
+
@import "./controls/base/DshDivider.less";
|
|
15
17
|
|
|
16
|
-
@import "./controls/
|
|
17
|
-
@import "./controls/
|
|
18
|
-
@import "./controls/
|
|
19
|
-
@import "./controls/
|
|
20
|
-
@import "./controls/DshPackage.less";
|
|
18
|
+
@import "./controls/senior/flatTable.less";
|
|
19
|
+
@import "./controls/senior/cascaderTable.less";
|
|
20
|
+
@import "./controls/senior/BriLabels.less";
|
|
21
|
+
@import "./controls/senior/DshPackage.less";
|
|
21
22
|
|
|
22
23
|
@import "./controls/controlShow.less";
|
|
23
24
|
|
|
@@ -57,7 +58,6 @@
|
|
|
57
58
|
@import "./small/DshTabs.less";
|
|
58
59
|
@import "./small/DshTitle.less";
|
|
59
60
|
@import "./small/DshSteps.less";
|
|
60
|
-
@import "./small/DshControlDefine.less";
|
|
61
61
|
@import "./small/BriButton.less";
|
|
62
62
|
@import "./small/BriDrawer.less";
|
|
63
63
|
@import "./small/DshModal.less";
|
|
@@ -27,13 +27,7 @@
|
|
|
27
27
|
.ZLoading-main {
|
|
28
28
|
width: 100%;
|
|
29
29
|
height: 100%;
|
|
30
|
-
.dsh-flex();
|
|
31
|
-
|
|
32
|
-
&-content {
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
align-items: center;
|
|
36
|
-
}
|
|
30
|
+
.dsh-flex-col();
|
|
37
31
|
|
|
38
32
|
&-loading {
|
|
39
33
|
border-radius: 50%;
|
|
@@ -47,6 +41,10 @@
|
|
|
47
41
|
margin-top: 8px;
|
|
48
42
|
color: @themeColor;
|
|
49
43
|
}
|
|
44
|
+
&-noText {
|
|
45
|
+
color: @textColor;
|
|
46
|
+
margin-top: 16px;
|
|
47
|
+
}
|
|
50
48
|
}
|
|
51
49
|
}
|
|
52
50
|
}
|
|
@@ -100,11 +100,15 @@
|
|
|
100
100
|
}
|
|
101
101
|
.ivu-btn-linkText {
|
|
102
102
|
color: @themeColor;
|
|
103
|
+
padding: 0px;
|
|
104
|
+
height: @textHeight;
|
|
103
105
|
&:hover {
|
|
104
106
|
background-color: transparent;
|
|
107
|
+
color: @theme-hover;
|
|
105
108
|
}
|
|
106
109
|
&:active {
|
|
107
110
|
background-color: transparent;
|
|
111
|
+
color: @theme-active;
|
|
108
112
|
}
|
|
109
113
|
&[disabled] {
|
|
110
114
|
color: @theme-disabled;
|
|
@@ -152,6 +156,7 @@
|
|
|
152
156
|
}
|
|
153
157
|
}
|
|
154
158
|
}
|
|
159
|
+
|
|
155
160
|
.ivu-btn-default, .ivu-btn-dashed {
|
|
156
161
|
color: @textColor;
|
|
157
162
|
border-color: @btnCancelBg;
|
|
@@ -176,6 +181,33 @@
|
|
|
176
181
|
}
|
|
177
182
|
}
|
|
178
183
|
}
|
|
184
|
+
|
|
185
|
+
.ivu-btn-primaryLine {
|
|
186
|
+
color: @themeColor;
|
|
187
|
+
border-color: @themeColor;
|
|
188
|
+
background-color: #fff;
|
|
189
|
+
&:hover {
|
|
190
|
+
background-color: #fff;
|
|
191
|
+
border-color: @btnBgclick;
|
|
192
|
+
color: @btnBgHover;
|
|
193
|
+
}
|
|
194
|
+
&:active {
|
|
195
|
+
background-color: #fff;
|
|
196
|
+
border-color: @btnBgclick;
|
|
197
|
+
color: @btnBgclick;
|
|
198
|
+
}
|
|
199
|
+
&[disabled] {
|
|
200
|
+
background-color: #fff;
|
|
201
|
+
border-color: @btnBgDisabled;
|
|
202
|
+
color: @btnBgDisabled;
|
|
203
|
+
&:hover, &:active {
|
|
204
|
+
background-color: #fff;
|
|
205
|
+
border-color: @btnBgDisabled;
|
|
206
|
+
color: @btnBgDisabled;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
179
211
|
.ivu-btn-errorLine {
|
|
180
212
|
color: @btnWarningBg;
|
|
181
213
|
border-color: @btnWarningBg;
|
|
@@ -190,11 +222,11 @@
|
|
|
190
222
|
color: @btnWarningBgClick;
|
|
191
223
|
}
|
|
192
224
|
&[disabled] {
|
|
193
|
-
background-color:
|
|
225
|
+
background-color: #fff;
|
|
194
226
|
border-color: @btnWarningBgDisabled;
|
|
195
227
|
color: @btnWarningBgDisabled;
|
|
196
228
|
&:hover, &:active {
|
|
197
|
-
background-color:
|
|
229
|
+
background-color: #fff;
|
|
198
230
|
border-color: @btnWarningBgDisabled;
|
|
199
231
|
color: @btnWarningBgDisabled;
|
|
200
232
|
}
|
|
@@ -42,12 +42,6 @@
|
|
|
42
42
|
|
|
43
43
|
.ivu-dropdown-item-divided:before {
|
|
44
44
|
margin: 0px;
|
|
45
|
-
// content: '';
|
|
46
|
-
// height: 5px;
|
|
47
|
-
// display: block;
|
|
48
|
-
// background-color: #fff;
|
|
49
|
-
// position: relative;
|
|
50
|
-
// top: -7px;
|
|
51
45
|
}
|
|
52
46
|
}
|
|
53
47
|
|
|
@@ -58,7 +52,7 @@
|
|
|
58
52
|
}
|
|
59
53
|
}
|
|
60
54
|
.ivu-select-dropdown {
|
|
61
|
-
border: 0.5px solid
|
|
55
|
+
border: 0.5px solid #e5e5e5;
|
|
62
56
|
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);
|
|
63
57
|
padding: 8px;
|
|
64
58
|
max-height: 500px
|