bhd-components 0.7.9 → 0.7.10

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.
@@ -38,6 +38,7 @@ const CustomerService = (props)=>{
38
38
  const [keyWord, setKeyWord] = useState(""); //搜索内容
39
39
  const [questionsList, setQuestionsList] = useState([]); //问题列表
40
40
  const [hotQuestionsList, setHotQuestionsList] = useState([]); //热门问题
41
+ // const [videoHotQuestionsList, setVideoHotQuestionsList] = useState([]); //热门问题
41
42
  const [greetingMessage, setGreetingMessage] = useState(false); //聊天记录列表是否请求完成
42
43
  const [pageNum, setPageNum] = useState(1); //页码
43
44
  const [pageNumHistory, setPageNumHistory] = useState(0); //用于搜索历史记录后的页码
@@ -75,6 +76,7 @@ const CustomerService = (props)=>{
75
76
  let scrollTopHei = useRef(0);
76
77
  let isPosition = useRef(true);
77
78
  let recommendeQuestionID = useRef([]); //推荐问题id
79
+ let videoHotQuestionsList = useRef([]); //视频热门问题
78
80
  const mid = props.userData.mid;
79
81
  const remarkable = new Remarkable({
80
82
  highlight: function(str, lang) {
@@ -89,57 +91,48 @@ const CustomerService = (props)=>{
89
91
  return ""; // use external default escaping
90
92
  }
91
93
  });
94
+ useEffect(()=>{
95
+ // console.log(props,'lsdkcmsdlcksd')
96
+ // getQuestiionsList("", 1);
97
+ if (props.config && props.config.type == 'video') {
98
+ //获取热门推荐
99
+ videoPageQuestiionsList(1);
100
+ // getQuestiionsList("", 3)
101
+ }
102
+ setShowType(initShowType);
103
+ //获取视频页面推荐问题
104
+ // videoPageQuestiionsList();
105
+ // scrollToBottom();
106
+ }, [
107
+ initShowType
108
+ ]);
92
109
  useEffect(()=>{
93
110
  if (showType == 5) {
94
- // 获取屏幕流
95
- // 获取 video 元素和 canvas 元素
96
- // var video = document.getElementById('container_html5_api');
97
- // // const canvas = document.createElement('canvas');
98
- // const canvas = document.getElementById('canvas_test');
99
- // var context = canvas.getContext('2d');
100
- // // 设置 canvas 尺寸
101
- // canvas.width = video.videoWidth/4;
102
- // canvas.height = video.videoHeight/4;
103
- // // 在 canvas 上绘制 video 的当前帧
104
- // context.drawImage(video, 0, 0, canvas.width, canvas.height);
105
- // // 使用 html2canvas 对 canvas 进行截图
106
- // html2canvas(canvas,{
107
- // scale: 1,
108
- // useCORS: true,
109
- // logging: true,
110
- // }).then(function(screenshot) {
111
- // // 将截图显示在页面上,或者进行其他操作
112
- // document.body.appendChild(screenshot);
113
- // setTimeout(()=>{
114
- // let url = screenshot.toDataURL('image/png');
115
- // console.log(url);
116
- // },3000)
117
- // // console.log("container_html5_apicontainer_html5_api",screenshot)
118
- // // console.log(screenshot.toDataURL('image/jpeg'))
119
- // });
120
- // // 显示图片或者做其他操作
121
111
  try {
122
112
  setImgBese64('');
123
- html2canvas(document.getElementsByTagName('html')[0]).then((canvas)=>{
124
- console.log(canvas, 22222);
125
- setTimeout(()=>{
126
- let dom = document.getElementById(screenshotAreaId);
127
- //let dom = document.getElementById("container_html5_api");
128
- //let dom = document.getElementsByTagName('html')[0];
129
- html2canvas(dom, {
130
- useCORS: true,
131
- // allowTaint: true, // 污染处理
132
- scale: 1
133
- }).then(function(canvas) {
134
- // document.body.appendChild(canvas);
135
- // document.body.appendChild(canvas);
136
- console.log(canvas, 4444444);
137
- // var base64URL = canvas.toDataURL('image/jpeg')
138
- let base64URL = canvas.toDataURL("image/jpg", 1.0);
139
- setImgBese64(base64URL);
140
- });
141
- }, 100);
113
+ // html2canvas(document.getElementsByTagName('html')[0],{
114
+ // // ignoreElements:(element)=>{
115
+ // // if(element.compareDocumentPosition(dom)===2)return true
116
+ // // return false
117
+ // // }
118
+ // }).then((canvas)=>{
119
+ // console.log(canvas,22222);
120
+ // setTimeout(()=>{
121
+ let dom = document.getElementById(screenshotAreaId);
122
+ html2canvas(dom, {
123
+ useCORS: true,
124
+ // allowTaint: true, // 污染处理
125
+ scale: 1
126
+ }).then(function(canvas) {
127
+ // document.body.appendChild(canvas);
128
+ // document.body.appendChild(canvas);
129
+ console.log(canvas, 99999);
130
+ // var base64URL = canvas.toDataURL('image/jpeg')
131
+ let base64URL = canvas.toDataURL("image/jpg", 1.0);
132
+ setImgBese64(base64URL);
142
133
  });
134
+ // },100)
135
+ // })
143
136
  } catch (error) {
144
137
  console.log(error);
145
138
  }
@@ -226,16 +219,21 @@ const CustomerService = (props)=>{
226
219
  buttomHei,
227
220
  showType
228
221
  ]);
222
+ //创建聊天室并获取聊天室列表
229
223
  useEffect(()=>{
230
- // console.log(props,'lsdkcmsdlcksd')
231
- // getQuestiionsList("", 1);
232
- setShowType(initShowType);
233
- //获取视频页面推荐问题
234
- videoPageQuestiionsList();
235
- scrollToBottom();
236
- }, [
237
- initShowType
238
- ]);
224
+ createRooms("AI").then((res)=>{
225
+ setRoomId(res.data.id);
226
+ });
227
+ roomsListTimer();
228
+ return ()=>{
229
+ clearTimeout(receiveMessageTimer.current);
230
+ // clearTimeout(voiceCountdownTimer.current);
231
+ clearTimeout(listTimer.current);
232
+ clearTimeout(timer.current);
233
+ clearTimeout(roomMessage.current);
234
+ clearTimeout(chatRoomList.current);
235
+ };
236
+ }, []);
239
237
  useEffect(()=>{
240
238
  if (roomId != "") {
241
239
  if (lastId == "") {
@@ -256,21 +254,6 @@ const CustomerService = (props)=>{
256
254
  }, [
257
255
  roomId
258
256
  ]);
259
- //创建聊天室并获取聊天室列表
260
- useEffect(()=>{
261
- createRooms("AI").then((res)=>{
262
- setRoomId(res.data.id);
263
- });
264
- roomsListTimer();
265
- return ()=>{
266
- clearTimeout(receiveMessageTimer.current);
267
- // clearTimeout(voiceCountdownTimer.current);
268
- clearTimeout(listTimer.current);
269
- clearTimeout(timer.current);
270
- clearTimeout(roomMessage.current);
271
- clearTimeout(chatRoomList.current);
272
- };
273
- }, []);
274
257
  //进入页面,发送打招呼信息
275
258
  useEffect(()=>{
276
259
  //老师的聊天窗口不发送打招呼信息
@@ -289,9 +272,8 @@ const CustomerService = (props)=>{
289
272
  scrollToBottom();
290
273
  }
291
274
  }, [
292
- greetingMessage,
293
- hotQuestionsList
294
- ]);
275
+ greetingMessage
276
+ ]); //hotQuestionsList
295
277
  //查找需要复制的代码
296
278
  const findCopyContent = (e)=>{
297
279
  let source = findParent(e.target, styles.copyCode);
@@ -332,10 +314,9 @@ const CustomerService = (props)=>{
332
314
  let questionsList = [];
333
315
  let obj = {};
334
316
  if (type == 1) {
335
- let questionsId = [];
317
+ console.log(hotQuestionsList, '33322221111');
336
318
  questionsList = hotQuestionsList.map((item, index)=>{
337
319
  if (index < 3) {
338
- questionsId.push(item.id);
339
320
  return {
340
321
  key: "messageSource",
341
322
  value: item.id,
@@ -346,7 +327,6 @@ const CustomerService = (props)=>{
346
327
  return null;
347
328
  }
348
329
  });
349
- recommendeQuestionID.current = questionsId; //保存推荐问题id
350
330
  questionsList = questionsList.filter((i)=>i != null);
351
331
  obj = {
352
332
  roomId: roomId,
@@ -676,9 +656,9 @@ const CustomerService = (props)=>{
676
656
  }
677
657
  console.log(type, '接受答案77777');
678
658
  //获取下面的推荐问题
679
- if (type == 2) {
680
- videoPageQuestiionsList(2);
681
- }
659
+ // if(type == 2){
660
+ // videoPageQuestiionsList(2);
661
+ // }
682
662
  http.post(`${urllocation}/chat-service/public/v1.0/history-messages`, obj).then((res)=>{
683
663
  if (res.data.id) {
684
664
  if (pageNumHistory <= 1) {
@@ -755,6 +735,7 @@ const CustomerService = (props)=>{
755
735
  "watchTime": watchTime
756
736
  }
757
737
  ];
738
+ obj.regenerate = false;
758
739
  }
759
740
  let data = JSON.stringify(obj);
760
741
  setKeyWord("");
@@ -795,6 +776,10 @@ const CustomerService = (props)=>{
795
776
  });
796
777
  scrollToBottom();
797
778
  }
779
+ if (props.config && props.config.type == 'video') {
780
+ //先请求问题列表
781
+ videoPageQuestiionsList(3);
782
+ }
798
783
  //使用fetchEventSource接收数据
799
784
  const eventSource = fetchEventSource(`${urllocation}/chat-service/public/v1.0/chat-with-ai/messages`, {
800
785
  method: "POST",
@@ -959,9 +944,23 @@ const CustomerService = (props)=>{
959
944
  } else {
960
945
  let newHistoryMessageList2 = list1.map((item)=>{
961
946
  message = item.message + obj.message;
947
+ let extraInfo = [];
948
+ // message = '抱歉,我暂时无法回答这样的问题。'
949
+ if (message == '抱歉,我暂时无法回答这样的问题。') {
950
+ extraInfo = videoHotQuestionsList.current.map((str, index)=>{
951
+ return {
952
+ key: "messageSource",
953
+ value: str.id,
954
+ question: str.question,
955
+ answer: str.answer,
956
+ welcomeMessage: true
957
+ };
958
+ });
959
+ }
962
960
  if (item.id == id) {
963
961
  return _object_spread_props(_object_spread({}, item), {
964
- message: message
962
+ message: message,
963
+ extraInfo: extraInfo == null ? item.extraInfo : JSON.stringify(extraInfo)
965
964
  });
966
965
  } else {
967
966
  return item;
@@ -1277,7 +1276,7 @@ const CustomerService = (props)=>{
1277
1276
  } else if (flag == 3) {
1278
1277
  data = {
1279
1278
  page: 1,
1280
- maxPageSize: 4,
1279
+ maxPageSize: 5,
1281
1280
  question: value,
1282
1281
  sectionId: getQuery('s_id')
1283
1282
  };
@@ -1310,17 +1309,31 @@ const CustomerService = (props)=>{
1310
1309
  } else {
1311
1310
  setQuestionsList(questionList);
1312
1311
  }
1313
- if (questionList.length < 4 && flag == 3) {
1312
+ if (questionList.length < 5 && flag == 3) {
1314
1313
  console.log('视频页面,联想问题小于4个');
1315
1314
  //视频页面,联想问题小于4个
1316
- getQuestiionsList(value, 4);
1315
+ http.get(`${urllocation}/chat-service/public/v1.0/knowledge-base/questions`, {
1316
+ params: {
1317
+ page: 1,
1318
+ maxPageSize: 5 - questionList.length
1319
+ }
1320
+ }).then((res)=>{
1321
+ if (res.data.questions) {
1322
+ setHotQuestionsList((questionList)=>{
1323
+ return [
1324
+ ...questionList,
1325
+ ...res.data.questions
1326
+ ];
1327
+ });
1328
+ }
1329
+ });
1317
1330
  }
1318
1331
  }
1319
1332
  });
1320
1333
  };
1321
- //获取视频页面热门问题 flag == 1,默认推荐问题 == 2,已经推荐过问题
1334
+ //获取视频页面热门问题 flag == 1,默认推荐问题 == 2,底部渲染问题,flag == 3,ai回答后请求相关问题
1322
1335
  const videoPageQuestiionsList = (flag = 1)=>{
1323
- console.log(props, 3333333);
1336
+ console.log(flag, props, 3333333);
1324
1337
  let config = props.config;
1325
1338
  if (config && config.type == 'video' && config.params) {
1326
1339
  let params = config.params;
@@ -1330,9 +1343,7 @@ const CustomerService = (props)=>{
1330
1343
  let sectionId = params.VideoBriefSummaryId;
1331
1344
  if (videoId && courseId && sectionId) {
1332
1345
  http.post(`${urllocation}/chat-service/public/v1.0/knowledge-base/questions:recommend`, {
1333
- "recommendedQuestions": flag == 2 ? recommendeQuestionID.current : [
1334
- ''
1335
- ],
1346
+ "recommendedQuestions": [],
1336
1347
  "contexts": [
1337
1348
  {
1338
1349
  "type": "VIDEO",
@@ -1342,22 +1353,32 @@ const CustomerService = (props)=>{
1342
1353
  "watchTime": watchTime
1343
1354
  }
1344
1355
  ],
1345
- "maximum": 5
1356
+ "maximum": flag == 1 || flag == 2 ? 3 : 5
1346
1357
  }).then((res)=>{
1347
- console.log(res, 333333);
1348
1358
  if (res.data.total > 0) {
1349
1359
  let data = res.data.questions;
1360
+ if (flag == 3) {
1361
+ // setQuestionsList(data);
1362
+ // setVideoHotQuestionsList(data);
1363
+ videoHotQuestionsList.current = data;
1364
+ return;
1365
+ }
1350
1366
  if (flag == 2) {
1351
1367
  setBottomRecommendationQuestions(data);
1352
1368
  } else {
1353
1369
  setHotQuestionsList(data);
1354
1370
  }
1371
+ let ids = [];
1372
+ data.map((str)=>{
1373
+ ids.push(str.id);
1374
+ });
1375
+ recommendeQuestionID.current = Array.from(new Set(recommendeQuestionID.current.concat(ids)));
1355
1376
  resettingBottomHei();
1356
1377
  scrollToBottom();
1357
- console.log(data, 99999);
1358
- if (data.length < 4) {
1359
- getQuestiionsList('', 4);
1360
- }
1378
+ // console.log(data,99999);
1379
+ // if(data.length < 4){
1380
+ // getQuestiionsList('',4)
1381
+ // }
1361
1382
  }
1362
1383
  }).catch(()=>{});
1363
1384
  }
@@ -1728,9 +1749,6 @@ const CustomerService = (props)=>{
1728
1749
  let timeObj = parseDate(item.createdAt);
1729
1750
  // console.log(item.message);
1730
1751
  let message = item.message;
1731
- if (message == '抱歉,我暂时无法回答这样的问题。' && props.config && props.config.type == 'video') {
1732
- videoPageQuestiionsList(2);
1733
- }
1734
1752
  let li;
1735
1753
  // 是否需要显示日期
1736
1754
  let itemIndex = historyMessageList.findIndex((ite)=>ite.id === item.id);
@@ -2013,23 +2031,37 @@ const CustomerService = (props)=>{
2013
2031
  })
2014
2032
  ]
2015
2033
  }),
2016
- item.extraInfo != undefined && JSON.parse(item.extraInfo).length > 0 && JSON.parse(item.extraInfo)[0].key == "messageSource" && JSON.parse(item.extraInfo)[0].value != "knowledgebase" && /*#__PURE__*/ _jsx("ul", {
2017
- className: styles.association_problem,
2018
- children: JSON.parse(item.extraInfo).map((list, index)=>{
2019
- return /*#__PURE__*/ _jsxs("li", {
2020
- onClick: ()=>{
2021
- sendMessage(list, 1);
2022
- },
2023
- children: [
2024
- index + 1,
2025
- ".",
2026
- list.question
2027
- ]
2028
- }, i + "_" + index + "_" + list.value);
2029
- })
2034
+ item.extraInfo != undefined && JSON.parse(item.extraInfo).length > 0 && JSON.parse(item.extraInfo)[0].key == "messageSource" && JSON.parse(item.extraInfo)[0].value != "knowledgebase" && /*#__PURE__*/ _jsxs("ul", {
2035
+ className: `${styles.association_problem} ${item.message == '抱歉,我暂时无法回答这样的问题。' ? 'association_problem_flag' : ''}`,
2036
+ children: [
2037
+ item.message == '抱歉,我暂时无法回答这样的问题。' && /*#__PURE__*/ _jsx("li", {
2038
+ className: styles.related_issues_flag,
2039
+ children: /*#__PURE__*/ _jsx("span", {
2040
+ children: "相关问题"
2041
+ })
2042
+ }),
2043
+ JSON.parse(item.extraInfo).map((list, index)=>{
2044
+ return /*#__PURE__*/ _jsx("li", {
2045
+ onClick: ()=>{
2046
+ sendMessage(list, 1);
2047
+ if (props.config && props.config.type == 'video') {
2048
+ //先请求问题列表
2049
+ videoPageQuestiionsList(2);
2050
+ }
2051
+ },
2052
+ children: item.message == '抱歉,我暂时无法回答这样的问题。' ? list.question : /*#__PURE__*/ _jsxs(_Fragment, {
2053
+ children: [
2054
+ index + 1,
2055
+ ".",
2056
+ list.question
2057
+ ]
2058
+ })
2059
+ }, i + "_" + index + "_" + list.value);
2060
+ })
2061
+ ]
2030
2062
  }),
2031
2063
  //findTeacher//是否在召唤老师过程中,是否是最后一条消息
2032
- !item.findTeacher && historyMessageList.length - 1 == i && item.id != "123456" && renderLastOperateBtn(item, isAiChatWindow, i),
2064
+ !item.findTeacher && historyMessageList.length - 1 == i && item.id != "123456" && item.id != '123456_date' && renderLastOperateBtn(item, isAiChatWindow, i),
2033
2065
  //召唤老师回答按钮
2034
2066
  isAiChatWindow && item.findTeacher && userData.modules.some((item)=>item.short == "TeacherAnswer") && /*#__PURE__*/ _jsx("div", {
2035
2067
  className: `${styles.operate_modal_bottom} `,
@@ -2243,11 +2275,9 @@ const CustomerService = (props)=>{
2243
2275
  if (!showStopBtn && isAiChatWindow && (extraInfo != undefined && JSON.parse(extraInfo).length > 0 && JSON.parse(extraInfo)[0].key == "questionId" || extraInfo == null) && historyMessageList[i - 1] && historyMessageList[i - 1].extraInfo && JSON.parse(historyMessageList[i - 1].extraInfo).length > 0 && JSON.parse(historyMessageList[i - 1].extraInfo)[0].key != "imageUrl") {
2244
2276
  findTeacherBtn = true;
2245
2277
  }
2278
+ /// style={{position:showStopBtn && isPosition.current ? 'sticky' : 'relative'}}
2246
2279
  return /*#__PURE__*/ _jsxs("div", {
2247
2280
  className: `${styles.operate_modal_bottom}`,
2248
- style: {
2249
- position: showStopBtn && isPosition.current ? 'sticky' : 'relative'
2250
- },
2251
2281
  children: [
2252
2282
  /*#__PURE__*/ _jsxs("p", {
2253
2283
  className: styles.stop_generate,
@@ -2503,6 +2533,7 @@ const CustomerService = (props)=>{
2503
2533
  className: styles.icon_close,
2504
2534
  onClick: ()=>{
2505
2535
  setScreenshotBese64('');
2536
+ resettingBottomHei();
2506
2537
  },
2507
2538
  children: /*#__PURE__*/ _jsx(CustomRoundClose, {})
2508
2539
  }),
@@ -2867,7 +2898,7 @@ const CustomerService = (props)=>{
2867
2898
  return /*#__PURE__*/ _jsx("div", {
2868
2899
  className: styles.issues_list_flag,
2869
2900
  style: {
2870
- bottom: `${buttomHei}px`
2901
+ bottom: `${buttomHei - 60}px`
2871
2902
  },
2872
2903
  id: "BottomAssociationProblem",
2873
2904
  children: bottomRecommendationQuestions.map((item)=>{
@@ -626,7 +626,9 @@
626
626
  cursor: pointer;
627
627
  list-style-type: none;
628
628
  }
629
+
629
630
  }
631
+
630
632
 
631
633
  .img_con{
632
634
  width: 100%;
@@ -743,6 +745,34 @@
743
745
 
744
746
  }
745
747
  }
748
+
749
+ .association_problem_flag{
750
+ padding-left: 30px;
751
+
752
+ li{
753
+ position: relative;
754
+ &::after{
755
+ content: '';
756
+ width: 6px;
757
+ height: 6px;
758
+ border-radius: 50%;
759
+ background-color: rgba(217, 217, 217, 1);
760
+ display: block;
761
+ position: absolute;
762
+ top: 12px;
763
+ left: 12px;
764
+ }
765
+ }
766
+ .related_issues_flag{
767
+ span{
768
+ color: #000;
769
+ font-weight: 600;
770
+ border-bottom: 4px solid @color-background-primary-weak-hover;
771
+ }
772
+
773
+ }
774
+ }
775
+
746
776
  .time {
747
777
  display: block;
748
778
  margin: 40px 0;
@@ -915,6 +945,7 @@
915
945
  padding: 8px 16px;
916
946
  background-color: #fff;
917
947
  border-radius: 38px;
948
+ margin-bottom: 16px;
918
949
  cursor: pointer;
919
950
  &:hover{
920
951
  background-color: @color-background-primary-weak;
@@ -113,7 +113,10 @@
113
113
  position: relative;
114
114
  z-index: 99;
115
115
  .popover{
116
- padding: 8px;
116
+ padding: 8px 0;
117
+ width: 74px;
118
+ text-align: center;
119
+
117
120
  border-radius: 4px;
118
121
  line-height: 1.5;
119
122
  color: rgba(0, 0, 0, 0.65);
@@ -620,7 +623,9 @@
620
623
  cursor: pointer;
621
624
  list-style-type: none;
622
625
  }
626
+
623
627
  }
628
+
624
629
 
625
630
  .img_con{
626
631
  width: 100%;
@@ -629,7 +634,10 @@
629
634
  border-radius: 4px;
630
635
  overflow: hidden;
631
636
  display: inline-flex;
632
- margin-top: 24px;
637
+ margin-top: 12px;
638
+ img{
639
+ width: 100%;
640
+ }
633
641
  .mask_zoom{
634
642
  position: absolute;
635
643
  top: 0;
@@ -714,8 +722,13 @@
714
722
  padding: 0 2px;
715
723
  }
716
724
  li{
725
+ :global{
726
+ ::marker {
727
+ font-weight: 600 !important;
728
+ }
729
+ }
717
730
  ::marker {
718
- font-weight: 600;
731
+ font-weight: 600 !important;
719
732
  }
720
733
  p{
721
734
  font-weight: 400 !important;
@@ -723,11 +736,40 @@
723
736
  border-bottom: 6px solid @color-background-primary-weak-hover;
724
737
  height: 20px;
725
738
  display: inline-block;
739
+ font-weight: 600;
726
740
  }
727
741
  }
728
742
 
729
743
  }
730
744
  }
745
+
746
+ .association_problem_flag{
747
+ padding-left: 30px;
748
+
749
+ li{
750
+ position: relative;
751
+ &::after{
752
+ content: '';
753
+ width: 6px;
754
+ height: 6px;
755
+ border-radius: 50%;
756
+ background-color: rgba(217, 217, 217, 1);
757
+ display: block;
758
+ position: absolute;
759
+ top: 12px;
760
+ left: 12px;
761
+ }
762
+ }
763
+ .related_issues_flag{
764
+ span{
765
+ color: #000;
766
+ font-weight: 600;
767
+ border-bottom: 4px solid @color-background-primary-weak-hover;
768
+ }
769
+
770
+ }
771
+ }
772
+
731
773
  .time {
732
774
  display: block;
733
775
  margin: 40px 0;
@@ -895,11 +937,12 @@
895
937
  margin: 0 16px;
896
938
  // padding-bottom: 4px;
897
939
  line-height: 1;
898
- // padding-top: 24px;
940
+ padding-top: 24px;
899
941
  p{
900
942
  padding: 8px 16px;
901
943
  background-color: #fff;
902
944
  border-radius: 38px;
945
+ margin-bottom: 16px;
903
946
  cursor: pointer;
904
947
  &:hover{
905
948
  background-color: @color-background-primary-weak;
@@ -1119,6 +1162,7 @@
1119
1162
  svg {
1120
1163
  font-size: 20px;
1121
1164
  color: @color-icon-fill-Tr;
1165
+ cursor: pointer;
1122
1166
  }
1123
1167
  }
1124
1168
  .disabled {