ls-pro-common 3.0.11 → 3.0.13

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.
Files changed (113) hide show
  1. package/README.md +22 -22
  2. package/dist/common.css +122 -21
  3. package/dist/common.js +1 -1
  4. package/dist/common.min.css +122 -21
  5. package/dist/common.min.js +1 -1
  6. package/lib/index.js +8 -1
  7. package/package.json +48 -48
  8. package/CHANGELOG.md +0 -746
  9. package/es/components/404.d.ts +0 -3
  10. package/es/components/404.jpg +0 -0
  11. package/es/components/404.js +0 -9
  12. package/es/components/AreaCascader.d.ts +0 -4
  13. package/es/components/AreaCascader.js +0 -76
  14. package/es/components/AreaCascaderPanel.d.ts +0 -5
  15. package/es/components/AreaCascaderPanel.js +0 -230
  16. package/es/components/DescritionCard.d.ts +0 -11
  17. package/es/components/DescritionCard.js +0 -79
  18. package/es/components/DtlLayout.d.ts +0 -44
  19. package/es/components/DtlLayout.js +0 -115
  20. package/es/components/GroupTip.d.ts +0 -10
  21. package/es/components/GroupTip.js +0 -31
  22. package/es/components/IconBack.d.ts +0 -3
  23. package/es/components/IconBack.js +0 -20
  24. package/es/components/IconBell.d.ts +0 -3
  25. package/es/components/IconBell.js +0 -22
  26. package/es/components/IconQuestion.d.ts +0 -3
  27. package/es/components/IconQuestion.js +0 -26
  28. package/es/components/IconSearch.d.ts +0 -3
  29. package/es/components/IconSearch.js +0 -22
  30. package/es/components/IconSelector.d.ts +0 -14
  31. package/es/components/IconSelector.js +0 -222
  32. package/es/components/IconText.d.ts +0 -3
  33. package/es/components/IconText.js +0 -30
  34. package/es/components/ImageSelector.d.ts +0 -31
  35. package/es/components/ImageSelector.js +0 -437
  36. package/es/components/InputMultiLine.d.ts +0 -46
  37. package/es/components/InputMultiLine.js +0 -139
  38. package/es/components/InputTable.d.ts +0 -106
  39. package/es/components/InputTable.js +0 -477
  40. package/es/components/Loading.d.ts +0 -8
  41. package/es/components/Loading.js +0 -20
  42. package/es/components/Permission.d.ts +0 -6
  43. package/es/components/Permission.js +0 -13
  44. package/es/components/antd-custom.less +0 -262
  45. package/es/components/common.less +0 -468
  46. package/es/hooks/useDtl/index.d.ts +0 -48
  47. package/es/hooks/useDtl/index.js +0 -949
  48. package/es/hooks/usePermission/index.d.ts +0 -15
  49. package/es/hooks/usePermission/index.js +0 -58
  50. package/es/hooks/useSingle/index.d.ts +0 -55
  51. package/es/hooks/useSingle/index.js +0 -662
  52. package/es/http/index.d.ts +0 -53
  53. package/es/http/index.js +0 -301
  54. package/es/index.d.ts +0 -31
  55. package/es/index.js +0 -25
  56. package/es/service/BaseService.d.ts +0 -24
  57. package/es/service/BaseService.js +0 -214
  58. package/es/typing.d.ts +0 -53
  59. package/es/typing.js +0 -1
  60. package/es/utils/index.d.ts +0 -252
  61. package/es/utils/index.js +0 -671
  62. package/lib/components/404.d.ts +0 -3
  63. package/lib/components/404.jpg +0 -0
  64. package/lib/components/404.js +0 -17
  65. package/lib/components/AreaCascader.d.ts +0 -4
  66. package/lib/components/AreaCascader.js +0 -85
  67. package/lib/components/AreaCascaderPanel.d.ts +0 -5
  68. package/lib/components/AreaCascaderPanel.js +0 -239
  69. package/lib/components/DescritionCard.d.ts +0 -11
  70. package/lib/components/DescritionCard.js +0 -88
  71. package/lib/components/DtlLayout.d.ts +0 -44
  72. package/lib/components/DtlLayout.js +0 -124
  73. package/lib/components/GroupTip.d.ts +0 -10
  74. package/lib/components/GroupTip.js +0 -39
  75. package/lib/components/IconBack.d.ts +0 -3
  76. package/lib/components/IconBack.js +0 -28
  77. package/lib/components/IconBell.d.ts +0 -3
  78. package/lib/components/IconBell.js +0 -30
  79. package/lib/components/IconQuestion.d.ts +0 -3
  80. package/lib/components/IconQuestion.js +0 -34
  81. package/lib/components/IconSearch.d.ts +0 -3
  82. package/lib/components/IconSearch.js +0 -30
  83. package/lib/components/IconSelector.d.ts +0 -14
  84. package/lib/components/IconSelector.js +0 -230
  85. package/lib/components/IconText.d.ts +0 -3
  86. package/lib/components/IconText.js +0 -38
  87. package/lib/components/ImageSelector.d.ts +0 -31
  88. package/lib/components/ImageSelector.js +0 -445
  89. package/lib/components/InputMultiLine.d.ts +0 -46
  90. package/lib/components/InputMultiLine.js +0 -148
  91. package/lib/components/InputTable.d.ts +0 -106
  92. package/lib/components/InputTable.js +0 -486
  93. package/lib/components/Loading.d.ts +0 -8
  94. package/lib/components/Loading.js +0 -28
  95. package/lib/components/Permission.d.ts +0 -6
  96. package/lib/components/Permission.js +0 -21
  97. package/lib/components/antd-custom.less +0 -262
  98. package/lib/components/common.less +0 -468
  99. package/lib/hooks/useDtl/index.d.ts +0 -48
  100. package/lib/hooks/useDtl/index.js +0 -957
  101. package/lib/hooks/usePermission/index.d.ts +0 -15
  102. package/lib/hooks/usePermission/index.js +0 -65
  103. package/lib/hooks/useSingle/index.d.ts +0 -55
  104. package/lib/hooks/useSingle/index.js +0 -670
  105. package/lib/http/index.d.ts +0 -53
  106. package/lib/http/index.js +0 -315
  107. package/lib/index.d.ts +0 -31
  108. package/lib/service/BaseService.d.ts +0 -24
  109. package/lib/service/BaseService.js +0 -222
  110. package/lib/typing.d.ts +0 -53
  111. package/lib/typing.js +0 -5
  112. package/lib/utils/index.d.ts +0 -252
  113. package/lib/utils/index.js +0 -767
