bhd-components 0.6.1 → 0.6.3

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 (39) hide show
  1. package/dist/{ab2a98d6.esm.es5.development.js → a0cd97b9.esm.es5.development.js} +1 -1
  2. package/dist/{b8edd934.esm.es5.production.js → e88a10a0.esm.es5.production.js} +1 -1
  3. package/dist/index.esm.es5.development.css +1711 -827
  4. package/dist/index.esm.es5.development.js +515 -384
  5. package/dist/index.esm.es5.production.css +1 -1
  6. package/dist/index.esm.es5.production.js +1 -1
  7. package/es2017/bhdSelect/index.d.ts +3 -0
  8. package/es2017/bhdSelect/index.js +18 -13
  9. package/es2017/bhdSelect/index.module.less +4 -1
  10. package/es2017/customerService/{contactsList/index.js → contactsList.js} +92 -77
  11. package/es2017/customerService/function.d.ts +1 -1
  12. package/es2017/customerService/function.js +10 -2
  13. package/es2017/customerService/{historyFun/index.d.ts → historyFun.d.ts} +0 -1
  14. package/es2017/customerService/{historyFun/index.js → historyFun.js} +62 -16
  15. package/es2017/customerService/index.d.ts +3 -3
  16. package/es2017/customerService/index.js +144 -81
  17. package/es2017/customerService/index.module.less +496 -5
  18. package/es2017/customerService/index2.module.less +1282 -0
  19. package/es2017/typings.d.ts +12 -0
  20. package/esm/bhdSelect/index.d.ts +3 -0
  21. package/esm/bhdSelect/index.js +18 -13
  22. package/esm/bhdSelect/index.module.less +4 -1
  23. package/esm/customerService/{contactsList/index.js → contactsList.js} +83 -66
  24. package/esm/customerService/function.d.ts +1 -1
  25. package/esm/customerService/function.js +10 -1
  26. package/esm/customerService/{historyFun/index.d.ts → historyFun.d.ts} +0 -1
  27. package/esm/customerService/{historyFun/index.js → historyFun.js} +64 -17
  28. package/esm/customerService/index.d.ts +3 -3
  29. package/esm/customerService/index.js +176 -111
  30. package/esm/customerService/index.module.less +496 -5
  31. package/esm/customerService/index2.module.less +1282 -0
  32. package/esm/typings.d.ts +12 -0
  33. package/package.json +1 -1
  34. package/es2017/customerService/contactsList/index.module.less +0 -206
  35. package/es2017/customerService/historyFun/index.module.less +0 -223
  36. package/esm/customerService/contactsList/index.module.less +0 -206
  37. package/esm/customerService/historyFun/index.module.less +0 -223
  38. /package/es2017/customerService/{contactsList/index.d.ts → contactsList.d.ts} +0 -0
  39. /package/esm/customerService/{contactsList/index.d.ts → contactsList.d.ts} +0 -0
