@zgfe/modules-dm 1.0.34-heyh.38 → 1.0.34-heyh.40

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.
@@ -361,7 +361,13 @@ var CollectionEventList = function CollectionEventList(props) {
361
361
  defaultValue: -999,
362
362
  className: "top-select",
363
363
  onChange: handleSelectChange,
364
- options: groupOptions
364
+ options: groupOptions,
365
+ suffixIcon: /*#__PURE__*/React.createElement(IconFont, {
366
+ type: "xiangxia",
367
+ style: {
368
+ color: '#5f6085'
369
+ }
370
+ })
365
371
  }), /*#__PURE__*/React.createElement(Input, {
366
372
  className: "top-input",
367
373
  onChange: eventNameChange,
@@ -38,7 +38,7 @@ var CreateVirtualDrawer = function CreateVirtualDrawer(props) {
38
38
  _useState4 = _slicedToArray(_useState3, 2),
39
39
  formSubmitData = _useState4[0],
40
40
  setFormSubmitData = _useState4[1];
41
- var attrMaxLength = 100;
41
+ var attrMaxLength = 10;
42
42
  var _useContext = useContext(BizGlobalDataContext),
43
43
  currentApp = _useContext.currentApp,
44
44
  eventGroupList = _useContext.eventGroupList;
@@ -210,6 +210,12 @@ var CreateVirtualDrawer = function CreateVirtualDrawer(props) {
210
210
  defaultValue: -1,
211
211
  options: groupOptions.filter(function (item) {
212
212
  return item.value !== -999;
213
+ }),
214
+ suffixIcon: /*#__PURE__*/React.createElement(IconFont, {
215
+ type: "xiangxia",
216
+ style: {
217
+ color: '#5f6085'
218
+ }
213
219
  })
214
220
  })), /*#__PURE__*/React.createElement(Form.Item, {
215
221
  label: "\u5907\u6CE8",
@@ -64,4 +64,9 @@
64
64
  cursor: pointer;
65
65
  }
66
66
  }
67
+ .delete-box:hover {
68
+ .shanchu {
69
+ color: #FB5547;
70
+ }
71
+ }
67
72
  }
@@ -338,7 +338,7 @@ var EventGroupingDrawer = function EventGroupingDrawer(props) {
338
338
  return eventShowOrHidden(1, item.groupId);
339
339
  }
340
340
  }, "\u9690\u85CF")), item.groupName && /*#__PURE__*/React.createElement("span", {
341
- className: 'handle',
341
+ className: 'handle-delete',
342
342
  onClick: function onClick() {
343
343
  return groupDelete(item.groupId);
344
344
  }
@@ -5,6 +5,9 @@
5
5
  padding: 24px;
6
6
  background: #fff;
7
7
  border-radius: 8px;
8
+ .ant-select{
9
+ border-radius: 4px!important;
10
+ }
8
11
  .loading {
9
12
  position: fixed;
10
13
  top: 70%;
@@ -18,6 +21,17 @@
18
21
  padding: 3px 20px 20px 20px !important;
19
22
  }
20
23
  }
24
+ .ant-radio-group {
25
+ > :nth-child(1) {
26
+ border-radius: 4px 0px 0px 4px;
27
+ }
28
+ > :last-child {
29
+ border-radius: 0px 4px 4px 0px;
30
+ }
31
+ }
32
+ .ant-radio-button-wrapper-checked {
33
+ background: #e8efff;
34
+ }
21
35
  }
22
36
 
23
37
  .attr-list,
@@ -61,7 +75,7 @@
61
75
  width: 264px;
62
76
  margin-right: 12px;
63
77
  .ant-input-prefix {
64
- margin-right: 20px;
78
+ margin-right: 8px;
65
79
  }
66
80
  }
67
81
  .top-total {
@@ -88,8 +102,8 @@
88
102
  }
