bhd-components 0.6.2 → 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/{9eaa797e.esm.es5.development.js → a0cd97b9.esm.es5.development.js} +1 -1
  2. package/dist/{587f2764.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 +511 -383
  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 -76
  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 +143 -82
  17. package/es2017/customerService/index.module.less +496 -6
  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 -65
  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} +63 -16
  28. package/esm/customerService/index.d.ts +3 -3
  29. package/esm/customerService/index.js +173 -112
  30. package/esm/customerService/index.module.less +496 -6
  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 -208
  35. package/es2017/customerService/historyFun/index.module.less +0 -223
  36. package/esm/customerService/contactsList/index.module.less +0 -208
  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
@@ -1,7 +1,7 @@
1
1
  @import "../theme/variable.less";
2
2
  // @color-data-visualization-01: @color-background-info-base;
3
3
  // @color-text-primary: @color-background-info-base;
4
-
4
+ // @color-background-primary-weak-hover:@color-background-info-weak;
5
5
 
6
6
  .service_ChatWindow_Drawer,
7
7
  .ChatWindow_Modal {
@@ -58,6 +58,7 @@
58
58
  font-weight: 600;
59
59
  position: relative;
60
60
  padding-left: 36px;
61
+
61
62
  i {
62
63
  padding-right: 16px;
63
64
  color: #111;
@@ -65,6 +66,7 @@
65
66
  font-size: 20px;
66
67
  top: -2px;
67
68
  left: 0;
69
+ cursor: pointer;
68
70
  }
69
71
  .count{
70
72
  position: absolute;
@@ -145,6 +147,11 @@
145
147
  height: 100%;
146
148
  }
147
149
  }
150
+ .main_content{
151
+ display: flex;
152
+ flex-direction: column;
153
+ align-items: flex-end;
154
+ }
148
155
  }
149
156
  .right {
150
157
  .head_sculpture {
@@ -271,6 +278,9 @@
271
278
  padding: 2px 8px;
272
279
  background-color: @color-background-filltertiary-Tr;
273
280
  margin-right: 16px;
281
+ &:hover{
282
+ color: @color-text-primary;
283
+ }
274
284
  }
275
285
  }
276
286
  }
@@ -347,7 +357,7 @@
347
357
  padding: 8px 0;
348
358
  cursor: pointer;
349
359
  span {
350
- padding: 2px 8px;
360
+ padding: 0px 8px;
351
361
  background-color: @color-background-filltertiary-Tr;
352
362
  color: @color-text-tertiary-Tr;
353
363
  &:hover{
@@ -447,6 +457,15 @@
447
457
 
448
458
  text-align: left;
449
459
  }
460
+ .text_exceed{
461
+ padding-right: 16px;
462
+ position: relative;
463
+ &>span{
464
+ position: absolute;
465
+ top: 20px;
466
+ right: 0;
467
+ }
468
+ }
450
469
  }
451
470
 
452
471
  .popover_content {
@@ -515,7 +534,7 @@
515
534
  }
516
535
  .issues_list_teacherList::-webkit-scrollbar-thumb {
517
536
  border-radius: 4px;
518
- background-color: #fff;
537
+ background-color: rgba(181, 184, 198, 0.6);
519
538
  }
520
539
  .issues_list {
521
540
  position: absolute;
@@ -731,11 +750,9 @@
731
750
  }
732
751
  .user {
733
752
  padding-left: 0 !important;
753
+ cursor: pointer;
734
754
  }
735
755
  .Drawer_buttom_Issues_List {
736
- // position: relative;
737
- // padding-bottom: 1px;
738
- // background: #F5F5F5 !important;
739
756
  border-radius: 4px;
740
757
  width: calc(100% - 328px);
741
758
  margin-left: 328px;
@@ -751,6 +768,7 @@
751
768
  }
752
769
  }
753
770
 
771
+
754
772
  //引用气泡
755
773
  .popover_main_content {
756
774
  min-width: 300px !important;
@@ -789,3 +807,475 @@
789
807
  }
790
808
  }
791
809
  }
