bri-components 1.5.22 → 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.
- package/README.md +83 -83
- package/lib/styles/bundle.css +12 -12
- package/lib/styles/font/fontello.svg +31 -31
- package/package.json +125 -125
- package/src/components/Error/Error403.vue +42 -42
- package/src/components/Error/Error404.vue +40 -40
- package/src/components/Error/Error500.vue +51 -51
- package/src/components/Error/error.less +162 -162
- package/src/components/Error/errorBack.vue +40 -40
- package/src/components/controls/DshControlInput.vue +195 -195
- package/src/components/controls/base/BriUpload/BriUpload.vue +434 -434
- package/src/components/controls/base/BriUpload/BriUploadImage.vue +377 -377
- package/src/components/controls/base/BriUpload/uploadList.vue +727 -727
- package/src/components/controls/base/BriUpload/uploadMixin.js +446 -446
- package/src/components/controls/base/DshCascader/DshCascader.vue +215 -215
- package/src/components/controls/base/DshCascader/components/cascaderModal.vue +366 -366
- package/src/components/controls/base/DshCascader/components/cascaderPicker.vue +416 -416
- package/src/components/controls/base/DshCascader/components/cascaderSimple.vue +141 -141
- package/src/components/controls/base/DshCascader/components/cascaderTree.vue +151 -151
- package/src/components/controls/base/DshCoordinates.vue +585 -585
- package/src/components/controls/base/DshDate/DshDate.vue +191 -191
- package/src/components/controls/base/DshDate/DshDaterange.vue +186 -186
- package/src/components/controls/base/DshDivider.vue +201 -201
- package/src/components/controls/base/DshEditor.vue +274 -274
- package/src/components/controls/base/DshInput/BriInputs.vue +166 -166
- package/src/components/controls/base/DshInput/DshInput.vue +260 -260
- package/src/components/controls/base/DshNumber/BriInputNumber/BriInputNumber.vue +435 -435
- package/src/components/controls/base/DshNumber/BriInputNumber/mixins/emitter.js +34 -34
- package/src/components/controls/base/DshNumber/BriInputNumber/mixins/form.js +14 -14
- package/src/components/controls/base/DshNumber/BriInputNumber/utils/assist.js +322 -322
- package/src/components/controls/base/DshNumber/DshNumber.vue +143 -143
- package/src/components/controls/base/DshNumber/DshNumberange.vue +109 -109
- package/src/components/controls/base/DshSelect/DshCheckbox.vue +168 -168
- package/src/components/controls/base/DshSelect/DshSelect.vue +180 -180
- package/src/components/controls/base/DshSelect/DshSelectAll.vue +269 -269
- package/src/components/controls/base/DshSwitch/DshSwitch.vue +115 -115
- package/src/components/controls/control.less +324 -324
- package/src/components/controls/controlMap.js +117 -117
- package/src/components/controls/extra/DshColor.vue +81 -81
- package/src/components/controls/extra/DshThemeColor.vue +100 -100
- package/src/components/controls/extra/DshThemeIcon.vue +122 -122
- package/src/components/controls/mixins/cascaderMixin.js +325 -325
- package/src/components/controls/mixins/cascaderPickerMixin.js +227 -227
- package/src/components/controls/mixins/cascaderTableMixin.js +130 -130
- package/src/components/controls/mixins/controlMixin.js +393 -393
- package/src/components/controls/mixins/dateMixin.js +149 -149
- package/src/components/controls/mixins/flatTableMixin.js +111 -111
- package/src/components/controls/mixins/numberMixin.js +112 -112
- package/src/components/controls/mixins/selectMixin.js +233 -233
- package/src/components/controls/mixins/switchMixin.js +87 -87
- package/src/components/controls/mixins/userAndDepartMixin.js +260 -260
- package/src/components/controls/senior/DshLabels.vue +333 -333
- package/src/components/controls/senior/DshPackage.vue +57 -57
- package/src/components/controls/senior/cascaderTable.vue +213 -213
- package/src/components/controls/senior/correlation.vue +135 -135
- package/src/components/controls/senior/flatTable.vue +138 -138
- package/src/components/controls/senior/selectDepartments.vue +399 -399
- package/src/components/controls/senior/selectUsers/departMenu.vue +293 -293
- package/src/components/controls/senior/selectUsers/selectUsers.vue +712 -712
- package/src/components/controls/special/DshBack.vue +42 -42
- package/src/components/controls/special/DshUndeveloped.vue +41 -41
- package/src/components/form/DshAdvSearch.vue +510 -510
- package/src/components/form/DshDefaultSearch.vue +260 -260
- package/src/components/form/DshForm.vue +494 -494
- package/src/components/form/searchMixin.js +376 -376
- package/src/components/list/BriCard.vue +95 -95
- package/src/components/list/BriTable.vue +205 -205
- package/src/components/list/BriTree.vue +529 -529
- package/src/components/list/BriTreeItem.vue +163 -163
- package/src/components/list/DshBox/DshBox.vue +219 -219
- package/src/components/list/DshBox/DshCard.vue +446 -446
- package/src/components/list/DshBox/DshCrossTable.vue +827 -827
- package/src/components/list/DshBox/DshList.vue +404 -404
- package/src/components/list/DshBox/DshPanel.vue +669 -669
- package/src/components/list/DshBox/DshSingleData.vue +119 -119
- package/src/components/list/DshBox/DshTable.vue +239 -239
- package/src/components/list/DshCascaderTable.vue +115 -115
- package/src/components/list/DshFlatTable.vue +337 -337
- package/src/components/list/DshPage.vue +194 -194
- package/src/components/list/DshTreeTable.vue +113 -113
- package/src/components/list/common/importModal.vue +243 -243
- package/src/components/list/common/quoteListModal.vue +206 -206
- package/src/components/list/mixins/DshCascaderTableMixin.js +278 -278
- package/src/components/list/mixins/DshFlatTableMixin.js +509 -509
- package/src/components/list/mixins/DshTreeTableMixin.js +286 -286
- package/src/components/list/mixins/tableBaseMixin.js +1653 -1653
- package/src/components/list/mixins/treeTableBaseMixin.js +145 -145
- package/src/components/other/BriAvatar.vue +166 -166
- package/src/components/other/BriCode.vue +125 -125
- package/src/components/other/BriCollapseTree.vue +207 -207
- package/src/components/other/BriGantt.vue +1087 -1087
- package/src/components/other/BriIframe.vue +116 -116
- package/src/components/other/BriLoading.vue +171 -171
- package/src/components/other/BriSvg.vue +27 -27
- package/src/components/other/DshColorPanel.vue +128 -128
- package/src/components/other/DshMenuNav.vue +188 -188
- package/src/components/small/BriButton.vue +71 -71
- package/src/components/small/BriDrawer.vue +169 -169
- package/src/components/small/BriTooltip.vue +87 -87
- package/src/components/small/DshBtnModal.vue +68 -68
- package/src/components/small/DshButtons.vue +324 -324
- package/src/components/small/DshDropdown.vue +225 -225
- package/src/components/small/DshIcons.vue +59 -59
- package/src/components/small/DshListRender.js +21 -21
- package/src/components/small/DshModal.vue +160 -160
- package/src/components/small/DshSteps.vue +141 -141
- package/src/components/small/DshTabs.vue +598 -598
- package/src/components/small/DshTabsSet.vue +309 -309
- package/src/components/small/DshTags.vue +251 -251
- package/src/components/small/DshTitle.vue +50 -50
- package/src/components/small/render.js +20 -20
- package/src/components/unit/DshFormUnit.vue +398 -398
- package/src/components/unit/DshListUnit.vue +115 -115
- package/src/components/unit/unitMixin.js +86 -86
- package/src/data/index.js +4 -4
- package/src/index.js +285 -285
- package/src/styles/bundle.css +12 -12
- package/src/styles/components/BriButton.less +307 -307
- package/src/styles/components/BriTable.less +344 -344
- package/src/styles/components/DshModal.less +257 -257
- package/src/styles/components/index.less +3 -3
- package/src/styles/global/animate.less +11 -11
- package/src/styles/global/base.less +45 -45
- package/src/styles/global/box.less +186 -186
- package/src/styles/global/control.less +122 -122
- package/src/styles/global/flex.less +282 -282
- package/src/styles/global/global.less +8 -8
- package/src/styles/global/text.less +59 -59
- package/src/styles/global/variables.less +85 -85
- package/src/styles/iconfont/iconfont.css +254 -254
- package/src/styles/iconfont/iconfont.json +422 -422
- package/src/styles/iconfont/iconfont.svg +137 -137
- package/src/styles/index.less +26 -26
- package/src/styles/reset-easytable.less +21 -21
- package/src/styles/reset-iview-controls.less +145 -145
- package/src/styles/reset-iview-other.less +49 -49
- package/src/styles/reset-iview-variables.less +43 -43
- package/src/styles/reset.less +45 -45
- package/src/utils/index.js +3 -5
- package/lib/0.bri-components.min.js +0 -1
- package/lib/1.bri-components.min.js +0 -1
- package/lib/10.bri-components.min.js +0 -1
- package/lib/11.bri-components.min.js +0 -1
- package/lib/2.bri-components.min.js +0 -1
- package/lib/3.bri-components.min.js +0 -1
- package/lib/4.bri-components.min.js +0 -1
- package/lib/5.bri-components.min.js +0 -1
- package/lib/6.bri-components.min.js +0 -1
- package/lib/7.bri-components.min.js +0 -1
- package/lib/8.bri-components.min.js +0 -1
- package/lib/9.bri-components.min.js +0 -1
- package/lib/bri-components.min.js +0 -18
- package/src/utils/table.js +0 -175
|
@@ -1,257 +1,257 @@
|
|
|
1
|
-
.DshModal {
|
|
2
|
-
&-header {
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
&-close {
|
|
8
|
-
padding: 2px;
|
|
9
|
-
position: absolute;
|
|
10
|
-
top: 10px;
|
|
11
|
-
right: 10px;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&-default,
|
|
16
|
-
&-small,
|
|
17
|
-
&-middle,
|
|
18
|
-
&-large,
|
|
19
|
-
&-fullscreen {
|
|
20
|
-
.ivu-modal-wrap {
|
|
21
|
-
.ivu-modal {
|
|
22
|
-
margin: auto;
|
|
23
|
-
position: absolute;
|
|
24
|
-
top: 0px;
|
|
25
|
-
bottom: 0px;
|
|
26
|
-
left: 0px;
|
|
27
|
-
right: 0px;
|
|
28
|
-
|
|
29
|
-
&-content {
|
|
30
|
-
width: 100%;
|
|
31
|
-
height: 100%;
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
|
|
35
|
-
.ivu-modal {
|
|
36
|
-
&-close {}
|
|
37
|
-
|
|
38
|
-
&-header {
|
|
39
|
-
width: 100%;
|
|
40
|
-
height: 44px;
|
|
41
|
-
padding: 10px 40px 10px 16px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&-body {
|
|
45
|
-
width: 100%;
|
|
46
|
-
flex: 1;
|
|
47
|
-
min-height: 200px;
|
|
48
|
-
padding: 0px;
|
|
49
|
-
overflow: auto;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&-footer {
|
|
53
|
-
width: 100%;
|
|
54
|
-
height: 50px;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&-default {
|
|
63
|
-
.ivu-modal-wrap {
|
|
64
|
-
.ivu-modal {
|
|
65
|
-
width: 750px !important;
|
|
66
|
-
height: 550px !important;
|
|
67
|
-
max-height: 100%;
|
|
68
|
-
max-width: 100%;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&-small {
|
|
74
|
-
.ivu-modal-wrap {
|
|
75
|
-
.ivu-modal {
|
|
76
|
-
margin: 0px auto;
|
|
77
|
-
position: absolute;
|
|
78
|
-
top: 160px;
|
|
79
|
-
bottom: 0px;
|
|
80
|
-
left: 0px;
|
|
81
|
-
right: 0px;
|
|
82
|
-
|
|
83
|
-
height: 450px !important;
|
|
84
|
-
max-height: 100%;
|
|
85
|
-
max-width: 100%;
|
|
86
|
-
|
|
87
|
-
&-content {
|
|
88
|
-
.DshModal-close {
|
|
89
|
-
top: 20px;
|
|
90
|
-
right: 24px;
|
|
91
|
-
color: rgba(0, 0, 0, 0.6);
|
|
92
|
-
font-size: 16px !important;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.ivu-modal {
|
|
96
|
-
&-header {
|
|
97
|
-
width: 100%;
|
|
98
|
-
height: 44px;
|
|
99
|
-
padding: 20px 24px 0px 24px;
|
|
100
|
-
border-bottom: none;
|
|
101
|
-
|
|
102
|
-
&-inner {
|
|
103
|
-
color: rgba(0, 0, 0, 0.9);
|
|
104
|
-
font-size: 16px;
|
|
105
|
-
font-weight: 500;
|
|
106
|
-
line-height: 24px;
|
|
107
|
-
height: 24px;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&-body {
|
|
112
|
-
padding: 10px;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&-middle {
|
|
121
|
-
.ivu-modal-wrap {
|
|
122
|
-
.ivu-modal {
|
|
123
|
-
// width: 1000px !important;
|
|
124
|
-
// height: 800px !important;
|
|
125
|
-
width: 60% !important;
|
|
126
|
-
height: 85% !important;
|
|
127
|
-
min-width: 500px;
|
|
128
|
-
min-height: 400px;
|
|
129
|
-
|
|
130
|
-
// max-width: 900px;
|
|
131
|
-
// max-height: 800px;
|
|
132
|
-
.ivu-modal-content {
|
|
133
|
-
.ivu-modal-header {
|
|
134
|
-
|
|
135
|
-
&-inner {
|
|
136
|
-
line-height: 24px;
|
|
137
|
-
height: 24px;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&-large {
|
|
146
|
-
.ivu-modal-wrap {
|
|
147
|
-
.ivu-modal {
|
|
148
|
-
width: 80% !important;
|
|
149
|
-
height: 90% !important;
|
|
150
|
-
min-width: 700px;
|
|
151
|
-
min-height: 600px;
|
|
152
|
-
// max-width: 1300px;
|
|
153
|
-
// max-height: 1000px;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
&-auto {
|
|
159
|
-
.ivu-modal-wrap {
|
|
160
|
-
display: flex;
|
|
161
|
-
align-items: center;
|
|
162
|
-
justify-content: center;
|
|
163
|
-
|
|
164
|
-
.ivu-modal {
|
|
165
|
-
top: 0px;
|
|
166
|
-
max-height: 100%;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
&-fullscreen {
|
|
172
|
-
.ivu-modal-fullscreen {
|
|
173
|
-
.ivu-modal-body {
|
|
174
|
-
position: static;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.ivu-modal-mask {
|
|
181
|
-
background-color: rgba(55, 55, 55, 0.8);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
// 默认模态框brimodal
|
|
185
|
-
.bri-modal {
|
|
186
|
-
#bri-modal-common () {
|
|
187
|
-
.ivu-modal-wrap {
|
|
188
|
-
.ivu-modal {
|
|
189
|
-
&-content {
|
|
190
|
-
height: 100%;
|
|
191
|
-
display: flex;
|
|
192
|
-
flex-direction: column;
|
|
193
|
-
|
|
194
|
-
.DshModal-close,
|
|
195
|
-
.ivu-modal-close {
|
|
196
|
-
top: 20px;
|
|
197
|
-
right: 24px;
|
|
198
|
-
color: @contentColor;
|
|
199
|
-
font-size: @smallTitleSize;
|
|
200
|
-
|
|
201
|
-
.ivu-icon-ios-close {
|
|
202
|
-
font-size: 22px;
|
|
203
|
-
color: @contentColor;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.ivu-modal-header {
|
|
208
|
-
width: 100%;
|
|
209
|
-
height: 48px;
|
|
210
|
-
padding: 16px 24px 8px 24px;
|
|
211
|
-
// border-bottom: none;
|
|
212
|
-
|
|
213
|
-
&-inner {
|
|
214
|
-
color: rgba(0, 0, 0, 0.9);
|
|
215
|
-
font-size: 16px;
|
|
216
|
-
font-weight: 500;
|
|
217
|
-
line-height: 24px;
|
|
218
|
-
height: 24px;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.ivu-modal-body {
|
|
223
|
-
flex: 1;
|
|
224
|
-
overflow: auto;
|
|
225
|
-
padding: 16px 24px 20px;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
#bri-modal-common();
|
|
233
|
-
|
|
234
|
-
// 小框 无固定高度,上下居中
|
|
235
|
-
&-center {
|
|
236
|
-
#bri-modal-common();
|
|
237
|
-
|
|
238
|
-
.ivu-modal-wrap {
|
|
239
|
-
width: 100%;
|
|
240
|
-
height: 100%;
|
|
241
|
-
display: flex;
|
|
242
|
-
flex-direction: column;
|
|
243
|
-
align-items: center;
|
|
244
|
-
justify-content: center;
|
|
245
|
-
|
|
246
|
-
.ivu-modal {
|
|
247
|
-
top: 0px;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
// modal内部公用样式
|
|
253
|
-
&-footer {
|
|
254
|
-
text-align: right;
|
|
255
|
-
margin-top: 16px;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
1
|
+
.DshModal {
|
|
2
|
+
&-header {
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
&-close {
|
|
8
|
+
padding: 2px;
|
|
9
|
+
position: absolute;
|
|
10
|
+
top: 10px;
|
|
11
|
+
right: 10px;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&-default,
|
|
16
|
+
&-small,
|
|
17
|
+
&-middle,
|
|
18
|
+
&-large,
|
|
19
|
+
&-fullscreen {
|
|
20
|
+
.ivu-modal-wrap {
|
|
21
|
+
.ivu-modal {
|
|
22
|
+
margin: auto;
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 0px;
|
|
25
|
+
bottom: 0px;
|
|
26
|
+
left: 0px;
|
|
27
|
+
right: 0px;
|
|
28
|
+
|
|
29
|
+
&-content {
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100%;
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
|
|
35
|
+
.ivu-modal {
|
|
36
|
+
&-close {}
|
|
37
|
+
|
|
38
|
+
&-header {
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: 44px;
|
|
41
|
+
padding: 10px 40px 10px 16px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&-body {
|
|
45
|
+
width: 100%;
|
|
46
|
+
flex: 1;
|
|
47
|
+
min-height: 200px;
|
|
48
|
+
padding: 0px;
|
|
49
|
+
overflow: auto;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&-footer {
|
|
53
|
+
width: 100%;
|
|
54
|
+
height: 50px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&-default {
|
|
63
|
+
.ivu-modal-wrap {
|
|
64
|
+
.ivu-modal {
|
|
65
|
+
width: 750px !important;
|
|
66
|
+
height: 550px !important;
|
|
67
|
+
max-height: 100%;
|
|
68
|
+
max-width: 100%;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&-small {
|
|
74
|
+
.ivu-modal-wrap {
|
|
75
|
+
.ivu-modal {
|
|
76
|
+
margin: 0px auto;
|
|
77
|
+
position: absolute;
|
|
78
|
+
top: 160px;
|
|
79
|
+
bottom: 0px;
|
|
80
|
+
left: 0px;
|
|
81
|
+
right: 0px;
|
|
82
|
+
|
|
83
|
+
height: 450px !important;
|
|
84
|
+
max-height: 100%;
|
|
85
|
+
max-width: 100%;
|
|
86
|
+
|
|
87
|
+
&-content {
|
|
88
|
+
.DshModal-close {
|
|
89
|
+
top: 20px;
|
|
90
|
+
right: 24px;
|
|
91
|
+
color: rgba(0, 0, 0, 0.6);
|
|
92
|
+
font-size: 16px !important;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.ivu-modal {
|
|
96
|
+
&-header {
|
|
97
|
+
width: 100%;
|
|
98
|
+
height: 44px;
|
|
99
|
+
padding: 20px 24px 0px 24px;
|
|
100
|
+
border-bottom: none;
|
|
101
|
+
|
|
102
|
+
&-inner {
|
|
103
|
+
color: rgba(0, 0, 0, 0.9);
|
|
104
|
+
font-size: 16px;
|
|
105
|
+
font-weight: 500;
|
|
106
|
+
line-height: 24px;
|
|
107
|
+
height: 24px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&-body {
|
|
112
|
+
padding: 10px;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&-middle {
|
|
121
|
+
.ivu-modal-wrap {
|
|
122
|
+
.ivu-modal {
|
|
123
|
+
// width: 1000px !important;
|
|
124
|
+
// height: 800px !important;
|
|
125
|
+
width: 60% !important;
|
|
126
|
+
height: 85% !important;
|
|
127
|
+
min-width: 500px;
|
|
128
|
+
min-height: 400px;
|
|
129
|
+
|
|
130
|
+
// max-width: 900px;
|
|
131
|
+
// max-height: 800px;
|
|
132
|
+
.ivu-modal-content {
|
|
133
|
+
.ivu-modal-header {
|
|
134
|
+
|
|
135
|
+
&-inner {
|
|
136
|
+
line-height: 24px;
|
|
137
|
+
height: 24px;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&-large {
|
|
146
|
+
.ivu-modal-wrap {
|
|
147
|
+
.ivu-modal {
|
|
148
|
+
width: 80% !important;
|
|
149
|
+
height: 90% !important;
|
|
150
|
+
min-width: 700px;
|
|
151
|
+
min-height: 600px;
|
|
152
|
+
// max-width: 1300px;
|
|
153
|
+
// max-height: 1000px;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&-auto {
|
|
159
|
+
.ivu-modal-wrap {
|
|
160
|
+
display: flex;
|
|
161
|
+
align-items: center;
|
|
162
|
+
justify-content: center;
|
|
163
|
+
|
|
164
|
+
.ivu-modal {
|
|
165
|
+
top: 0px;
|
|
166
|
+
max-height: 100%;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&-fullscreen {
|
|
172
|
+
.ivu-modal-fullscreen {
|
|
173
|
+
.ivu-modal-body {
|
|
174
|
+
position: static;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.ivu-modal-mask {
|
|
181
|
+
background-color: rgba(55, 55, 55, 0.8);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
// 默认模态框brimodal
|
|
185
|
+
.bri-modal {
|
|
186
|
+
#bri-modal-common () {
|
|
187
|
+
.ivu-modal-wrap {
|
|
188
|
+
.ivu-modal {
|
|
189
|
+
&-content {
|
|
190
|
+
height: 100%;
|
|
191
|
+
display: flex;
|
|
192
|
+
flex-direction: column;
|
|
193
|
+
|
|
194
|
+
.DshModal-close,
|
|
195
|
+
.ivu-modal-close {
|
|
196
|
+
top: 20px;
|
|
197
|
+
right: 24px;
|
|
198
|
+
color: @contentColor;
|
|
199
|
+
font-size: @smallTitleSize;
|
|
200
|
+
|
|
201
|
+
.ivu-icon-ios-close {
|
|
202
|
+
font-size: 22px;
|
|
203
|
+
color: @contentColor;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.ivu-modal-header {
|
|
208
|
+
width: 100%;
|
|
209
|
+
height: 48px;
|
|
210
|
+
padding: 16px 24px 8px 24px;
|
|
211
|
+
// border-bottom: none;
|
|
212
|
+
|
|
213
|
+
&-inner {
|
|
214
|
+
color: rgba(0, 0, 0, 0.9);
|
|
215
|
+
font-size: 16px;
|
|
216
|
+
font-weight: 500;
|
|
217
|
+
line-height: 24px;
|
|
218
|
+
height: 24px;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.ivu-modal-body {
|
|
223
|
+
flex: 1;
|
|
224
|
+
overflow: auto;
|
|
225
|
+
padding: 16px 24px 20px;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
#bri-modal-common();
|
|
233
|
+
|
|
234
|
+
// 小框 无固定高度,上下居中
|
|
235
|
+
&-center {
|
|
236
|
+
#bri-modal-common();
|
|
237
|
+
|
|
238
|
+
.ivu-modal-wrap {
|
|
239
|
+
width: 100%;
|
|
240
|
+
height: 100%;
|
|
241
|
+
display: flex;
|
|
242
|
+
flex-direction: column;
|
|
243
|
+
align-items: center;
|
|
244
|
+
justify-content: center;
|
|
245
|
+
|
|
246
|
+
.ivu-modal {
|
|
247
|
+
top: 0px;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
// modal内部公用样式
|
|
253
|
+
&-footer {
|
|
254
|
+
text-align: right;
|
|
255
|
+
margin-top: 16px;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@import "./BriTable.less";
|
|
2
|
-
@import "./BriButton.less";
|
|
3
|
-
@import "./DshModal.less";
|
|
1
|
+
@import "./BriTable.less";
|
|
2
|
+
@import "./BriButton.less";
|
|
3
|
+
@import "./DshModal.less";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// @keyframes animate-spin {
|
|
2
|
-
// from {
|
|
3
|
-
// transform: rotate(0deg);
|
|
4
|
-
// }
|
|
5
|
-
// 50% {
|
|
6
|
-
// transform: rotate(180deg);
|
|
7
|
-
// }
|
|
8
|
-
// to {
|
|
9
|
-
// transform: rotate(360deg);
|
|
10
|
-
// }
|
|
11
|
-
// }
|
|
1
|
+
// @keyframes animate-spin {
|
|
2
|
+
// from {
|
|
3
|
+
// transform: rotate(0deg);
|
|
4
|
+
// }
|
|
5
|
+
// 50% {
|
|
6
|
+
// transform: rotate(180deg);
|
|
7
|
+
// }
|
|
8
|
+
// to {
|
|
9
|
+
// transform: rotate(360deg);
|
|
10
|
+
// }
|
|
11
|
+
// }
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
.bri-scrollbar3 {
|
|
2
|
-
overflow: auto;
|
|
3
|
-
|
|
4
|
-
&::-webkit-scrollbar {
|
|
5
|
-
width: 3px;
|
|
6
|
-
height: 3px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&::-webkit-scrollbar-thumb {
|
|
10
|
-
border-radius: 3px;
|
|
11
|
-
background: rgba(51, 51, 51, .1);
|
|
12
|
-
background-clip: border-box;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
// 宽度为6
|
|
17
|
-
.bri-scrollbar6 {
|
|
18
|
-
&::-webkit-scrollbar {
|
|
19
|
-
height: 6px;
|
|
20
|
-
width: 6px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&::-webkit-scrollbar-thumb {
|
|
24
|
-
border-radius: 3px;
|
|
25
|
-
background: rgba(51, 51, 51, .1);
|
|
26
|
-
background-clip: border-box;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
#dsh-sign-change () {
|
|
31
|
-
display: inline-block;
|
|
32
|
-
padding: 3px 6px;
|
|
33
|
-
margin-left: 4px;
|
|
34
|
-
border-radius: 4px;
|
|
35
|
-
background-color: #f75252;
|
|
36
|
-
font-size: 12px;
|
|
37
|
-
color: #ffffff;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.bri-badge-small {
|
|
41
|
-
height: 16px;
|
|
42
|
-
line-height: 14px;
|
|
43
|
-
border-radius: 8px;
|
|
44
|
-
min-width: 16px;
|
|
45
|
-
padding: 0 4px;
|
|
1
|
+
.bri-scrollbar3 {
|
|
2
|
+
overflow: auto;
|
|
3
|
+
|
|
4
|
+
&::-webkit-scrollbar {
|
|
5
|
+
width: 3px;
|
|
6
|
+
height: 3px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&::-webkit-scrollbar-thumb {
|
|
10
|
+
border-radius: 3px;
|
|
11
|
+
background: rgba(51, 51, 51, .1);
|
|
12
|
+
background-clip: border-box;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// 宽度为6
|
|
17
|
+
.bri-scrollbar6 {
|
|
18
|
+
&::-webkit-scrollbar {
|
|
19
|
+
height: 6px;
|
|
20
|
+
width: 6px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&::-webkit-scrollbar-thumb {
|
|
24
|
+
border-radius: 3px;
|
|
25
|
+
background: rgba(51, 51, 51, .1);
|
|
26
|
+
background-clip: border-box;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
#dsh-sign-change () {
|
|
31
|
+
display: inline-block;
|
|
32
|
+
padding: 3px 6px;
|
|
33
|
+
margin-left: 4px;
|
|
34
|
+
border-radius: 4px;
|
|
35
|
+
background-color: #f75252;
|
|
36
|
+
font-size: 12px;
|
|
37
|
+
color: #ffffff;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.bri-badge-small {
|
|
41
|
+
height: 16px;
|
|
42
|
+
line-height: 14px;
|
|
43
|
+
border-radius: 8px;
|
|
44
|
+
min-width: 16px;
|
|
45
|
+
padding: 0 4px;
|
|
46
46
|
}
|