ls-pro-common 3.0.12 → 3.0.14

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 (116) hide show
  1. package/README.md +22 -22
  2. package/dist/common.css +121 -21
  3. package/dist/common.js +1 -1
  4. package/dist/common.min.css +121 -21
  5. package/dist/common.min.js +1 -1
  6. package/package.json +48 -48
  7. package/CHANGELOG.md +0 -746
  8. package/es/components/404.d.ts +0 -3
  9. package/es/components/404.jpg +0 -0
  10. package/es/components/404.js +0 -9
  11. package/es/components/AreaCascader.d.ts +0 -4
  12. package/es/components/AreaCascader.js +0 -76
  13. package/es/components/AreaCascaderPanel.d.ts +0 -5
  14. package/es/components/AreaCascaderPanel.js +0 -230
  15. package/es/components/DescritionCard.d.ts +0 -11
  16. package/es/components/DescritionCard.js +0 -79
  17. package/es/components/DtlLayout.d.ts +0 -44
  18. package/es/components/DtlLayout.js +0 -115
  19. package/es/components/GroupTip.d.ts +0 -10
  20. package/es/components/GroupTip.js +0 -31
  21. package/es/components/IconBack.d.ts +0 -3
  22. package/es/components/IconBack.js +0 -20
  23. package/es/components/IconBell.d.ts +0 -3
  24. package/es/components/IconBell.js +0 -22
  25. package/es/components/IconQuestion.d.ts +0 -3
  26. package/es/components/IconQuestion.js +0 -26
  27. package/es/components/IconSearch.d.ts +0 -3
  28. package/es/components/IconSearch.js +0 -22
  29. package/es/components/IconSelector.d.ts +0 -14
  30. package/es/components/IconSelector.js +0 -222
  31. package/es/components/IconText.d.ts +0 -3
  32. package/es/components/IconText.js +0 -30
  33. package/es/components/ImageSelector.d.ts +0 -31
  34. package/es/components/ImageSelector.js +0 -437
  35. package/es/components/InputMultiLine.d.ts +0 -46
  36. package/es/components/InputMultiLine.js +0 -139
  37. package/es/components/InputTable.d.ts +0 -106
  38. package/es/components/InputTable.js +0 -476
  39. package/es/components/Loading.d.ts +0 -8
  40. package/es/components/Loading.js +0 -20
  41. package/es/components/Permission.d.ts +0 -6
  42. package/es/components/Permission.js +0 -13
  43. package/es/components/antd-custom.less +0 -262
  44. package/es/components/common.less +0 -469
  45. package/es/hooks/useDtl/index.d.ts +0 -48
  46. package/es/hooks/useDtl/index.js +0 -949
  47. package/es/hooks/useGetState.d.ts +0 -1
  48. package/es/hooks/useGetState.js +0 -17
  49. package/es/hooks/usePermission/index.d.ts +0 -15
  50. package/es/hooks/usePermission/index.js +0 -58
  51. package/es/hooks/useSingle/index.d.ts +0 -55
  52. package/es/hooks/useSingle/index.js +0 -662
  53. package/es/http/index.d.ts +0 -53
  54. package/es/http/index.js +0 -305
  55. package/es/index.d.ts +0 -32
  56. package/es/index.js +0 -26
  57. package/es/service/BaseService.d.ts +0 -24
  58. package/es/service/BaseService.js +0 -214
  59. package/es/typing.d.ts +0 -53
  60. package/es/typing.js +0 -1
  61. package/es/utils/index.d.ts +0 -258
  62. package/es/utils/index.js +0 -679
  63. package/lib/components/404.d.ts +0 -3
  64. package/lib/components/404.jpg +0 -0
  65. package/lib/components/404.js +0 -17
  66. package/lib/components/AreaCascader.d.ts +0 -4
  67. package/lib/components/AreaCascader.js +0 -85
  68. package/lib/components/AreaCascaderPanel.d.ts +0 -5
  69. package/lib/components/AreaCascaderPanel.js +0 -239
  70. package/lib/components/DescritionCard.d.ts +0 -11
  71. package/lib/components/DescritionCard.js +0 -88
  72. package/lib/components/DtlLayout.d.ts +0 -44
  73. package/lib/components/DtlLayout.js +0 -124
  74. package/lib/components/GroupTip.d.ts +0 -10
  75. package/lib/components/GroupTip.js +0 -39
  76. package/lib/components/IconBack.d.ts +0 -3
  77. package/lib/components/IconBack.js +0 -28
  78. package/lib/components/IconBell.d.ts +0 -3
  79. package/lib/components/IconBell.js +0 -30
  80. package/lib/components/IconQuestion.d.ts +0 -3
  81. package/lib/components/IconQuestion.js +0 -34
  82. package/lib/components/IconSearch.d.ts +0 -3
  83. package/lib/components/IconSearch.js +0 -30
  84. package/lib/components/IconSelector.d.ts +0 -14
  85. package/lib/components/IconSelector.js +0 -230
  86. package/lib/components/IconText.d.ts +0 -3
  87. package/lib/components/IconText.js +0 -38
  88. package/lib/components/ImageSelector.d.ts +0 -31
  89. package/lib/components/ImageSelector.js +0 -445
  90. package/lib/components/InputMultiLine.d.ts +0 -46
  91. package/lib/components/InputMultiLine.js +0 -148
  92. package/lib/components/InputTable.d.ts +0 -106
  93. package/lib/components/InputTable.js +0 -485
  94. package/lib/components/Loading.d.ts +0 -8
  95. package/lib/components/Loading.js +0 -28
  96. package/lib/components/Permission.d.ts +0 -6
  97. package/lib/components/Permission.js +0 -21
  98. package/lib/components/antd-custom.less +0 -262
  99. package/lib/components/common.less +0 -469
  100. package/lib/hooks/useDtl/index.d.ts +0 -48
  101. package/lib/hooks/useDtl/index.js +0 -957
  102. package/lib/hooks/useGetState.d.ts +0 -1
  103. package/lib/hooks/useGetState.js +0 -24
  104. package/lib/hooks/usePermission/index.d.ts +0 -15
  105. package/lib/hooks/usePermission/index.js +0 -65
  106. package/lib/hooks/useSingle/index.d.ts +0 -55
  107. package/lib/hooks/useSingle/index.js +0 -670
  108. package/lib/http/index.d.ts +0 -53
  109. package/lib/http/index.js +0 -319
  110. package/lib/index.d.ts +0 -32
  111. package/lib/service/BaseService.d.ts +0 -24
  112. package/lib/service/BaseService.js +0 -222
  113. package/lib/typing.d.ts +0 -53
  114. package/lib/typing.js +0 -5
  115. package/lib/utils/index.d.ts +0 -258
  116. package/lib/utils/index.js +0 -776