@@ -0,0 +1,1282 @@
1
+ @import "../theme/variable.less";
2
+
3
+ @color-data-visualization-01: @color-background-info-base;
4
+ @color-text-primary: @color-background-info-base;
5
+ @color-background-primary-weak-hover: @color-background-info-weak;
6
+
7
+ .service_ChatWindow_Drawer,
8
+ .ChatWindow_Modal {
9
+ width: 100% !important;
10
+ :global {
11
+ .bhd-drawer-mask {
12
+ background-color: @color-border-Tr !important;
13
+ }
14
+ }
15
+ }
16
+ .ChatWindow_Drawer,
17
+ .ChatWindow_Modal {
18
+ /* 全局修改滚动条样式 */
19
+ textarea::-webkit-scrollbar {
20
+ background-color: #eaedf1;
21
+ background-color: transparent;
22
+ width: 4px;
23
+ height: 4px;
24
+ }
25
+ textarea::-webkit-scrollbar-thumb {
26
+ border-radius: 4px;
27
+ background-color: rgba(0, 0, 0, 0.25);
28
+ }
29
+
30
+ pre::-webkit-scrollbar {
31
+ background-color: #eaedf1;
32
+ background-color: transparent;
33
+ width: 4px;
34
+ height: 4px;
35
+ }
36
+ pre::-webkit-scrollbar-thumb {
37
+ border-radius: 4px;
38
+ background-color: rgba(0, 0, 0, 0.25);
39
+ }
40
+
41
+ // background: #F5F5F5 !important;
42
+ box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1) !important;
43
+ :global {
44
+ .bhd-drawer-body {
45
+ padding: 0 !important;
46
+ }
47
+ }
48
+ .header_wrap {
49
+ .top {
50
+ display: flex;
51
+ padding: 16px 24px;
52
+ justify-content: space-between;
53
+ align-items: center;
54
+ background-color: #fff;
55
+ line-height: 1;
56
+ .user {
57
+ color: #000;
58
+ font-size: 16px;
59
+ font-weight: 600;
60
+ position: relative;
61
+ padding-left: 36px;
62
+
63
+ i {
64
+ padding-right: 16px;
65
+ color: #111;
66
+ position: absolute;
67
+ font-size: 20px;
68
+ top: -2px;
69
+ left: 0;
70
+ cursor: pointer;
71
+ }
72
+ .count{
73
+ position: absolute;
74
+ top: -6px;
75
+ right: 5px;
76
+ background-color: #f4523b;
77
+ color: #fff;
78
+ padding: 0 5px;
79
+ border-radius: 25px;
80
+ font-size: 12px;
81
+ line-height: 1.2;
82
+ }
83
+ }
84
+ .operate {
85
+ display: flex;
86
+ height: 16px;
87
+ i {
88
+ font-size: 16px;
89
+ margin-left: 23px;
90
+ cursor: pointer;
91
+ }
92
+ // :global{
93
+ // .iconicon_guanbi_Close{
94
+ // // font-size: 23px;
95
+ // position: relative;
96
+ // top: 1px;
97
+ // }
98
+ // }
99
+ .line {
100
+ display: inline-block;
101
+ width: 1px;
102
+ height: 16px;
103
+ background-color: @color-border-Tr;
104
+ margin: 0 4px;
105
+ margin-left: 23px;
106
+ }
107
+ }
108
+ }
109
+ }
110
+ //newlabo中使用
111
+ .header_wrap_newlabo {
112
+ .top {
113
+ background-color: #f5f5f5;
114
+ border-bottom: 1px solid @color-border-Tr;
115
+ .user {
116
+ padding-left: 0;
117
+ font-weight: 400;
118
+ }
119
+ }
120
+ }
121
+ .Drawer_main {
122
+ max-height: calc(100vh - 110px);
123
+ overflow: auto;
124
+ background: #f5f5f5;
125
+ min-height: 500px;
126
+ .loading {
127
+ text-align: center;
128
+ margin: 10px 0;
129
+ img {
130
+ width: 30px;
131
+ height: 30px;
132
+ }
133
+ }
134
+ .message_con {
135
+ padding: 16px;
136
+ padding-top: 0;
137
+ .left {
138
+ .head_sculpture {
139
+ width: 32px;
140
+ height: 32px;
141
+ margin-top: 24px;
142
+ border-radius: 50%;
143
+ display: inline-block;
144
+ vertical-align: top;
145
+ overflow: hidden;
146
+ img {
147
+ width: 100%;
148
+ height: 100%;
149
+ }
150
+ }
151
+ .main_content{
152
+ display: flex;
153
+ flex-direction: column;
154
+ align-items: flex-end;
155
+ }
156
+ }
157
+ .right {
158
+ .head_sculpture {
159
+ width: 32px;
160
+ height: 32px;
161
+ margin-top: 24px;
162
+ line-height: 32px;
163
+ border-radius: 50%;
164
+ display: inline-block;
165
+ vertical-align: top;
166
+ overflow: hidden;
167
+ // background-color: @color-background-primary-base;
168
+ text-align: center;
169
+ i {
170
+ color: #fff;
171
+ }
172
+ img {
173
+ width: 100%;
174
+ height: 100%;
175
+ }
176
+ }
177
+ }
178
+ & > li {
179
+ position: relative;
180
+ // margin-bottom: 24px;
181
+ display: flex;
182
+ width: 100%;
183
+ .main {
184
+ max-width: 80%;
185
+ .main_content {
186
+ position: relative;
187
+ &:hover {
188
+ .operate_modal {
189
+ // display: block;
190
+ visibility: visible;
191
+ }
192
+ }
193
+ .content {
194
+ max-width: 100%;
195
+ // width: 100%;
196
+ //以下优化ai返回的内容的样式
197
+ .content_child {
198
+ padding: 0;
199
+ line-height: 1;
200
+ p,
201
+ li {
202
+ line-height: 1.5;
203
+ color: rgba(0, 0, 0, 0.85);
204
+ }
205
+
206
+ & > h3 {
207
+ font-size: 16px;
208
+ font-weight: 600;
209
+ padding: 10px 0;
210
+ }
211
+ ol {
212
+ li p {
213
+ padding: 4px 0;
214
+ font-size: 14px;
215
+ font-weight: 600;
216
+ }
217
+ li > ul li {
218
+ list-style: inside;
219
+ color: rgba(0, 0, 0, 0.65);
220
+ }
221
+ }
222
+ }
223
+ pre {
224
+ background: rgba(0, 0, 0, 0.05);
225
+ padding: 12px;
226
+ line-height: 1.5;
227
+ margin: 4px 0;
228
+ }
229
+ }
230
+ }
231
+ .operate_modal {
232
+ // display: none;
233
+ visibility: hidden;
234
+ // min-width: 200px;
235
+ height: 24px;
236
+ white-space: nowrap;
237
+ position: relative;
238
+ right: 0;
239
+ top: -14px;
240
+ z-index: 99999;
241
+ text-align: right;
242
+ // padding-bottom: 10px;
243
+ .operate {
244
+ display: inline-flex;
245
+ align-items: center;
246
+ padding: 8px 0;
247
+ border-radius: 4px;
248
+ background: #fff;
249
+ box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
250
+ line-height: 1;
251
+ color: @color-text-tertiary-Tr;
252
+ i {
253
+ color: @color-text-tertiary-Tr;
254
+ font-size: 16px;
255
+ cursor: pointer;
256
+ svg {
257
+ color: @color-icon-fill-Tr;
258
+ }
259
+ &:hover {
260
+ svg {
261
+ color: @color-data-visualization-01;
262
+ }
263
+ }
264
+ }
265
+ .active {
266
+ // color: @color-background-primary-base;
267
+ svg {
268
+ color: @color-text-primary;
269
+ }
270
+ }
271
+ span {
272
+ margin: 0 8px;
273
+ }
274
+ .ask_question {
275
+ cursor: pointer;
276
+ color: @color-text-tertiary-Tr;
277
+ font-size: 12px;
278
+ line-height: 1;
279
+ padding: 2px 8px;
280
+ background-color: @color-background-filltertiary-Tr;
281
+ margin-right: 16px;
282
+ &:hover{
283
+ color: @color-text-primary;
284
+ }
285
+ }
286
+ }
287
+ }
288
+ .operate_modal_bottom {
289
+ display: flex;
290
+ justify-content: space-between;
291
+ align-items: center;
292
+ .operate {
293
+ display: inline-block;
294
+ padding: 8px;
295
+ line-height: 1;
296
+ color: @color-text-tertiary-Tr;
297
+ i {
298
+ color: @color-text-tertiary-Tr;
299
+ font-size: 16px;
300
+ cursor: pointer;
301
+ svg {
302
+ color: @color-icon-fill-Tr;
303
+ }
304
+ &:hover {
305
+ svg {
306
+ color: @color-data-visualization-01;
307
+ }
308
+ }
309
+ }
310
+ .active {
311
+ // color: @color-background-primary-base;
312
+ svg {
313
+ color: @color-text-primary;
314
+ }
315
+ }
316
+ span {
317
+ margin: 0 8px;
318
+ cursor: pointer;
319
+ }
320
+ }
321
+ .stop_generate {
322
+ // position: absolute;
323
+ font-size: 12px;
324
+ color: @color-text-tertiary-Tr;
325
+ display: inline-block;
326
+ padding: 8px 0;
327
+ cursor: pointer;
328
+ .icon {
329
+ display: inline-block;
330
+ width: 10px;
331
+ height: 10px;
332
+ border-radius: 2px;
333
+ background-color: @color-text-tertiary-Tr;
334
+ margin-right: 4px;
335
+ }
336
+ .find_teacher {
337
+ padding: 2px 8px;
338
+ border-radius: 2px;
339
+ background-color: @color-background-filltertiary-Tr;
340
+ color: @color-text-tertiary-Tr;
341
+ font-size: 12px;
342
+ line-height: 1;
343
+ &:hover{
344
+ color: @color-text-primary;
345
+ }
346
+ }
347
+ }
348
+ .stop_generate:hover{
349
+ color: @color-text-primary;
350
+ span{
351
+ color: @color-text-primary;
352
+ }
353
+ }
354
+ .stop_findTeacher {
355
+ font-size: 12px;
356
+ color: @color-text-tertiary-Tr;
357
+ display: inline-block;
358
+ padding: 8px 0;
359
+ cursor: pointer;
360
+ span {
361
+ padding: 0px 8px;
362
+ background-color: @color-background-filltertiary-Tr;
363
+ color: @color-text-tertiary-Tr;
364
+ &:hover{
365
+ color: @color-text-primary;
366
+ }
367
+ }
368
+ }
369
+
370
+ }
371
+ }
372
+ .content {
373
+ padding: 12px 16px;
374
+ // max-width: 80%;
375
+ display: inline-block;
376
+ font-size: 14px;
377
+ }
378
+ }
379
+ .left {
380
+ justify-content: flex-end;
381
+ .main {
382
+ text-align: right;
383
+ }
384
+ }
385
+ li.left .content {
386
+ border-radius: 20px 2px 20px 20px;
387
+ background: #d1e4ff;
388
+ text-align: left;
389
+ // position: absolute;
390
+ // left: 0;
391
+ // float: right;
392
+ }
393
+ li.right .content {
394
+ border-radius: 2px 20px 20px 20px;
395
+ background: #fff;
396
+ // position: absolute;
397
+ // right: 0;
398
+ }
399
+
400
+ li .content {
401
+ .association_problem li {
402
+ color: #5991ef;
403
+ font-size: 14px;
404
+ font-weight: 400;
405
+ line-height: 1.8;
406
+ cursor: pointer;
407
+ }
408
+ }
409
+ .time {
410
+ display: block;
411
+ margin: 40px 0;
412
+ margin-bottom: 16px;
413
+ text-align: center;
414
+ font-size: 12px;
415
+ color: rgba(0, 0, 0, 0.25);
416
+ position: relative;
417
+ &::before {
418
+ content: "";
419
+ width: 100px;
420
+ display: inline-block;
421
+ height: 1px;
422
+ background-color: #ebebeb;
423
+ position: relative;
424
+ top: -3px;
425
+ right: 16px;
426
+ }
427
+ &::after {
428
+ content: "";
429
+ width: 100px;
430
+ display: inline-block;
431
+ height: 1px;
432
+ background-color: #ebebeb;
433
+ position: relative;
434
+ top: -3px;
435
+ left: 16px;
436
+ }
437
+ }
438
+ .citation_content {
439
+ display: table;
440
+ margin-top: 4px;
441
+ padding: 8px;
442
+ border-radius: 2px;
443
+ background: #e7e7e7;
444
+ p {
445
+ color: @color-text-Secondary-Tr;
446
+ font-size: 12px;
447
+ line-height: 1.5;
448
+
449
+ overflow: hidden;
450
+ text-overflow: ellipsis;
451
+ -webkit-box-orient: vertical;
452
+ -webkit-line-clamp: 2;
453
+ display: -webkit-box;
454
+
455
+ max-height: 36px;
456
+ word-break: break-all;
457
+ cursor: pointer;
458
+
459
+ text-align: left;
460
+ }
461
+ .text_exceed{
462
+ padding-right: 16px;
463
+ position: relative;
464
+ &>span{
465
+ position: absolute;
466
+ top: 20px;
467
+ right: 0;
468
+ }
469
+ }
470
+ }
471
+
472
+ .popover_content {
473
+ max-width: 400px;
474
+ }
475
+ }
476
+ }
477
+ .Drawer_main::-webkit-scrollbar {
478
+ background-color: #eff0f7;
479
+ background-color: transparent;
480
+ width: 6px;
481
+ height: 4px;
482
+ }
483
+ .Drawer_main::-webkit-scrollbar-thumb {
484
+ border-radius: 4px;
485
+ background-color: rgba(181, 184, 198, 0.8);
486
+ }
487
+ //newlabo中使用
488
+ .Drawer_main_newlabo {
489
+ pre {
490
+ background: #2b303b !important;
491
+ color: #fff;
492
+ overflow: auto;
493
+ pre::-webkit-scrollbar {
494
+ background-color: #eaedf1;
495
+ background-color: transparent;
496
+ width: 4px;
497
+ height: 4px;
498
+ }
499
+ pre::-webkit-scrollbar-thumb {
500
+ border-radius: 4px;
501
+ background-color: #f4f4f4;
502
+ }
503
+ }
504
+ }
505
+ //隐藏聊天头像
506
+ .Drawer_main_newlabo_no_pic {
507
+ .head_sculpture {
508
+ display: none !important;
509
+ }
510
+ }
511
+ .Drawer_buttom_Issues_List {
512
+ position: absolute;
513
+ bottom: 0;
514
+ width: 100%;
515
+ .issues_list_teacherList {
516
+ white-space: nowrap;
517
+ overflow: auto;
518
+ width: calc(100% - 40px);
519
+ box-sizing: border-box;
520
+ margin-bottom: 6px;
521
+
522
+ .item {
523
+ display: inline-block;
524
+ margin-right: 8px;
525
+ &:last-child {
526
+ margin-right: 0;
527
+ }
528
+ }
529
+ }
530
+ .issues_list_teacherList::-webkit-scrollbar {
531
+ background-color: #eaedf1;
532
+ background-color: transparent;
533
+ width: 4px;
534
+ height: 4px;
535
+ }
536
+ .issues_list_teacherList::-webkit-scrollbar-thumb {
537
+ border-radius: 4px;
538
+ background-color: rgba(181, 184, 198, 0.6);
539
+ }
540
+ .issues_list {
541
+ position: absolute;
542
+ bottom: 60px;
543
+ margin: 0 16px;
544
+ padding-bottom: 4px;
545
+ line-height: 1;
546
+ .item > span {
547
+ cursor: pointer;
548
+ max-width: 100%;
549
+ display: inline-block;
550
+ margin-bottom: 2px;
551
+ padding: 8px 16px;
552
+ justify-content: center;
553
+ align-items: center;
554
+ border-radius: 4px;
555
+ background: #ececec;
556
+ font-size: 14px;
557
+ line-height: 1;
558
+ overflow: hidden;
559
+ // white-space: nowrap;
560
+ // text-overflow: ellipsis;
561
+
562
+ &:hover {
563
+ background-color: #fff;
564
+ }
565
+ .sign {
566
+ color: @color-text-primary;
567
+ }
568
+ }
569
+ }
570
+ .Drawer_buttom {
571
+ display: flex;
572
+ align-items: flex-end;
573
+ margin-bottom: 12px;
574
+ padding: 0 16px;
575
+ .input_wrap {
576
+ // display: flex;
577
+ align-items: flex-end;
578
+ width: calc(100% - 36px);
579
+ background-color: #fff;
580
+ padding: 11px 16px;
581
+ border: 1px solid @color-border-secondary;
582
+ border-radius: 8px;
583
+ justify-content: space-between;
584
+ line-height: 1;
585
+ position: relative;
586
+ padding-right: 1px;
587
+ & > .input {
588
+ // width: calc(100% - 24px);
589
+ line-height: 1;
590
+ textarea {
591
+ max-height: 100px;
592
+ padding: 0;
593
+ border: none;
594
+ box-shadow: none !important;
595
+ resize: none;
596
+ padding-right: 48px;
597
+ }
598
+
599
+ :global {
600
+ textarea.bhd-input {
601
+ min-height: 21px !important;
602
+ line-height: 1.5;
603
+ }
604
+ .bhd-input[disabled] {
605
+ background-color: #fff !important;
606
+ }
607
+ }
608
+ }
609
+ & > .no_AI {
610
+ width: 100%;
611
+ textarea {
612
+ padding-right: 12px;
613
+ }
614
+ }
615
+ .voice {
616
+ position: absolute;
617
+ right: 14px;
618
+ bottom: 12px;
619
+ color: rgba(0, 0, 0, 0.65);
620
+ i {
621
+ cursor: pointer;
622
+ svg {
623
+ color: @color-icon-fill-Tr;
624
+ font-size: 20px;
625
+ }
626
+ }
627
+ .voice_btn {
628
+ width: 32px;
629
+ cursor: pointer;
630
+ position: absolute;
631
+ bottom: -6px;
632
+ right: 0px;
633
+ }
634
+ }
635
+ .disabled{
636
+ cursor:not-allowed !important;
637
+ color: rgba(0, 0, 0, 0.25) !important;
638
+ svg{
639
+ color: rgba(0, 0, 0, 0.25) !important;
640
+ }
641
+ }
642
+ .content_main {
643
+ display: flex;
644
+ align-items: center;
645
+ width: calc(100% - 24px);
646
+ // margin-right: 8px;
647
+ .content_con {
648
+ margin-top: 6px;
649
+ align-items: center;
650
+ padding: 8px;
651
+ background: #e7e7e7;
652
+ display: inline-block;
653
+ width: calc(100% - 60px);
654
+ //
655
+ p {
656
+ color: rgba(0, 0, 0, 0.65);
657
+ border-radius: 2px;
658
+ font-size: 12px;
659
+ line-height: 1.5;
660
+
661
+ overflow: hidden;
662
+ text-overflow: ellipsis;
663
+ -webkit-box-orient: vertical;
664
+ -webkit-line-clamp: 2;
665
+ display: -webkit-box;
666
+
667
+ max-height: 36px;
668
+ word-break: break-all;
669
+ }
670
+ }
671
+ .delete_quote {
672
+ font-size: 18px;
673
+ color: @color-icon-tertiary;
674
+ margin-top: 6px;
675
+ }
676
+ }
677
+ }
678
+
679
+ .sending {
680
+ width: 20px;
681
+ margin-left: 16px;
682
+ margin-bottom: 9px;
683
+ i {
684
+ svg {
685
+ font-size: 20px;
686
+ color: @color-icon-fill-Tr;
687
+ }
688
+ }
689
+ .disabled {
690
+ svg {
691
+ color: rgba(0, 0, 0, 0.25);
692
+ cursor: not-allowed;
693
+ }
694
+ }
695
+ }
696
+ }
697
+ }
698
+ //newlabo中使用
699
+ .Drawer_buttom_Issues_List_newlabo {
700
+ // bottom: revert-layer !important;
701
+ background-color: #f5f5f5 !important;
702
+ }
703
+
704
+ :global {
705
+ .anticon {
706
+ vertical-align: 0;
707
+ }
708
+ }
709
+ }
710
+ .ChatWindow_Drawer {
711
+ background: #f5f5f5 !important;
712
+ position: relative;
713
+ height: 100%;
714
+ :global {
715
+ .bhd-drawer-header {
716
+ display: none !important;
717
+ }
718
+ }
719
+ }
720
+ .ChatWindow_Modal {
721
+ :global {
722
+ .bhd-modal {
723
+ border-radius: 8px;
724
+ overflow: hidden;
725
+ position: relative;
726
+ }
727
+ .bhd-modal-content {
728
+ height: 100%;
729
+ background-color: #f5f5f5 !important;
730
+ .bhd-modal-close {
731
+ display: none !important;
732
+ }
733
+ }
734
+ .bhd-modal-header {
735
+ display: none !important;
736
+ }
737
+ .bhd-modal-body {
738
+ height: 100%;
739
+ padding: 0 !important;
740
+ border-radius: 4px !important;
741
+ }
742
+
743
+ .bhd-drawer-right > .bhd-drawer-content-wrapper {
744
+ top: 129px;
745
+ right: 200px;
746
+ height: 790px;
747
+ }
748
+ }
749
+ .main_list {
750
+ max-height: 650px;
751
+ }
752
+ .user {
753
+ padding-left: 0 !important;
754
+ cursor: pointer;
755
+ }
756
+ .Drawer_buttom_Issues_List {
757
+ border-radius: 4px;
758
+ width: calc(100% - 328px);
759
+ margin-left: 328px;
760
+ }
761
+ .Drawer_main {
762
+ max-height: 700px;
763
+
764
+ .chat_content {
765
+ width: calc(100% - 328px);
766
+ margin-left: 328px;
767
+ display: inline-block;
768
+ }
769
+ }
770
+ }
771
+
772
+
773
+ //引用气泡
774
+ .popover_main_content {
775
+ min-width: 300px !important;
776
+ max-width: 340px !important;
777
+ background-color: #fff !important;
778
+ box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.06);
779
+ border-radius: 4px;
780
+ border: 1px solid rgba(0, 0, 0, 0.15);
781
+
782
+ :global {
783
+ .bhd-tooltip-content {
784
+ background-color: #fff;
785
+ border-radius: 4px;
786
+ .bhd-tooltip-inner {
787
+ background-color: #fff;
788
+ color: @color-text-Tr;
789
+ font-size: 14px;
790
+ padding: 12px 16px;
791
+ border-radius: 4px;
792
+ }
793
+ }
794
+ .bhd-tooltip-arrow:before {
795
+ background: #ccc !important;
796
+ }
797
+ .bhd-tooltip-arrow::after {
798
+ width: 0 !important;
799
+ height: 0 !important;
800
+ border: 5px solid;
801
+ border-color: transparent transparent #fff transparent;
802
+ transform: none !important;
803
+ background: transparent !important;
804
+ bottom: 0px !important;
805
+ left: 0px !important;
806
+ right: 0 !important;
807
+ box-shadow: none !important;
808
+ }
809
+ }
810
+ }
811
+ .popover_main_content_name{
812
+ width: auto;
813
+ background-color: #fff !important;
814
+ box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.06);
815
+ border-radius: 4px;
816
+ border: 1px solid rgba(0, 0, 0, 0.15);
817
+ :global {
818
+ .bhd-tooltip-content {
819
+ background-color: #fff;
820
+ border-radius: 4px;
821
+ .bhd-tooltip-inner {
822
+ background-color: #fff;
823
+ color: @color-text-Tr;
824
+ font-size: 14px;
825
+ padding: 12px 16px;
826
+ border-radius: 4px;
827
+ }
828
+ }
829
+ .bhd-tooltip-arrow:before {
830
+ background: #ccc !important;
831
+ }
832
+ .bhd-tooltip-arrow::after {
833
+ width: 0 !important;
834
+ height: 0 !important;
835
+ border: 5px solid;
836
+ border-color: transparent transparent #fff transparent;
837
+ transform: none !important;
838
+ background: transparent !important;
839
+ bottom: 0px !important;
840
+ left: 0px !important;
841
+ right: 0 !important;
842
+ box-shadow: none !important;
843
+ }
844
+ }
845
+ }
846
+
847
+ //联系人列表
848
+ .teacher_layout {
849
+ position: fixed;
850
+ right: 568px;
851
+
852
+ border-radius: 8px;
853
+ background: rgba(255, 255, 255, 0.5);
854
+ box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
855
+ backdrop-filter: blur(7.5px);
856
+ width: 80px;
857
+ .top > div,
858
+ .bottom > div {
859
+ display: flex;
860
+ flex-direction: column;
861
+ align-items: center;
862
+ padding: 8px;
863
+ border-radius: 8px;
864
+ margin: 8px 0;
865
+ max-width: 60px;
866
+ overflow: hidden;
867
+ position: relative;
868
+ cursor: pointer;
869
+ &:hover {
870
+ background-color: #f5f5f5;
871
+ .delete {
872
+ display: block;
873
+ }
874
+ }
875
+ p {
876
+ max-width: 60px;
877
+ overflow: hidden;
878
+ text-overflow: ellipsis;
879
+ white-space: nowrap;
880
+ color: @color-text-Secondary-Tr;
881
+ font-size: 12px;
882
+ line-height: 1;
883
+ padding-top: 12px;
884
+ }
885
+ img {
886
+ width: 32px;
887
+ height: 32px;
888
+ border-radius: 50%;
889
+ }
890
+ .num {
891
+ position: absolute;
892
+ top: 0;
893
+ right: 0;
894
+ border-radius: 26px;
895
+ background-color: #f4523b;
896
+ color: #fff;
897
+ padding: 0 5px;
898
+ border-radius: 25px;
899
+ font-size: 12px;
900
+ line-height: 1.2;
901
+ }
902
+ .delete {
903
+ position: absolute;
904
+ top: 2px;
905
+ right: 2px;
906
+ color: rgba(0, 0, 0, 0.65);
907
+ font-size: 12px;
908
+ display: none;
909
+ }
910
+ }
911
+ .top > div {
912
+ margin: 8px;
913
+ }
914
+ .top .shrink {
915
+ border-bottom: 1px solid @color-border-secondary;
916
+ border-radius: 0;
917
+ margin-bottom: 8px;
918
+ margin-top: 8px;
919
+ & > span {
920
+ font-size: 20px;
921
+ }
922
+ p {
923
+ padding-top: 0;
924
+ }
925
+ &:hover {
926
+ background-color: #fff !important;
927
+ }
928
+ }
929
+ .top .active,
930
+ .bottom .active {
931
+ background: @color-background-primary-weak-hover;
932
+ }
933
+ .bottom > div:last-child {
934
+ margin-bottom: 0;
935
+ }
936
+ .bottom > div:first-child {
937
+ margin-top: 0;
938
+ }
939
+ .bottom {
940
+ max-height: 524px;
941
+ padding: 0 8px;
942
+ padding-right: 4px;
943
+ overflow-y: auto;
944
+ margin-bottom: 8px;
945
+ margin-top: 8px;
946
+ }
947
+ .bottom::-webkit-scrollbar {
948
+ background-color: #eaedf1;
949
+ background-color: transparent;
950
+ width: 4px;
951
+ height: 4px;
952
+ }
953
+ .bottom::-webkit-scrollbar-thumb {
954
+ border-radius: 4px;
955
+ background-color: rgba(0, 0, 0, 0.25);
956
+ }
957
+ }
958
+ .teacher_layout_newlabo {
959
+ top: 50px;
960
+ right: 0;
961
+ .top{
962
+ svg{
963
+ transform: rotate(180deg);
964
+ }
965
+ }
966
+ .top .active,
967
+ .bottom .active {
968
+ background: @color-background-info-weak !important
969
+ }
970
+ }
971
+ .teacher_layout_modal {
972
+ width: 328px;
973
+ height: calc(100% - 48px);
974
+ background-color: #fff;
975
+ position: absolute;
976
+ border-top: 1px solid @color-border-secondary;
977
+ .top,
978
+ .bottom {
979
+ .ai {
980
+ border-bottom: 1px solid @color-border-secondary;
981
+ padding: 16px;
982
+ display: flex;
983
+ align-items: center;
984
+ cursor: pointer;
985
+ img {
986
+ width: 32px;
987
+ height: 32px;
988
+ border-radius: 50%;
989
+ margin-right: 12px;
990
+ }
991
+ & > span {
992
+ margin-right: 12px;
993
+ }
994
+ .user_info {
995
+ width: 252px;
996
+ .message {
997
+ color: #000;
998
+ font-size: 14px;
999
+ line-height: 1;
1000
+ padding-right: 10px;
1001
+ .num {
1002
+ margin-left: 12px;
1003
+ border-radius: 26px;
1004
+ background-color: #f4523b;
1005
+ color: #fff;
1006
+ padding: 0 5px;
1007
+ border-radius: 25px;
1008
+ font-size: 12px;
1009
+ line-height: 1;
1010
+ }
1011
+
1012
+ .time {
1013
+ font-size: 12px;
1014
+ color: @color-text-quaternary-Tr;
1015
+ float: right;
1016
+ }
1017
+ }
1018
+ .con {
1019
+ color: @color-text-quaternary-Tr;
1020
+ font-size: 12px;
1021
+ line-height: 1.5;
1022
+ margin-top: 8px;
1023
+ overflow: hidden;
1024
+ white-space: nowrap;
1025
+ text-overflow: ellipsis;
1026
+ }
1027
+ }
1028
+ }
1029
+ .active {
1030
+ background: @color-background-primary-weak-hover;
1031
+ }
1032
+ }
1033
+ .bottom{
1034
+ overflow: auto;
1035
+ height: calc(100% - 70px);
1036
+ }
1037
+ .bottom::-webkit-scrollbar {
1038
+ background-color: #eaedf1;
1039
+ background-color: transparent;
1040
+ width: 4px;
1041
+ height: 4px;
1042
+ }
1043
+ .bottom::-webkit-scrollbar-thumb {
1044
+ border-radius: 4px;
1045
+ background-color: rgba(0, 0, 0, 0.25);
1046
+ }
1047
+
1048
+ :global {
1049
+ .anticon {
1050
+ vertical-align: 0;
1051
+ }
1052
+ }
1053
+ }
1054
+ .teacher_layout_modal_newlabo{
1055
+ .top,
1056
+ .bottom {
1057
+ .active {
1058
+ background: @color-background-info-weak !important
1059
+ }
1060
+ }
1061
+ }
1062
+
1063
+ //历史记录11
1064
+ .history_list {
1065
+ position: absolute;
1066
+ top: 0;
1067
+ background: rgba(0, 0, 0, 0.3);
1068
+ width: 100%;
1069
+ height: 100%;
1070
+ overflow: hidden;
1071
+
1072
+ .search_layout {
1073
+ background: #fff;
1074
+ position: absolute;
1075
+ bottom: -500px;
1076
+ width: 100%;
1077
+ border-radius: 16px 16px 0px 0px;
1078
+ overflow: hidden;
1079
+ animation: mymove 1s forwards;
1080
+ box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.10);
1081
+
1082
+ .title {
1083
+ border-bottom: 1px solid @color-border-Tr;
1084
+ font-size: 16px;
1085
+ font-weight: 600;
1086
+ line-height: 150%;
1087
+ padding: 16px 24px;
1088
+ display: flex;
1089
+ justify-content: space-between;
1090
+ svg {
1091
+ font-size: 12px;
1092
+ cursor: pointer;
1093
+ opacity: 0.65;
1094
+ font-weight: 300;
1095
+ }
1096
+ }
1097
+ .search_top {
1098
+ position: relative;
1099
+ margin: 16px 24px;
1100
+ // margin-bottom: 0;
1101
+ // display: flex;
1102
+ // align-items: center;
1103
+ // justify-content: space-between;
1104
+ background-color: #fff;
1105
+
1106
+ input {
1107
+ width: 100%;
1108
+ height: 40px;
1109
+ line-height: 40px;
1110
+ border-radius: 2px;
1111
+ border: 1px solid @color-border-secondary;
1112
+ padding-left: 46px;
1113
+ padding-right: 30px;
1114
+ color: @color-text-Tr;
1115
+ }
1116
+ :global {
1117
+ .anticon {
1118
+ position: absolute;
1119
+ top: 11px;
1120
+ z-index: 1;
1121
+ left: 14px;
1122
+ font-size: 16px;
1123
+ color: rgba(0, 0, 0, 0.65);
1124
+ }
1125
+ .guanbi_Close {
1126
+ position: absolute;
1127
+ top: 3px;
1128
+ right: 38px;
1129
+ font-size: 16px;
1130
+ z-index: 1;
1131
+ color: rgba(0, 0, 0, 0.65);
1132
+ cursor: pointer;
1133
+ svg {
1134
+ font-size: 10px;
1135
+ opacity: 0.65;
1136
+ }
1137
+ }
1138
+ }
1139
+ svg {
1140
+ opacity: 0.65;
1141
+ font-weight: 300;
1142
+ }
1143
+ }
1144
+ .main_list:first-child {
1145
+ margin-top: 0;
1146
+ }
1147
+ .main_list {
1148
+ overflow: auto;
1149
+ height: 510px;
1150
+ &::-webkit-scrollbar {
1151
+ background-color: #eaedf1;
1152
+ background-color: transparent;
1153
+ width: 4px;
1154
+ height: 4px;
1155
+ }
1156
+ &::-webkit-scrollbar-thumb {
1157
+ border-radius: 4px;
1158
+ background-color: rgba(0, 0, 0, 0.25);
1159
+ }
1160
+ .list {
1161
+ margin: 8px 24px;
1162
+ padding: 8px;
1163
+ // border-bottom: 1px solid @color-border-secondary;
1164
+ margin-bottom: 17px;
1165
+ position: relative;
1166
+ cursor: pointer;
1167
+ &:hover {
1168
+ background-color: rgba(0, 0, 0, 0.04);
1169
+ border-radius: 8px;
1170
+ }
1171
+ &::before {
1172
+ content: "";
1173
+ display: inline-block;
1174
+ width: 100%;
1175
+ height: 1px;
1176
+ background-color: @color-border-secondary;
1177
+ position: absolute;
1178
+ bottom: -9px;
1179
+ left: -1px;
1180
+ }
1181
+ .name {
1182
+ display: flex;
1183
+ justify-content: space-between;
1184
+ align-items: center;
1185
+ margin-bottom: 9px;
1186
+ p {
1187
+ color: @color-text-Tr;
1188
+ font-size: 16px;
1189
+ font-weight: 600;
1190
+ line-height: 1.5;
1191
+ }
1192
+ .time {
1193
+ font-size: 14px;
1194
+ color: @color-text-tertiary;
1195
+ }
1196
+ }
1197
+ .con {
1198
+ color: @color-text-Tr;
1199
+ font-size: 14px;
1200
+ font-weight: 400;
1201
+ line-height: 150%;
1202
+ overflow: hidden;
1203
+ text-overflow: ellipsis;
1204
+ -webkit-box-orient: vertical;
1205
+ -webkit-line-clamp: 2;
1206
+ display: -webkit-box;
1207
+
1208
+ max-height: 40px;
1209
+ word-break: break-all;
1210
+ span {
1211
+ color: @color-text-primary;
1212
+ }
1213
+ }
1214
+ }
1215
+ .no_data{
1216
+ text-align: center;
1217
+ margin-top: 130px;
1218
+ img{
1219
+ width: 160px;
1220
+ }
1221
+ p{
1222
+ margin-top: 24px;
1223
+ color: rgba(0, 0, 0, 0.45);
1224
+ text-align: center;
1225
+ font-size: 14px;
1226
+ line-height: 100%; /* 14px */
1227
+ }
1228
+ }
1229
+ }
1230
+ }
1231
+ @keyframes mymove {
1232
+ from {
1233
+ bottom: -500px;
1234
+ }
1235
+ to {
1236
+ bottom: 0;
1237
+ }
1238
+ }
1239
+
1240
+ @-webkit-keyframes mymove /*Safari and Chrome*/ {
1241
+ from {
1242
+ bottom: -500px;
1243
+ }
1244
+ to {
1245
+ bottom: 0;
1246
+ }
1247
+ }
1248
+
1249
+ :global {
1250
+ .anticon {
1251
+ vertical-align: 0;
1252
+ }
1253
+ }
1254
+ }
1255
+ //全屏下的历史记录
1256
+ .history_list_broadside {
1257
+ width: 417px;
1258
+ height: calc(100% - 48px);
1259
+ right: 0;
1260
+ top: 48px;
1261
+ border-radius: 0;
1262
+ background: transparent;
1263
+ overflow: visible;
1264
+ .search_layout {
1265
+ height: 100%;
1266
+ border-radius: 0;
1267
+ box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.10);
1268
+ .search_top{
1269
+ margin: 16px;
1270
+ }
1271
+ .title{
1272
+ padding: 16px;
1273
+ }
1274
+ .main_list {
1275
+ height: calc(100% - 140px);
1276
+ max-height: calc(100% - 140px);
1277
+ .list{
1278
+ margin: 8px 16px 17px;
1279
+ }
1280
+ }
1281
+ }
1282
+ }