bhd-components 0.9.4 → 0.9.6
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/README.md +2 -1
- package/dist/index.esm.es5.development.css +1432 -1408
- package/dist/index.esm.es5.development.js +295 -90
- package/dist/index.esm.es5.production.css +1 -1
- package/dist/index.esm.es5.production.js +1 -1
- package/dist/vendor.esm.es5.development.js +2 -2
- package/dist/vendor.esm.es5.production.js +2 -2
- package/es2017/bhdDatePicker/index.d.ts +3 -1
- package/es2017/bhdDatePicker/index.js +291 -86
- package/es2017/bhdDatePicker/index.module.less +37 -13
- package/es2017/customerService/common.module.less +1 -1
- package/es2017/customerService/index.module.less +24 -3
- package/es2017/customerService/index2.module.less +22 -3
- package/esm/bhdDatePicker/index.d.ts +3 -1
- package/esm/bhdDatePicker/index.js +293 -89
- package/esm/bhdDatePicker/index.module.less +37 -13
- package/esm/customerService/common.module.less +1 -1
- package/esm/customerService/index.module.less +24 -3
- package/esm/customerService/index2.module.less +22 -3
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
box-shadow: none;
|
|
19
19
|
background: transparent;
|
|
20
20
|
padding: 0;
|
|
21
|
-
margin-left: -78px;
|
|
21
|
+
// margin-left: -78px;
|
|
22
22
|
cursor: pointer;
|
|
23
23
|
.bhd-picker-input {
|
|
24
24
|
&:nth-child(1) {
|
|
@@ -281,8 +281,8 @@
|
|
|
281
281
|
line-height: 30px;
|
|
282
282
|
width: 100%;
|
|
283
283
|
display: flex;
|
|
284
|
-
flex-direction: column;
|
|
285
|
-
gap:
|
|
284
|
+
flex-direction: column-reverse;
|
|
285
|
+
gap: 8px;
|
|
286
286
|
|
|
287
287
|
&:not(:last-child) {
|
|
288
288
|
border-bottom: none;
|
|
@@ -312,24 +312,30 @@
|
|
|
312
312
|
color: @color-background-primary-base;
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
+
// & +.bhddatepicker-picker-footer-extra-extend{
|
|
316
|
+
|
|
317
|
+
// }
|
|
315
318
|
}
|
|
316
319
|
|
|
317
|
-
|
|
318
|
-
& .bhddatepicker-picker-footer-extra-extend {
|
|
319
|
-
position: relative;
|
|
320
|
+
.bhd-picker-ranges + .bhddatepicker-picker-footer-extra-extend{
|
|
320
321
|
padding-bottom: 8px;
|
|
321
322
|
&::after {
|
|
322
323
|
content: "";
|
|
323
324
|
width: calc(100% + 100px);
|
|
324
325
|
height: 0px;
|
|
325
326
|
border-bottom: 1px solid @color-background-fillsecondary-Tr;
|
|
326
|
-
// background-color: @color-background-fillsecondary-Tr;
|
|
327
327
|
position: absolute;
|
|
328
328
|
left: -50px;
|
|
329
329
|
bottom: 0;
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
+
// 自己扩展
|
|
334
|
+
& .bhddatepicker-picker-footer-extra-extend {
|
|
335
|
+
position: relative;
|
|
336
|
+
|
|
337
|
+
}
|
|
338
|
+
|
|
333
339
|
// 今天按钮
|
|
334
340
|
.bhd-picker-today-btn {
|
|
335
341
|
font-size: 14px;
|
|
@@ -383,16 +389,17 @@
|
|
|
383
389
|
}
|
|
384
390
|
|
|
385
391
|
// 隐藏默认的当前
|
|
386
|
-
& > a {
|
|
387
|
-
|
|
388
|
-
}
|
|
392
|
+
// & > a {
|
|
393
|
+
// // display: none;
|
|
394
|
+
// }
|
|
389
395
|
// & > .bhd-picker-ranges {
|
|
390
396
|
// display: none;
|
|
391
397
|
// }
|
|
392
|
-
|
|
398
|
+
|
|
393
399
|
& > a.bhd-picker-today-btn {
|
|
394
400
|
position: absolute;
|
|
395
401
|
right: 91px;
|
|
402
|
+
bottom: 20px;
|
|
396
403
|
}
|
|
397
404
|
}
|
|
398
405
|
|
|
@@ -412,6 +419,7 @@
|
|
|
412
419
|
}
|
|
413
420
|
}
|
|
414
421
|
|
|
422
|
+
// 显示时间选择面板时
|
|
415
423
|
&.showTime {
|
|
416
424
|
:global {
|
|
417
425
|
.bhd-picker-footer {
|
|
@@ -448,6 +456,16 @@
|
|
|
448
456
|
}
|
|
449
457
|
}
|
|
450
458
|
}
|
|
459
|
+
//不显示确认按钮时,今天按钮的位置
|
|
460
|
+
&.noNeedConfirm {
|
|
461
|
+
:global {
|
|
462
|
+
.bhd-picker-footer {
|
|
463
|
+
& > a.bhd-picker-today-btn {
|
|
464
|
+
right: 17px;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
451
469
|
}
|
|
452
470
|
|
|
453
471
|
// 单选
|
|
@@ -774,7 +792,7 @@
|
|
|
774
792
|
:global {
|
|
775
793
|
// 隐藏头部点击按钮
|
|
776
794
|
.bhd-picker-header-view > button {
|
|
777
|
-
pointer-events: none;
|
|
795
|
+
// pointer-events: none;
|
|
778
796
|
}
|
|
779
797
|
// 隐藏底部
|
|
780
798
|
.bhd-picker-footer {
|
|
@@ -810,8 +828,14 @@
|
|
|
810
828
|
border: none !important;
|
|
811
829
|
}
|
|
812
830
|
}
|
|
831
|
+
|
|
832
|
+
.bhd-picker-date-panel{
|
|
833
|
+
.bhd-picker-cell-in-view {
|
|
834
|
+
pointer-events: none;
|
|
835
|
+
}
|
|
836
|
+
}
|
|
813
837
|
.bhd-picker-cell-in-view {
|
|
814
|
-
pointer-events: none;
|
|
838
|
+
// pointer-events: none;
|
|
815
839
|
color: @color-text-Secondary-Tr;
|
|
816
840
|
}
|
|
817
841
|
}
|
|
@@ -351,6 +351,7 @@
|
|
|
351
351
|
.content_child {
|
|
352
352
|
padding: 0;
|
|
353
353
|
line-height: 1;
|
|
354
|
+
|
|
354
355
|
p{
|
|
355
356
|
word-break: break-all;
|
|
356
357
|
white-space: break-spaces;
|
|
@@ -381,9 +382,26 @@
|
|
|
381
382
|
}
|
|
382
383
|
li > ul li {
|
|
383
384
|
list-style: inside;
|
|
384
|
-
color: rgba(0, 0, 0, 0.
|
|
385
|
+
color: rgba(0, 0, 0, 0.85);
|
|
386
|
+
&::marker{
|
|
387
|
+
color: #D9D9D9 !important;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
li > ol li {
|
|
391
|
+
&::marker{
|
|
392
|
+
color: @color-text-tertiary-Tr !important;
|
|
393
|
+
}
|
|
385
394
|
}
|
|
386
395
|
}
|
|
396
|
+
// li{
|
|
397
|
+
// margin-top:16px;
|
|
398
|
+
// }
|
|
399
|
+
// > * + ul, > * + ol {
|
|
400
|
+
// margin-top:16px;
|
|
401
|
+
// }
|
|
402
|
+
// > ul + *, > ol + * {
|
|
403
|
+
// margin-top:16px;
|
|
404
|
+
// }
|
|
387
405
|
}
|
|
388
406
|
pre {
|
|
389
407
|
background: @color-background-fillquaternary;
|
|
@@ -787,11 +805,13 @@
|
|
|
787
805
|
}
|
|
788
806
|
:global{
|
|
789
807
|
::marker {
|
|
790
|
-
font-weight: 600 !important;
|
|
808
|
+
// font-weight: 600 !important;
|
|
809
|
+
color: rgba(0, 0, 0, 0.85);
|
|
791
810
|
}
|
|
792
811
|
}
|
|
793
812
|
::marker {
|
|
794
|
-
font-weight: 600 !important;
|
|
813
|
+
// font-weight: 600 !important;
|
|
814
|
+
color: rgba(0, 0, 0, 0.85);
|
|
795
815
|
}
|
|
796
816
|
p{
|
|
797
817
|
font-weight: 400 !important;
|
|
@@ -804,6 +824,7 @@
|
|
|
804
824
|
}
|
|
805
825
|
|
|
806
826
|
}
|
|
827
|
+
|
|
807
828
|
}
|
|
808
829
|
|
|
809
830
|
.time {
|
|
@@ -378,9 +378,26 @@
|
|
|
378
378
|
}
|
|
379
379
|
li > ul li {
|
|
380
380
|
list-style: inside;
|
|
381
|
-
color: rgba(0, 0, 0, 0.
|
|
381
|
+
color: rgba(0, 0, 0, 0.85);
|
|
382
|
+
&::marker{
|
|
383
|
+
color: #D9D9D9 !important;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
li > ol li {
|
|
387
|
+
&::marker{
|
|
388
|
+
color: @color-text-tertiary-Tr !important;
|
|
389
|
+
}
|
|
382
390
|
}
|
|
383
391
|
}
|
|
392
|
+
// li{
|
|
393
|
+
// margin-top:16px;
|
|
394
|
+
// }
|
|
395
|
+
// > * + ul, > * + ol {
|
|
396
|
+
// margin-top:16px;
|
|
397
|
+
// }
|
|
398
|
+
// > ul + *, > ol + * {
|
|
399
|
+
// margin-top:16px;
|
|
400
|
+
// }
|
|
384
401
|
}
|
|
385
402
|
pre {
|
|
386
403
|
background: @color-background-fillquaternary;
|
|
@@ -785,11 +802,13 @@
|
|
|
785
802
|
}
|
|
786
803
|
:global{
|
|
787
804
|
::marker {
|
|
788
|
-
font-weight: 600 !important;
|
|
805
|
+
// font-weight: 600 !important;
|
|
806
|
+
color: rgba(0, 0, 0, 0.85);
|
|
789
807
|
}
|
|
790
808
|
}
|
|
791
809
|
::marker {
|
|
792
|
-
font-weight: 600 !important;
|
|
810
|
+
// font-weight: 600 !important;
|
|
811
|
+
color: rgba(0, 0, 0, 0.85);
|
|
793
812
|
}
|
|
794
813
|
p{
|
|
795
814
|
font-weight: 400 !important;
|