810
+ .popover_main_content_name{
811
+ width: auto;
812
+ background-color: #fff !important;
813
+ box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.06);
814
+ border-radius: 4px;
815
+ border: 1px solid rgba(0, 0, 0, 0.15);
816
+ :global {
817
+ .bhd-tooltip-content {
818
+ background-color: #fff;
819
+ border-radius: 4px;
820
+ .bhd-tooltip-inner {
821
+ background-color: #fff;
822
+ color: @color-text-Tr;
823
+ font-size: 14px;
824
+ padding: 12px 16px;
825
+ border-radius: 4px;
826
+ }
827
+ }
828
+ .bhd-tooltip-arrow:before {
829
+ background: #ccc !important;
830
+ }
831
+ .bhd-tooltip-arrow::after {
832
+ width: 0 !important;
833
+ height: 0 !important;
834
+ border: 5px solid;
835
+ border-color: transparent transparent #fff transparent;
836
+ transform: none !important;
837
+ background: transparent !important;
838
+ bottom: 0px !important;
839
+ left: 0px !important;
840
+ right: 0 !important;
841
+ box-shadow: none !important;
842
+ }
843
+ }
844
+ }
845
+
846
+ //联系人列表
847
+ .teacher_layout {
848
+ position: fixed;
849
+ right: 568px;
850
+
851
+ border-radius: 8px;
852
+ background: rgba(255, 255, 255, 0.5);
853
+ box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
854
+ backdrop-filter: blur(7.5px);
855
+ width: 80px;
856
+ .top > div,
857
+ .bottom > div {
858
+ display: flex;
859
+ flex-direction: column;
860
+ align-items: center;
861
+ padding: 8px;
862
+ border-radius: 8px;
863
+ margin: 8px 0;
864
+ max-width: 60px;
865
+ overflow: hidden;
866
+ position: relative;
867
+ cursor: pointer;
868
+ &:hover {
869
+ background-color: #f5f5f5;
870
+ .delete {
871
+ display: block;
872
+ }
873
+ }
874
+ p {
875
+ max-width: 60px;
876
+ overflow: hidden;
877
+ text-overflow: ellipsis;
878
+ white-space: nowrap;
879
+ color: @color-text-Secondary-Tr;
880
+ font-size: 12px;
881
+ line-height: 1;
882
+ padding-top: 12px;
883
+ }
884
+ img {
885
+ width: 32px;
886
+ height: 32px;
887
+ border-radius: 50%;
888
+ }
889
+ .num {
890
+ position: absolute;
891
+ top: 0;
892
+ right: 0;
893
+ border-radius: 26px;
894
+ background-color: #f4523b;
895
+ color: #fff;
896
+ padding: 0 5px;
897
+ border-radius: 25px;
898
+ font-size: 12px;
899
+ line-height: 1.2;
900
+ }
901
+ .delete {
902
+ position: absolute;
903
+ top: 2px;
904
+ right: 2px;
905
+ color: rgba(0, 0, 0, 0.65);
906
+ font-size: 12px;
907
+ display: none;
908
+ }
909
+ }
910
+ .top > div {
911
+ margin: 8px;
912
+ }
913
+ .top .shrink {
914
+ border-bottom: 1px solid @color-border-secondary;
915
+ border-radius: 0;
916
+ margin-bottom: 8px;
917
+ margin-top: 8px;
918
+ & > span {
919
+ font-size: 20px;
920
+ }
921
+ p {
922
+ padding-top: 0;
923
+ }
924
+ &:hover {
925
+ background-color: #fff !important;
926
+ }
927
+ }
928
+ .top .active,
929
+ .bottom .active {
930
+ background: @color-background-primary-weak-hover;
931
+ }
932
+ .bottom > div:last-child {
933
+ margin-bottom: 0;
934
+ }
935
+ .bottom > div:first-child {
936
+ margin-top: 0;
937
+ }
938
+ .bottom {
939
+ max-height: 524px;
940
+ padding: 0 8px;
941
+ padding-right: 4px;
942
+ overflow-y: auto;
943
+ margin-bottom: 8px;
944
+ margin-top: 8px;
945
+ }
946
+ .bottom::-webkit-scrollbar {
947
+ background-color: #eaedf1;
948
+ background-color: transparent;
949
+ width: 4px;
950
+ height: 4px;
951
+ }
952
+ .bottom::-webkit-scrollbar-thumb {
953
+ border-radius: 4px;
954
+ background-color: rgba(0, 0, 0, 0.25);
955
+ }
956
+ }
957
+ .teacher_layout_newlabo {
958
+ top: 50px;
959
+ right: 0;
960
+ .top{
961
+ svg{
962
+ transform: rotate(180deg);
963
+ }
964
+ }
965
+ .top .active,
966
+ .bottom .active {
967
+ background: @color-background-info-weak !important
968
+ }
969
+ }
970
+ .teacher_layout_modal {
971
+ width: 328px;
972
+ height: calc(100% - 48px);
973
+ background-color: #fff;
974
+ position: absolute;
975
+ border-top: 1px solid @color-border-secondary;
976
+ .top,
977
+ .bottom {
978
+ .ai {
979
+ border-bottom: 1px solid @color-border-secondary;
980
+ padding: 16px;
981
+ display: flex;
982
+ align-items: center;
983
+ cursor: pointer;
984
+ img {
985
+ width: 32px;
986
+ height: 32px;
987
+ border-radius: 50%;
988
+ margin-right: 12px;
989
+ }
990
+ & > span {
991
+ margin-right: 12px;
992
+ }
993
+ .user_info {
994
+ width: 252px;
995
+ .message {
996
+ color: #000;
997
+ font-size: 14px;
998
+ line-height: 1;
999
+ padding-right: 10px;
1000
+ .num {
1001
+ margin-left: 12px;
1002
+ border-radius: 26px;
1003
+ background-color: #f4523b;
1004
+ color: #fff;
1005
+ padding: 0 5px;
1006
+ border-radius: 25px;
1007
+ font-size: 12px;
1008
+ line-height: 1;
1009
+ }
1010
+
1011
+ .time {
1012
+ font-size: 12px;
1013
+ color: @color-text-quaternary-Tr;
1014
+ float: right;
1015
+ }
1016
+ }
1017
+ .con {
1018
+ color: @color-text-quaternary-Tr;
1019
+ font-size: 12px;
1020
+ line-height: 1.5;
1021
+ margin-top: 8px;
1022
+ overflow: hidden;
1023
+ white-space: nowrap;
1024
+ text-overflow: ellipsis;
1025
+ }
1026
+ }
1027
+ }
1028
+ .active {
1029
+ background: @color-background-primary-weak-hover;
1030
+ }
1031
+ }
1032
+ .bottom{
1033
+ overflow: auto;
1034
+ height: calc(100% - 70px);
1035
+ }
1036
+ .bottom::-webkit-scrollbar {
1037
+ background-color: #eaedf1;
1038
+ background-color: transparent;
1039
+ width: 4px;
1040
+ height: 4px;
1041
+ }
1042
+ .bottom::-webkit-scrollbar-thumb {
1043
+ border-radius: 4px;
1044
+ background-color: rgba(0, 0, 0, 0.25);
1045
+ }
1046
+
1047
+ :global {
1048
+ .anticon {
1049
+ vertical-align: 0;
1050
+ }
1051
+ }
1052
+ }
1053
+ .teacher_layout_modal_newlabo{
1054
+ .top,
1055
+ .bottom {
1056
+ .active {
1057
+ background: @color-background-info-weak !important
1058
+ }
1059
+ }
1060
+ }
1061
+
1062
+ //历史记录11
1063
+ .history_list {
1064
+ position: absolute;
1065
+ top: 0;
1066
+ background: rgba(0, 0, 0, 0.3);
1067
+ width: 100%;
1068
+ height: 100%;
1069
+ overflow: hidden;
1070
+
1071
+ .search_layout {
1072
+ background: #fff;
1073
+ position: absolute;
1074
+ bottom: -500px;
1075
+ width: 100%;
1076
+ border-radius: 16px 16px 0px 0px;
1077
+ overflow: hidden;
1078
+ animation: mymove 1s forwards;
1079
+ box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.10);
1080
+
1081
+ .title {
1082
+ border-bottom: 1px solid @color-border-Tr;
1083
+ font-size: 16px;
1084
+ font-weight: 600;
1085
+ line-height: 150%;
1086
+ padding: 16px 24px;
1087
+ display: flex;
1088
+ justify-content: space-between;
1089
+ svg {
1090
+ font-size: 12px;
1091
+ cursor: pointer;
1092
+ opacity: 0.65;
1093
+ font-weight: 300;
1094
+ }
1095
+ }
1096
+ .search_top {
1097
+ position: relative;
1098
+ margin: 16px 24px;
1099
+ // margin-bottom: 0;
1100
+ // display: flex;
1101
+ // align-items: center;
1102
+ // justify-content: space-between;
1103
+ background-color: #fff;
1104
+
1105
+ input {
1106
+ width: 100%;
1107
+ height: 40px;
1108
+ line-height: 40px;
1109
+ border-radius: 2px;
1110
+ border: 1px solid @color-border-secondary;
1111
+ padding-left: 46px;
1112
+ padding-right: 30px;
1113
+ color: @color-text-Tr;
1114
+ }
1115
+ :global {
1116
+ .anticon {
1117
+ position: absolute;
1118
+ top: 11px;
1119
+ z-index: 1;
1120
+ left: 14px;
1121
+ font-size: 16px;
1122
+ color: rgba(0, 0, 0, 0.65);
1123
+ }
1124
+ .guanbi_Close {
1125
+ position: absolute;
1126
+ top: 3px;
1127
+ right: 38px;
1128
+ font-size: 16px;
1129
+ z-index: 1;
1130
+ color: rgba(0, 0, 0, 0.65);
1131
+ cursor: pointer;
1132
+ svg {
1133
+ font-size: 10px;
1134
+ opacity: 0.65;
1135
+ }
1136
+ }
1137
+ }
1138
+ svg {
1139
+ opacity: 0.65;
1140
+ font-weight: 300;
1141
+ }
1142
+ }
1143
+ .main_list:first-child {
1144
+ margin-top: 0;
1145
+ }
1146
+ .main_list {
1147
+ overflow: auto;
1148
+ height: 510px;
1149
+ &::-webkit-scrollbar {
1150
+ background-color: #eaedf1;
1151
+ background-color: transparent;
1152
+ width: 4px;
1153
+ height: 4px;
1154
+ }
1155
+ &::-webkit-scrollbar-thumb {
1156
+ border-radius: 4px;
1157
+ background-color: rgba(0, 0, 0, 0.25);
1158
+ }
1159
+ .list {
1160
+ margin: 8px 24px;
1161
+ padding: 8px;
1162
+ // border-bottom: 1px solid @color-border-secondary;
1163
+ margin-bottom: 17px;
1164
+ position: relative;
1165
+ cursor: pointer;
1166
+ &:hover {
1167
+ background-color: rgba(0, 0, 0, 0.04);
1168
+ border-radius: 8px;
1169
+ }
1170
+ &::before {
1171
+ content: "";
1172
+ display: inline-block;
1173
+ width: 100%;
1174
+ height: 1px;
1175
+ background-color: @color-border-secondary;
1176
+ position: absolute;
1177
+ bottom: -9px;
1178
+ left: -1px;
1179
+ }
1180
+ .name {
1181
+ display: flex;
1182
+ justify-content: space-between;
1183
+ align-items: center;
1184
+ margin-bottom: 9px;
1185
+ p {
1186
+ color: @color-text-Tr;
1187
+ font-size: 16px;
1188
+ font-weight: 600;
1189
+ line-height: 1.5;
1190
+ }
1191
+ .time {
1192
+ font-size: 14px;
1193
+ color: @color-text-tertiary;
1194
+ }
1195
+ }
1196
+ .con {
1197
+ color: @color-text-Tr;
1198
+ font-size: 14px;
1199
+ font-weight: 400;
1200
+ line-height: 150%;
1201
+ overflow: hidden;
1202
+ text-overflow: ellipsis;
1203
+ -webkit-box-orient: vertical;
1204
+ -webkit-line-clamp: 2;
1205
+ display: -webkit-box;
1206
+
1207
+ max-height: 40px;
1208
+ word-break: break-all;
1209
+ span {
1210
+ color: @color-text-primary;
1211
+ }
1212
+ }
1213
+ }
1214
+ .no_data{
1215
+ text-align: center;
1216
+ margin-top: 130px;
1217
+ img{
1218
+ width: 160px;
1219
+ }
1220
+ p{
1221
+ margin-top: 24px;
1222
+ color: rgba(0, 0, 0, 0.45);
1223
+ text-align: center;
1224
+ font-size: 14px;
1225
+ line-height: 100%; /* 14px */
1226
+ }
1227
+ }
1228
+ }
1229
+ }
1230
+ @keyframes mymove {
1231
+ from {
1232
+ bottom: -500px;
1233
+ }
1234
+ to {
1235
+ bottom: 0;
1236
+ }
1237
+ }
1238
+
1239
+ @-webkit-keyframes mymove /*Safari and Chrome*/ {
1240
+ from {
1241
+ bottom: -500px;
1242
+ }
1243
+ to {
1244
+ bottom: 0;
1245
+ }
1246
+ }
1247
+
1248
+ :global {
1249
+ .anticon {
1250
+ vertical-align: 0;
1251
+ }
1252
+ }
1253
+ }
1254
+ //全屏下的历史记录
1255
+ .history_list_broadside {
1256
+ width: 417px;
1257
+ height: calc(100% - 48px);
1258
+ right: 0;
1259
+ top: 48px;
1260
+ border-radius: 0;
1261
+ background: transparent;
1262
+ overflow: visible;
1263
+ .search_layout {
1264
+ height: 100%;
1265
+ border-radius: 0;
1266
+ box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.10);
1267
+ .search_top{
1268
+ margin: 16px;
1269
+ }
1270
+ .title{
1271
+ padding: 16px;
1272
+ }
1273
+ .main_list {
1274
+ height: calc(100% - 140px);
1275
+ max-height: calc(100% - 140px);
1276
+ .list{
1277
+ margin: 8px 16px 17px;
1278
+ }
1279
+ }
1280
+ }
1281
+ }