bri-components 1.2.20 → 1.2.21
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/5.bri-components.min.js +1 -1
- package/lib/6.bri-components.min.js +1 -1
- package/lib/bri-components.min.js +7 -7
- package/lib/styles/bri-components.css +1 -1
- package/package.json +1 -1
- package/src/abolish/DshFlatTable.vue +6 -6
- package/src/components/controls/senior/selectDepartments.vue +2 -1
- package/src/components/controls/senior/selectUsers/selectUsers.vue +6 -2
- package/src/components/form/DshAdvSearchForm.vue +2 -2
- package/src/components/form/DshDefaultSearch.vue +2 -2
- package/src/components/form/DshForm.vue +14 -10
- package/src/components/form/searchMixin.js +5 -1
- package/src/components/list/BriFlatTable.vue +8 -4
- package/src/components/list/BriTable.vue +1 -0
- package/src/components/list/DshBox/DshCard.vue +2 -2
- package/src/components/list/DshBox/DshCrossTable.vue +4 -4
- package/src/components/list/DshBox/DshList.vue +3 -15
- package/src/components/list/DshBox/DshPanel.vue +2 -2
- package/src/components/list/DshCascaderTable.vue +4 -4
- package/src/components/small/BriButton.vue +11 -5
- package/src/components/small/{DshTdRender.js → DshListRender.js} +1 -1
- package/src/components/unit/{DshFormItem.vue → DshFormUnit.vue} +13 -13
- package/src/components/unit/{DshUnit.vue → DshListUnit.vue} +14 -5
- package/src/components/unit/unitMixin.js +2 -5
- package/src/index.js +11 -9
- package/src/styles/components/form/DshAdvSearchForm.less +1 -1
- package/src/styles/components/form/DshDefaultSearch.less +4 -4
- package/src/styles/components/form/DshForm.less +3 -2
- package/src/styles/components/index.less +2 -2
- package/src/styles/components/small/DshModal.less +66 -60
- package/src/styles/components/unit/{DshFormItem.less → DshFormUnit.less} +4 -4
- package/src/styles/components/unit/DshListUnit.less +3 -0
- package/src/utils/table.js +1 -1
- package/src/styles/components/unit/DshUnit.less +0 -5
|
@@ -118,8 +118,8 @@
|
|
|
118
118
|
.ivu-modal {
|
|
119
119
|
// width: 1000px !important;
|
|
120
120
|
// height: 800px !important;
|
|
121
|
-
width:
|
|
122
|
-
height:
|
|
121
|
+
width: 60% !important;
|
|
122
|
+
height: 85% !important;
|
|
123
123
|
min-width: 500px;
|
|
124
124
|
min-height: 400px;
|
|
125
125
|
|
|
@@ -167,75 +167,81 @@
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
+
.ivu-modal-mask {
|
|
171
|
+
background-color: rgba(55, 55, 55, 0.8);
|
|
172
|
+
}
|
|
170
173
|
|
|
171
174
|
// 默认模态框brimodal
|
|
172
|
-
// 通用样式
|
|
173
175
|
.bri-modal {
|
|
174
|
-
|
|
175
|
-
.ivu-modal {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
font-size: @smallTitleSize;
|
|
187
|
-
|
|
188
|
-
.ivu-icon-ios-close {
|
|
189
|
-
font-size: 22px;
|
|
176
|
+
#bri-modal-common () {
|
|
177
|
+
.ivu-modal-wrap {
|
|
178
|
+
.ivu-modal {
|
|
179
|
+
&-content {
|
|
180
|
+
height: 100%;
|
|
181
|
+
display: flex;
|
|
182
|
+
flex-direction: column;
|
|
183
|
+
|
|
184
|
+
.DshModal-close,
|
|
185
|
+
.ivu-modal-close {
|
|
186
|
+
top: 20px;
|
|
187
|
+
right: 24px;
|
|
190
188
|
color: @contentColor;
|
|
189
|
+
font-size: @smallTitleSize;
|
|
190
|
+
|
|
191
|
+
.ivu-icon-ios-close {
|
|
192
|
+
font-size: 22px;
|
|
193
|
+
color: @contentColor;
|
|
194
|
+
}
|
|
191
195
|
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
196
|
+
|
|
197
|
+
.ivu-modal-header {
|
|
198
|
+
width: 100%;
|
|
199
|
+
height: 44px;
|
|
200
|
+
padding: 20px 24px 0px 24px;
|
|
201
|
+
border-bottom: none;
|
|
202
|
+
|
|
203
|
+
&-inner {
|
|
204
|
+
color: rgba(0, 0, 0, 0.9);
|
|
205
|
+
font-size: 16px;
|
|
206
|
+
font-weight: 500;
|
|
207
|
+
line-height: 24px;
|
|
208
|
+
height: 24px;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ivu-modal-body {
|
|
213
|
+
flex: 1;
|
|
214
|
+
overflow: auto;
|
|
215
|
+
padding: 16px 24px 20px;
|
|
206
216
|
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.ivu-modal-body {
|
|
210
|
-
flex: 1;
|
|
211
|
-
overflow: auto;
|
|
212
|
-
padding: 16px 24px 20px;
|
|
213
217
|
}
|
|
214
218
|
}
|
|
215
219
|
}
|
|
216
220
|
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
// 小框 无固定高度,上下居中
|
|
220
|
-
.bri-modal-center {
|
|
221
|
-
.bri-modal();
|
|
221
|
+
|
|
222
|
+
#bri-modal-common();
|
|
222
223
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
224
|
+
// 小框 无固定高度,上下居中
|
|
225
|
+
&-center {
|
|
226
|
+
#bri-modal-common();
|
|
227
|
+
|
|
228
|
+
.ivu-modal-wrap {
|
|
229
|
+
width: 100%;
|
|
230
|
+
height: 100%;
|
|
231
|
+
display: flex;
|
|
232
|
+
flex-direction: column;
|
|
233
|
+
align-items: center;
|
|
234
|
+
justify-content: center;
|
|
235
|
+
|
|
236
|
+
.ivu-modal {
|
|
237
|
+
top: 0px;
|
|
238
|
+
}
|
|
233
239
|
}
|
|
234
240
|
}
|
|
241
|
+
|
|
242
|
+
// modal内部公用样式
|
|
243
|
+
&-footer {
|
|
244
|
+
text-align: right;
|
|
245
|
+
margin-top: 16px;
|
|
246
|
+
}
|
|
235
247
|
}
|
|
236
|
-
|
|
237
|
-
// modal内部公用样式
|
|
238
|
-
.bri-modal-footer {
|
|
239
|
-
text-align: right;
|
|
240
|
-
margin-top: 16px;
|
|
241
|
-
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.
|
|
1
|
+
.DshFormUnit {
|
|
2
2
|
margin: 5px 6px;
|
|
3
3
|
padding: 3px 10px;
|
|
4
4
|
|
|
5
5
|
&-required {
|
|
6
|
-
.
|
|
6
|
+
.DshFormUnit-label-name:before {
|
|
7
7
|
content: '*';
|
|
8
8
|
display: inline-block;
|
|
9
9
|
line-height: 1.5;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
justify-content: space-between;
|
|
68
68
|
align-items: center;
|
|
69
69
|
|
|
70
|
-
.
|
|
70
|
+
.DshFormUnit-label {
|
|
71
71
|
max-width: 280px;
|
|
72
72
|
// min-width: 100px;
|
|
73
73
|
font-size: @textSize;
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
.
|
|
95
|
+
.DshFormUnit-control {
|
|
96
96
|
flex: 1;
|
|
97
97
|
min-width: 50px;
|
|
98
98
|
display: flex;
|
package/src/utils/table.js
CHANGED