@zgfe/business-lib 1.0.26 → 1.0.27-tags.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.
@@ -214,7 +214,8 @@ var BizAddToPanel = function BizAddToPanel(props) {
214
214
  maskClosable: false,
215
215
  onCancel: props.onCancel,
216
216
  onOk: onAdd,
217
- confirmLoading: loading
217
+ confirmLoading: loading,
218
+ className: classPrefix
218
219
  }, /*#__PURE__*/React.createElement(Form, {
219
220
  ref: refForm,
220
221
  onFinish: onSubmit,
@@ -6,4 +6,11 @@
6
6
  &-show {
7
7
  transform: translateY(6px);
8
8
  }
9
+ .ant-modal-body {
10
+ max-height: 400px;
11
+ max-height: 400px !important;
12
+ padding-top: @padding-xs !important;
13
+ padding-bottom: 0 !important;
14
+ overflow: auto !important;
15
+ }
9
16
  }
@@ -141,7 +141,8 @@ var BizAddToScene = function BizAddToScene(props) {
141
141
  maskClosable: false,
142
142
  onOk: onSave,
143
143
  onCancel: onCancel,
144
- confirmLoading: loading
144
+ confirmLoading: loading,
145
+ className: classPrefix
145
146
  }, /*#__PURE__*/React.createElement(Form, {
146
147
  autoComplete: "off",
147
148
  ref: refForm,
@@ -20,4 +20,11 @@
20
20
  box-shadow: none;
21
21
  }
22
22
  }
23
+ .ant-modal-body {
24
+ max-height: 400px;
25
+ max-height: 400px !important;
26
+ padding-top: @padding-xs !important;
27
+ padding-bottom: 0 !important;
28
+ overflow: auto !important;
29
+ }
23
30
  }
@@ -296,27 +296,14 @@
296
296
  padding-top: 24px !important;
297
297
  border-bottom: none !important;
298
298
  border-radius: @border-radius-normal @border-radius-normal 0 0 !important;
299
-
300
299
  .ant-modal-title {
301
- color: #000 !important;
300
+ height: 34px !important;
301
+ color: @text-color !important;
302
302
  font-weight: 500 !important;
303
303
  font-size: 24px !important;
304
- line-height: 24px !important;
304
+ line-height: 34px !important;
305
305
  }
306
306
  }
307
-
308
- .ant-modal-body {
309
- max-height: 400px;
310
- max-height: 400px !important;
311
- overflow: auto !important;
312
- &:not(:last-child) {
313
- padding-bottom: 0 !important;
314
- }
315
- }
316
- //只有当有header的时候才修改body的间距
317
- .ant-modal-header + .ant-modal-body {
318
- padding-top: @padding-xs !important;
319
- }
320
307
  }
321
308
 
322
309
  // 分页
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.0.26",
3
+ "version": "1.0.27-tags.0",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -58,5 +58,5 @@
58
58
  "react": "^16.12.0 || ^17.0.0",
59
59
  "yorkie": "^2.0.0"
60
60
  },
61
- "gitHead": "0d63dcffad7ca36d53427e53dd5743ef8531c1ad"
61
+ "gitHead": "5807ee5c972aff2861dfa35f97102ae391e45df9"
62
62
  }