89
103
  .table-plus {
90
104
  &-table {
91
- border-radius: 8px!important;
92
105
  overflow: hidden;
106
+ border-radius: 8px !important;
93
107
  .ant-table {
94
108
  .ant-table-thead {
95
109
  > tr > th {
@@ -97,7 +111,7 @@
97
111
  padding: 0 16px;
98
112
  }
99
113
  }
100
- .ant-table-body{
114
+ .ant-table-body {
101
115
  min-height: 300px;
102
116
  }
103
117
  .ant-table-tbody {
@@ -314,6 +328,11 @@
314
328
  }
315
329
 
316
330
  .attr-list {
331
+ .ant-table {
332
+ overflow: hidden;
333
+ border: 1px solid #ecedf0;
334
+ border-radius: 8px;
335
+ }
317
336
  .attr-name {
318
337
  display: flex;
319
338
  .attr-name-text {
@@ -383,6 +402,9 @@
383
402
  }
384
403
 
385
404
  .event-list-drawer {
405
+ .ant-select{
406
+ border-radius: 4px!important;
407
+ }
386
408
  .ant-drawer-header-title {
387
409
  height: 20px;
388
410
  .ant-drawer-close {
@@ -396,6 +418,9 @@
396
418
  }
397
419
 
398
420
  .create-virtual-drawer {
421
+ .ant-select{
422
+ border-radius: 4px!important;
423
+ }
399
424
  #basic {
400
425
  padding-bottom: 100px;
401
426
  .ant-input {
@@ -517,7 +542,7 @@
517
542
  gap: 12px;
518
543
  align-items: center;
519
544
  justify-content: start;
520
- .fangxiangshang{
545
+ .fangxiangshang {
521
546
  transform: rotateZ(90deg);
522
547
  }
523
548
  > :nth-child(1) {
@@ -534,8 +559,8 @@
534
559
  .zhongmingming {
535
560
  cursor: pointer;
536
561
  }
537
- .zhongmingming:hover{
538
- color: #165DFF;
562
+ .zhongmingming:hover {
563
+ color: #165dff;
539
564
  }
540
565
  }
541
566
  > :last-child {
@@ -549,10 +574,13 @@
549
574
  }
550
575
  .tuozhuai1 {
551
576
  font-size: 18px !important;
552
- cursor: pointer;
577
+ cursor: move;
553
578
  }
554
- .handle:hover{
555
- color: #165DFF;
579
+ .handle:hover {
580
+ color: #165dff;
581
+ }
582
+ .handle-delete:hover {
583
+ color: #fb5547;
556
584
  }
557
585
  }
558
586
  }
@@ -598,10 +626,10 @@
598
626
  }
599
627
  }
600
628
  &-top-box {
601
- margin-top: -8px;
602
629
  display: flex;
603
630
  align-items: center;
604
631
  justify-content: space-between;
632
+ margin-top: -8px;
605
633
  .ant-btn {
606
634
  height: 32px;
607
635
  }
@@ -613,7 +641,7 @@
613
641
  margin-right: 10px;
614
642
  }
615
643
  }
616
- .ant-drawer-content-wrapper{
644
+ .ant-drawer-content-wrapper {
617
645
  overflow-x: hidden;
618
646
  }
619
647
  .ant-drawer-content,
@@ -250,7 +250,13 @@ var VirtualEventList = function VirtualEventList() {
250
250
  defaultValue: -999,
251
251
  className: "top-select",
252
252
  onChange: handleSelectChange,
253
- options: groupOptions
253
+ options: groupOptions,
254
+ suffixIcon: /*#__PURE__*/React.createElement(IconFont, {
255
+ type: "xiangxia",
256
+ style: {
257
+ color: '#5f6085'
258
+ }
259
+ })
254
260
  }), /*#__PURE__*/React.createElement(Input, {
255
261
  className: "top-input",
256
262
  onChange: eventNameChange,
package/es/utils/index.js CHANGED
@@ -70,7 +70,7 @@ export var getSubmitHandleData = function getSubmitHandleData(selectAttributes,
70
70
  if (eventAttr.hasOwnProperty(item.eventId)) {
71
71
  item.attrs = eventAttr[item.eventId];
72
72
  } else {
73
- item.attrs = [];
73
+ item.attrs = [""];
74
74
  }
75
75
  });
76
76
  return submitData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.34-heyh.38",
3
+ "version": "1.0.34-heyh.40",
4
4
  "license": "ISC",
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
@@ -51,7 +51,7 @@
51
51
  "umi-request": "^1.4.0",
52
52
  "yorkie": "^2.0.0"
53
53
  },
54
- "gitHead": "06acb84ca034ffb803304794e7f96f3e12ae2bad",
54
+ "gitHead": "999e1ee5c461d2f01bfbfe111c6fc52c3409001c",
55
55
  "gitHooks": {
56
56
  "pre-commit": "lint-staged"
57
57
  }