@@ -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,469 +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
- position : relative;
170
- }
171
-
172
- .dtl-btns {
173
- flex : 1;
174
- text-align: right;
175
- }
176
- }
177
-
178
- .dtl-body {
179
- height : 0;
180
- flex : 1;
181
- overflow: auto;
182
- }
183
-
184
- .dtl-flex {
185
- display : flex;
186
- flex-direction: column;
187
- }
188
- }
189
-
190
- .flex {
191
- flex: 1;
192
- }
193
-
194
- .flex-column {
195
- display : flex;
196
- flex-direction: column;
197
-
198
- .flex {
199
- height: 0;
200
- }
201
- }
202
-
203
- .flex-row {
204
- display : flex;
205
- flex-direction: row;
206
-
207
- .flex {
208
- width: 0;
209
- }
210
- }
211
-
212
- .page404 {
213
- width : 100%;
214
- height : 100%;
215
- text-align : center;
216
- padding-top : 10%;
217
- font-size : 15px;
218
- font-weight : 600;
219
- color : gray;
220
- background-color: #fff;
221
-
222
- img {
223
- vertical-align: bottom;
224
- padding-right : 5px;
225
- }
226
- }
227
-
228
- .loading {
229
- height : 100%;
230
- width : 100%;
231
- position : absolute;
232
- display : flex;
233
- align-items : center;
234
- justify-content: center;
235
- background : #fff;
236
- }
237
-
238
- #myloading {
239
- position : fixed;
240
- top : 0;
241
- left : 0;
242
- bottom : 0;
243
- right : 0;
244
- z-index : 9999;
245
- display : flex;
246
- align-items : center;
247
- background-color: rgba(226, 227, 231, 0.35);
248
- justify-content : center;
249
-
250
- .load-text {
251
- padding : 4px 20px;
252
- background-color: #fff;
253
- border-radius : 4px;
254
- }
255
- }
256
-
257
-
258
- a {
259
- color: var(--ant-primary-color);
260
- }
261
-
262
- a:hover {
263
- color: var(--ant-primary-5);
264
- }
265
-
266
- .image-selector,
267
- .icon-selector {
268
- .img-upload {
269
- width : 40px;
270
- height: 40px;
271
- }
272
-
273
- .ant-upload-select {
274
-
275
- .img-wrapper {
276
- position: relative;
277
-
278
- .clear-btn {
279
- position : absolute;
280
- left : 0;
281
- top : 0;
282
- width : 100%;
283
- height : 100%;
284
- background : rgba(199, 202, 212, 0.9);
285
- display : flex;
286
- align-items : flex-start;
287
- padding : 4px;
288
- color : #1f4265;
289
- justify-content: end;
290
- display : none;
291
- }
292
-
293
- &:hover {
294
- .clear-btn {
295
- display: flex;
296
- }
297
- }
298
-
299
- .img-preview {
300
- max-width : 150px;
301
- max-height: 150px;
302
- }
303
- }
304
- }
305
-
306
-
307
-
308
- .img-choose {
309
- margin: 8px 0;
310
- }
311
-
312
- .img-desc {
313
- color: rgba(69, 77, 100, 0.7)
314
- }
315
-
316
- .ant-modal-body {
317
- padding : 8px;
318
- max-height: calc(100vh - 180px);
319
- overflow-y: auto;
320
- }
321
- }
322
-
323
-
324
- .description-card {
325
-
326
- .ant-pro-card-header {
327
- height: 50px;
328
- }
329
-
330
- .ant-pro-card-body {
331
- padding: 12px 24px 2px;
332
- }
333
-
334
- .ant-pro-card-header-border {
335
- border-bottom: 1px solid #dbeafa;
336
- }
337
- }
338
-
339
- .has-background {
340
- background: #f6fafe;
341
-
342
- .ant-descriptions-row>td,
343
- .ant-descriptions-row>th {
344
- padding-bottom: 10px
345
- }
346
- }
347
-
348
-
349
- .ls-group-tip {
350
- display : flex;
351
- position : relative;
352
- width : 100%;
353
- align-items : center;
354
- background : #fff;
355
- padding-bottom: 12px;
356
-
357
- .ls-group-divider {
358
- height : 14px;
359
- border-right: 2px solid var(--ant-primary-color);
360
- }
361
-
362
- .ls-group-text {
363
- font-size : 14px;
364
- color : #181818;
365
- padding-left: 8px;
366
- }
367
- }
368
-
369
-
370
-
371
- //-------------------省市区组件样式-----------
372
- //最外层盒子
373
- .ls-area-cascaded-box {
374
- width : 600px;
375
- display : flex;
376
- flex-direction: column;
377
- transition : all 0.3s;
378
-
379
- .ls-area-cascaded-header {
380
- width : 100%;
381
- padding : 2px 0 6px;
382
- border-bottom : 1px solid #f0f0f0;
383
- display : flex;
384
- flex-direction : row;
385
- justify-content: space-around;
386
- justify-content: center;
387
-
388
- .ls-word-box-display {
389
- margin : 0 10px;
390
- font-size : 14px;
391
- font-weight: 100;
392
-
393
- button {
394
- border : none;
395
- background-color: var(--ant-primary-2, #f0f9ff);
396
-
397
- &[disabled] {
398
- background-color: #fafafa !important;
399
-
400
- .ls-myself-select-title-style {
401
- color : var(--ant-primary-4, #a3d7ff);
402
- transition: all 0.3s;
403
- }
404
- }
405
- }
406
-
407
- .ls-myself-select-title-style {
408
- color : var(--ant-primary-color, rgb(69, 154, 220));
409
- font-size : 14px;
410
- font-weight: 600;
411
- transition : all 0.3s;
412
- }
413
- }
414
-
415
- .ls-icon-box-display {
416
- display : flex;
417
- align-items: center;
418
- }
419
- }
420
-
421
- .ls-area-cascaded-body {
422
- width : 100%;
423
- min-height : 100px;
424
- max-height : 350px;
425
- overflow : auto;
426
- padding : 8px 12px 4px;
427
- display : grid;
428
- grid-template-columns: repeat(4, 1fr);
429
- gap : 4px;
430
- justify-content : start;
431
- align-content : flex-start;
432
- align-items : center;
433
-
434
- .ls-area-cascaded-span {
435
- text-align: center;
436
- padding : 6px 10px;
437
-
438
- //文字不换行,超出省略
439
- overflow : hidden;
440
- text-overflow: ellipsis;
441
- white-space : nowrap;
442
- cursor : pointer;
443
-
444
- &.ls-area-selected,
445
- &:hover {
446
- color : var(--ant-primary-color, rgb(69, 154, 220));
447
- transition: all 0.3s;
448
- }
449
- }
450
- }
451
- }
452
-
453
- //手动指定盒子位置
454
- .ls-area-box-position {
455
- .ls-ant-select-dropdown {
456
- top: 36px !important;
457
- }
458
- }
459
-
460
- .ls-input-table {
461
- .ant-pro-table-list-toolbar {
462
- padding-top: 0px;
463
- }
464
- }
465
-
466
-
467
- @import url('./antd-custom.less');
468
-
469
- //-------------------省市区组件样式-----------