bhd-components 0.6.9 → 0.7.1

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