@@ -1,262 +0,0 @@
1
- .ant-timeline-item-tail {
2
- border-left: 2px dotted var(--ant-primary-color);
3
- }
4
-
5
- .ant-timeline-item-head-blue {
6
- background: var(--ant-primary-color);
7
- }
8
-
9
- .ant-row {
10
- width: 100%;
11
- }
12
-
13
- .ant-popover {
14
- max-width: min-content !important;
15
- }
16
-
17
-
18
-
19
- .ant-input-has-value:hover {
20
- .ant-input-clear-icon {
21
- visibility: visible;
22
- }
23
- }
24
-
25
- .ant-modal-confirm-body {
26
- .ant-modal-confirm-content {
27
- max-height: 60vh;
28
- overflow : auto;
29
- }
30
- }
31
-
32
- .ant-message-notice-content {
33
- border-radius: 4px !important;
34
- }
35
-
36
- .ant-modal-content {
37
- border-radius: 8px !important;
38
-
39
- .ant-modal-header {
40
- border-radius: 8px 8px 0 0 !important;
41
- }
42
- }
43
-
44
- .ant-input-number,
45
- .ant-input-affix-wrapper,
46
- .ant-picker,
47
- .ant-select-selector {
48
- border-radius: 4px !important;
49
- }
50
-
51
- .ant-input-group .ant-input-affix-wrapper:not(:last-child) {
52
- border-top-right-radius : 0 !important;
53
- border-bottom-right-radius: 0 !important;
54
- }
55
-
56
- .ant-picker-range-separator {
57
- padding: 0 2px !important;
58
-
59
- .ant-picker-separator {
60
- font-size: 14px;
61
- }
62
- }
63
-
64
-
65
- .ant-btn {
66
- height : 32px;
67
- background-color: var(--ant-primary-1);
68
- border-color : transparent;
69
- color : var(--ant-primary-color);
70
- border-radius : 4px;
71
-
72
- &.ant-btn-lg {
73
- height: 40px
74
- }
75
-
76
- &:hover,
77
- &:focus {
78
- background-color: var(--ant-primary-2);
79
- border-color : transparent;
80
- color : var(--ant-primary-color);
81
- }
82
-
83
- &:active {
84
- background-color: var(--ant-primary-3);
85
- border-color : transparent;
86
- color : var(--ant-primary-color);
87
- }
88
-
89
- &[disabled],
90
- &[disabled]:hover,
91
- &[disabled]:focus,
92
- &[disabled]:active {
93
- background-color: #EAEEF2;
94
- border-color : transparent;
95
- color : #D9D9D9;
96
- }
97
- }
98
-
99
- .ant-btn-primary {
100
- background-color: var(--ant-primary-color);
101
- border-color : transparent;
102
- color : #fff;
103
-
104
- &:hover,
105
- &:focus {
106
- background-color: var(--ant-primary-color-hover);
107
- border-color : transparent;
108
- color : #fff;
109
- }
110
-
111
- &:active {
112
- background-color: var(--ant-primary-color-active);
113
- border-color : transparent;
114
- color : #fff;
115
- }
116
-
117
- &[disabled],
118
- &[disabled]:hover,
119
- &[disabled]:focus,
120
- &[disabled]:active {
121
- background-color: var(--ant-primary-color-outline);
122
- border-color : transparent;
123
- color : #fff;
124
- }
125
- }
126
-
127
- .ant-btn-dangerous {
128
- background-color: #FFCCC7;
129
- border-color : transparent;
130
- color : #F5222D;
131
-
132
- &:hover,
133
- &:focus {
134
- background-color: #FFF1F0;
135
- border-color : transparent;
136
- color : #F5222D;
137
- }
138
-
139
- &:active {
140
- background-color: #FFA39E;
141
- border-color : transparent;
142
- color : #F5222D;
143
- }
144
-
145
- &[disabled],
146
- &[disabled]:hover,
147
- &[disabled]:focus,
148
- &[disabled]:active {
149
- background-color: #FFCCC7;
150
- border-color : transparent;
151
- color : #FFA39E;
152
- }
153
- }
154
-
155
- .ant-btn-link {
156
- background-color: transparent;
157
- border-color : transparent;
158
- color : var(--ant-primary-color);
159
- padding : 4px 8px;
160
-
161
- &[disabled],
162
- &[disabled]:hover,
163
- &[disabled]:focus,
164
- &[disabled]:active,
165
- &:hover,
166
- &:focus,
167
- &:active {
168
- background-color: transparent;
169
- border-color : transparent;
170
- }
171
-
172
- &:hover,
173
- &:focus {
174
- color: var(--ant-primary-color-hover);
175
- }
176
-
177
- &:active {
178
- color: var(--ant-primary-color-active);
179
- }
180
-
181
- &[disabled],
182
- &[disabled]:hover,
183
- &[disabled]:focus,
184
- &[disabled]:active {
185
- color: #A7B5CC;
186
- }
187
- }
188
-
189
- .ant-btn-text {
190
- background-color: transparent;
191
- border-color : transparent;
192
- color : #8C8C8C;
193
- padding : 4px 8px;
194
-
195
- &[disabled],
196
- &[disabled]:hover,
197
- &[disabled]:focus,
198
- &[disabled]:active,
199
- &:hover,
200
- &:focus,
201
- &:active {
202
- background-color: transparent;
203
- border-color : transparent;
204
-
205
- }
206
-
207
- &:hover,
208
- &:active,
209
- &:focus {
210
- color: var(--ant-primary-color-hover);
211
- }
212
-
213
- &[disabled],
214
- &[disabled]:hover,
215
- &[disabled]:focus,
216
- &[disabled]:active {
217
- color: #d9d9d9;
218
- }
219
- }
220
-
221
- .ant-checkbox-checked::after {
222
- animation : none !important;
223
- animation-fill-mode: none !important;
224
- }
225
-
226
-
227
- .ant-descriptions-item-label {
228
- color: #8c8c8c !important;
229
-
230
- .ant-typography {
231
- color: #8c8c8c;
232
- }
233
-
234
- &::after {
235
- margin-right: 12px !important;
236
- }
237
- }
238
-
239
- .ant-descriptions-item-content {
240
- color: #1f1f1f !important;
241
- }
242
-
243
- .ant-table-filter-dropdown .ant-dropdown-menu {
244
- max-height: 200px;
245
-
246
- .ant-dropdown-menu-title-content{
247
- display: inline-flex;
248
- vertical-align: middle;
249
- }
250
-
251
- .ant-tree-switcher {
252
- width: 4px;
253
- }
254
- }
255
-
256
- .ant-table-filter-dropdown .ant-checkbox-wrapper+span,
257
- .ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span {
258
- display : inline-block;
259
- overflow : hidden;
260
- text-overflow: ellipsis;
261
- width : 200px;
262
- }
@@ -1,468 +0,0 @@
1
- body {
2
-
3
- --bg-color: #F9FAFB;
4
-
5
-
6
- --ant-primary-color: #1869ED;
7
- --ant-primary-color-hover: #418efa;
8
- --ant-primary-color-active: #0a4cc7;
9
- --ant-primary-color-outline: rgba(24, 105, 237, 0.4);
10
- --ant-primary-1: #e6f4ff;
11
- --ant-primary-2: #bddfff;
12
- --ant-primary-3: #94c8ff;
13
- --ant-primary-4: #6baeff;
14
- --ant-primary-5: #418efa;
15
- --ant-primary-6: #1869ED;
16
- --ant-primary-7: #0a4cc7;
17
- --ant-primary-color-deprecated-pure: #bed5fa;
18
- --ant-primary-color-deprecated-l-35: #bed5fa;
19
- --ant-primary-color-deprecated-l-20: #77a6f4;
20
- --ant-primary-color-deprecated-t-20: #4687f1;
21
- --ant-primary-color-deprecated-t-50: #8cb4f6;
22
- --ant-primary-color-deprecated-f-12: rgba(24, 105, 237, 0.12);
23
- --ant-primary-color-active-deprecated-f-30: rgba(230, 244, 255, 0.3);
24
- --ant-primary-color-active-deprecated-d-02: #dcf0ff;
25
- --ant-success-color: #52c41a;
26
- --ant-success-color-hover: #73d13d;
27
- --ant-success-color-active: #389e0d;
28
- --ant-success-color-outline: rgba(82, 196, 26, 0.2);
29
- --ant-success-color-deprecated-bg: #f6ffed;
30
- --ant-success-color-deprecated-border: #b7eb8f;
31
- --ant-error-color: #ff4d4f;
32
- --ant-error-color-hover: #ff7875;
33
- --ant-error-color-active: #d9363e;
34
- --ant-error-color-outline: rgba(255, 77, 79, 0.2);
35
- --ant-error-color-deprecated-bg: #fff2f0;
36
- --ant-error-color-deprecated-border: #ffccc7;
37
- --ant-warning-color: #faad14;
38
- --ant-warning-color-hover: #ffc53d;
39
- --ant-warning-color-active: #d48806;
40
- --ant-warning-color-outline: rgba(250, 173, 20, 0.2);
41
- --ant-warning-color-deprecated-bg: #fffbe6;
42
- --ant-warning-color-deprecated-border: #ffe58f;
43
- --ant-info-color: #1869ED;
44
- --ant-info-color-deprecated-bg: #e6f4ff;
45
- --ant-info-color-deprecated-border: #94c8ff;
46
-
47
- }
48
-
49
- * ::-webkit-scrollbar-thumb {
50
- background-color: #EFF2F4;
51
- border-radius : 6px;
52
-
53
- &:hover {
54
- background-color: #E4E7EA;
55
- border-radius : 6px;
56
- }
57
- }
58
-
59
- * ::-webkit-scrollbar {
60
- width : 8px;
61
- height : 8px;
62
- background-color: transparent;
63
- }
64
-
65
- * {
66
- scrollbar-width: thin;
67
- }
68
-
69
-
70
- body.theme-yellow {
71
- --ant-primary-color : #fa8500;
72
- --ant-primary-color-hover : #ffa229;
73
- --ant-primary-color-active : #d46a00;
74
- --ant-primary-color-outline : rgba(250, 133, 0, 0.4);
75
- --ant-primary-bg : #fff;
76
- --ant-primary-side : #fff7e6;
77
- --ant-primary-0 : #ffd9ad;
78
- --ant-primary-1 : #fff7e6;
79
- --ant-primary-2 : #ffe0a3;
80
- --ant-primary-3 : #ffce7a;
81
- --ant-primary-4 : #ffba52;
82
- --ant-primary-5 : #ffa229;
83
- --ant-primary-6 : #fa8500;
84
- --ant-primary-7 : #d46a00;
85
- --ant-primary-color-deprecated-pure : #ffd9ad;
86
- --ant-primary-color-deprecated-l-35 : #ffd9ad;
87
- --ant-primary-color-deprecated-l-20 : #ffb561;
88
- --ant-primary-color-deprecated-t-20 : #fb9d33;
89
- --ant-primary-color-deprecated-t-50 : #fdc280;
90
- --ant-primary-color-deprecated-f-12 : rgba(250, 133, 0, 0.12);
91
- --ant-primary-color-active-deprecated-f-30: rgba(255, 247, 230, 0.3);
92
- --ant-primary-color-active-deprecated-d-02: #fff4dc;
93
- --ant-success-color : #52c41a;
94
- --ant-success-color-hover : #73d13d;
95
- --ant-success-color-active : #389e0d;
96
- --ant-success-color-outline : rgba(82, 196, 26, 0.2);
97
- --ant-success-color-deprecated-bg : #f6ffed;
98
- --ant-success-color-deprecated-border : #b7eb8f;
99
- --ant-error-color : #ff4d4f;
100
- --ant-error-color-hover : #ff7875;
101
- --ant-error-color-active : #d9363e;
102
- --ant-error-color-outline : rgba(255, 77, 79, 0.2);
103
- --ant-error-color-deprecated-bg : #fff2f0;
104
- --ant-error-color-deprecated-border : #ffccc7;
105
- --ant-warning-color : #faad14;
106
- --ant-warning-color-hover : #ffc53d;
107
- --ant-warning-color-active : #d48806;
108
- --ant-warning-color-outline : rgba(250, 173, 20, 0.2);
109
- --ant-warning-color-deprecated-bg : #fffbe6;
110
- --ant-warning-color-deprecated-border : #ffe58f;
111
- --ant-info-color : #fa8500;
112
- --ant-info-color-deprecated-bg : #fff7e6;
113
- --ant-info-color-deprecated-border : #ffce7a;
114
- --antd-wave-shadow-color : #fa8500;
115
-
116
- .ant-table-cell,
117
- .ant-pro-table-alert-info-content {
118
- a {
119
- color: var(--ant-primary-color);
120
- }
121
-
122
- a:hover {
123
- color: var(--ant-primary-color-hover);
124
- }
125
-
126
- a:active {
127
- color: var(--ant-primary-color-active);
128
- }
129
- }
130
- }
131
-
132
- .dtl-layout {
133
- position : absolute;
134
- top : 0;
135
- left : 0;
136
- right : 0;
137
- bottom : 0;
138
- background : var(--bg-color, #f9fafb);
139
- display : flex;
140
- flex-direction: column;
141
- z-index : 50;
142
-
143
- .dtl-header {
144
- display : flex;
145
- justify-items : center;
146
- padding : 8px 20px;
147
- background : #fff;
148
- // border-bottom: 1px solid #f0f0f0;
149
-
150
- // .dtl-back {
151
- // display : flex;
152
- // align-items : center;
153
- // padding-right: 5px;
154
-
155
- // >span {
156
- // padding : 3px;
157
- // border-radius: 2px;
158
-
159
- // &:hover {
160
- // background: var(--ant-primary-2);
161
- // color : var(--ant-primary-color)
162
- // }
163
- // }
164
- // }
165
-
166
- .dtl-title {
167
- font-size: 16px;
168
- font-weight: 700;
169
- }
170
-
171
- .dtl-btns {
172
- flex : 1;
173
- text-align: right;
174
- }
175
- }
176
-
177
- .dtl-body {
178
- height : 0;
179
- flex : 1;
180
- overflow: auto;
181
- }
182
-
183
- .dtl-flex {
184
- display : flex;
185
- flex-direction: column;
186
- }
187
- }
188
-
189
- .flex {
190
- flex: 1;
191
- }
192
-
193
- .flex-column {
194
- display : flex;
195
- flex-direction: column;
196
-
197
- .flex {
198
- height: 0;
199
- }
200
- }
201
-
202
- .flex-row {
203
- display : flex;
204
- flex-direction: row;
205
-
206
- .flex {
207
- width: 0;
208
- }
209
- }
210
-
211
- .page404 {
212
- width : 100%;
213
- height : 100%;
214
- text-align : center;
215
- padding-top : 10%;
216
- font-size : 15px;
217
- font-weight : 600;
218
- color : gray;
219
- background-color: #fff;
220
-
221
- img {
222
- vertical-align: bottom;
223
- padding-right : 5px;
224
- }
225
- }
226
-
227
- .loading {
228
- height : 100%;
229
- width : 100%;
230
- position : absolute;
231
- display : flex;
232
- align-items : center;
233
- justify-content: center;
234
- background : #fff;
235
- }
236
-
237
- #myloading {
238
- position : fixed;
239
- top : 0;
240
- left : 0;
241
- bottom : 0;
242
- right : 0;
243
- z-index : 9999;
244
- display : flex;
245
- align-items : center;
246
- background-color: rgba(226, 227, 231, 0.35);
247
- justify-content : center;
248
-
249
- .load-text {
250
- padding : 4px 20px;
251
- background-color: #fff;
252
- border-radius : 4px;
253
- }
254
- }
255
-
256
-
257
- a {
258
- color: var(--ant-primary-color);
259
- }
260
-
261
- a:hover {
262
- color: var(--ant-primary-5);
263
- }
264
-
265
- .image-selector,
266
- .icon-selector {
267
- .img-upload {
268
- width : 40px;
269
- height: 40px;
270
- }
271
-
272
- .ant-upload-select {
273
-
274
- .img-wrapper {
275
- position: relative;
276
-
277
- .clear-btn {
278
- position : absolute;
279
- left : 0;
280
- top : 0;
281
- width : 100%;
282
- height : 100%;
283
- background : rgba(199, 202, 212, 0.9);
284
- display : flex;
285
- align-items : flex-start;
286
- padding : 4px;
287
- color : #1f4265;
288
- justify-content: end;
289
- display : none;
290
- }
291
-
292
- &:hover {
293
- .clear-btn {
294
- display: flex;
295
- }
296
- }
297
-
298
- .img-preview {
299
- max-width : 150px;
300
- max-height: 150px;
301
- }
302
- }
303
- }
304
-
305
-
306
-
307
- .img-choose {
308
- margin: 8px 0;
309
- }
310
-
311
- .img-desc {
312
- color: rgba(69, 77, 100, 0.7)
313
- }
314
-
315
- .ant-modal-body {
316
- padding : 8px;
317
- max-height: calc(100vh - 180px);
318
- overflow-y: auto;
319
- }
320
- }
321
-
322
-
323
- .description-card {
324
-
325
- .ant-pro-card-header {
326
- height: 50px;
327
- }
328
-
329
- .ant-pro-card-body {
330
- padding: 12px 24px 2px;
331
- }
332
-
333
- .ant-pro-card-header-border {
334
- border-bottom: 1px solid #dbeafa;
335
- }
336
- }
337
-
338
- .has-background {
339
- background: #f6fafe;
340
-
341
- .ant-descriptions-row>td,
342
- .ant-descriptions-row>th {
343
- padding-bottom: 10px
344
- }
345
- }
346
-
347
-
348
- .ls-group-tip {
349
- display : flex;
350
- position : relative;
351
- width : 100%;
352
- align-items : center;
353
- background : #fff;
354
- padding-bottom: 12px;
355
-
356
- .ls-group-divider {
357
- height : 14px;
358
- border-right: 2px solid var(--ant-primary-color);
359
- }
360
-
361
- .ls-group-text {
362
- font-size : 14px;
363
- color : #181818;
364
- padding-left: 8px;
365
- }
366
- }
367
-
368
-
369
-
370
- //-------------------省市区组件样式-----------
371
- //最外层盒子
372
- .ls-area-cascaded-box {
373
- width : 600px;
374
- display : flex;
375
- flex-direction: column;
376
- transition : all 0.3s;
377
-
378
- .ls-area-cascaded-header {
379
- width : 100%;
380
- padding : 2px 0 6px;
381
- border-bottom : 1px solid #f0f0f0;
382
- display : flex;
383
- flex-direction : row;
384
- justify-content: space-around;
385
- justify-content: center;
386
-
387
- .ls-word-box-display {
388
- margin : 0 10px;
389
- font-size : 14px;
390
- font-weight: 100;
391
-
392
- button {
393
- border : none;
394
- background-color: var(--ant-primary-2, #f0f9ff);
395
-
396
- &[disabled] {
397
- background-color: #fafafa !important;
398
-
399
- .ls-myself-select-title-style {
400
- color : var(--ant-primary-4, #a3d7ff);
401
- transition: all 0.3s;
402
- }
403
- }
404
- }
405
-
406
- .ls-myself-select-title-style {
407
- color : var(--ant-primary-color, rgb(69, 154, 220));
408
- font-size : 14px;
409
- font-weight: 600;
410
- transition : all 0.3s;
411
- }
412
- }
413
-
414
- .ls-icon-box-display {
415
- display : flex;
416
- align-items: center;
417
- }
418
- }
419
-
420
- .ls-area-cascaded-body {
421
- width : 100%;
422
- min-height : 100px;
423
- max-height : 350px;
424
- overflow : auto;
425
- padding : 8px 12px 4px;
426
- display : grid;
427
- grid-template-columns: repeat(4, 1fr);
428
- gap : 4px;
429
- justify-content : start;
430
- align-content : flex-start;
431
- align-items : center;
432
-
433
- .ls-area-cascaded-span {
434
- text-align: center;
435
- padding : 6px 10px;
436
-
437
- //文字不换行,超出省略
438
- overflow : hidden;
439
- text-overflow: ellipsis;
440
- white-space : nowrap;
441
- cursor : pointer;
442
-
443
- &.ls-area-selected,
444
- &:hover {
445
- color : var(--ant-primary-color, rgb(69, 154, 220));
446
- transition: all 0.3s;
447
- }
448
- }
449
- }
450
- }
451
-
452
- //手动指定盒子位置
453
- .ls-area-box-position {
454
- .ls-ant-select-dropdown {
455
- top: 36px !important;
456
- }
457
- }
458
-
459
- .ls-input-table {
460
- .ant-pro-table-list-toolbar {
461
- padding-top: 0px;
462
- }
463
- }
464
-
465
-
466
- @import url('./antd-custom.less');
467
-
468
- //-------------------省市区组件样式-----------