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.
@@ -40,6 +40,7 @@ var CustomerService = function(props) {
40
40
  var _useState4 = _sliced_to_array(useState(""), 2), keyWord = _useState4[0], setKeyWord = _useState4[1]; //搜索内容
41
41
  var _useState5 = _sliced_to_array(useState([]), 2), questionsList = _useState5[0], setQuestionsList = _useState5[1]; //问题列表
42
42
  var _useState6 = _sliced_to_array(useState([]), 2), hotQuestionsList = _useState6[0], setHotQuestionsList = _useState6[1]; //热门问题
43
+ // const [videoHotQuestionsList, setVideoHotQuestionsList] = useState([]); //热门问题
43
44
  var _useState7 = _sliced_to_array(useState(false), 2), greetingMessage = _useState7[0], setGreetingMessage = _useState7[1]; //聊天记录列表是否请求完成
44
45
  var _useState8 = _sliced_to_array(useState(1), 2), pageNum = _useState8[0], setPageNum = _useState8[1]; //页码
45
46
  var _useState9 = _sliced_to_array(useState(0), 2), pageNumHistory = _useState9[0], setPageNumHistory = _useState9[1]; //用于搜索历史记录后的页码
@@ -77,6 +78,7 @@ var CustomerService = function(props) {
77
78
  var scrollTopHei = useRef(0);
78
79
  var isPosition = useRef(true);
79
80
  var recommendeQuestionID = useRef([]); //推荐问题id
81
+ var videoHotQuestionsList = useRef([]); //视频热门问题
80
82
  var mid = props.userData.mid;
81
83
  var remarkable = new Remarkable({
82
84
  highlight: function highlight(str, lang) {
@@ -91,6 +93,21 @@ var CustomerService = function(props) {
91
93
  return ""; // use external default escaping
92
94
  }
93
95
  });
96
+ useEffect(function() {
97
+ // console.log(props,'lsdkcmsdlcksd')
98
+ // getQuestiionsList("", 1);
99
+ if (props.config && props.config.type == "video") {
100
+ //获取热门推荐
101
+ videoPageQuestiionsList(1);
102
+ // getQuestiionsList("", 3)
103
+ }
104
+ setShowType(initShowType);
105
+ //获取视频页面推荐问题
106
+ // videoPageQuestiionsList();
107
+ // scrollToBottom();
108
+ }, [
109
+ initShowType
110
+ ]);
94
111
  useEffect(function() {
95
112
  var handleScroll = function handleScroll() {
96
113
  var container = document.getElementById(showType == 1 || showType == 3 ? "chat_content" : "chat_content_modal");
@@ -139,55 +156,31 @@ var CustomerService = function(props) {
139
156
  scrollTopHei.current = scrollTop;
140
157
  };
141
158
  if (showType == 5) {
142
- // 获取屏幕流
143
- // 获取 video 元素和 canvas 元素
144
- // var video = document.getElementById('container_html5_api');
145
- // // const canvas = document.createElement('canvas');
146
- // const canvas = document.getElementById('canvas_test');
147
- // var context = canvas.getContext('2d');
148
- // // 设置 canvas 尺寸
149
- // canvas.width = video.videoWidth/4;
150
- // canvas.height = video.videoHeight/4;
151
- // // 在 canvas 上绘制 video 的当前帧
152
- // context.drawImage(video, 0, 0, canvas.width, canvas.height);
153
- // // 使用 html2canvas 对 canvas 进行截图
154
- // html2canvas(canvas,{
155
- // scale: 1,
156
- // useCORS: true,
157
- // logging: true,
158
- // }).then(function(screenshot) {
159
- // // 将截图显示在页面上,或者进行其他操作
160
- // document.body.appendChild(screenshot);
161
- // setTimeout(()=>{
162
- // let url = screenshot.toDataURL('image/png');
163
- // console.log(url);
164
- // },3000)
165
- // // console.log("container_html5_apicontainer_html5_api",screenshot)
166
- // // console.log(screenshot.toDataURL('image/jpeg'))
167
- // });
168
- // // 显示图片或者做其他操作
169
159
  try {
170
160
  setImgBese64("");
171
- html2canvas(document.getElementsByTagName("html")[0]).then(function(canvas) {
172
- console.log(canvas, 22222);
173
- setTimeout(function() {
174
- var dom = document.getElementById(screenshotAreaId);
175
- //let dom = document.getElementById("container_html5_api");
176
- //let dom = document.getElementsByTagName('html')[0];
177
- html2canvas(dom, {
178
- useCORS: true,
179
- // allowTaint: true, // 污染处理
180
- scale: 1
181
- }).then(function(canvas) {
182
- // document.body.appendChild(canvas);
183
- // document.body.appendChild(canvas);
184
- console.log(canvas, 4444444);
185
- // var base64URL = canvas.toDataURL('image/jpeg')
186
- var base64URL = canvas.toDataURL("image/jpg", 1.0);
187
- setImgBese64(base64URL);
188
- });
189
- }, 100);
161
+ // html2canvas(document.getElementsByTagName('html')[0],{
162
+ // // ignoreElements:(element)=>{
163
+ // // if(element.compareDocumentPosition(dom)===2)return true
164
+ // // return false
165
+ // // }
166
+ // }).then((canvas)=>{
167
+ // console.log(canvas,22222);
168
+ // setTimeout(()=>{
169
+ var dom = document.getElementById(screenshotAreaId);
170
+ html2canvas(dom, {
171
+ useCORS: true,
172
+ // allowTaint: true, // 污染处理
173
+ scale: 1
174
+ }).then(function(canvas) {
175
+ // document.body.appendChild(canvas);
176
+ // document.body.appendChild(canvas);
177
+ console.log(canvas, 99999);
178
+ // var base64URL = canvas.toDataURL('image/jpeg')
179
+ var base64URL = canvas.toDataURL("image/jpg", 1.0);
180
+ setImgBese64(base64URL);
190
181
  });
182
+ // },100)
183
+ // })
191
184
  } catch (error) {
192
185
  console.log(error);
193
186
  }
@@ -228,16 +221,21 @@ var CustomerService = function(props) {
228
221
  buttomHei,
229
222
  showType
230
223
  ]);
224
+ //创建聊天室并获取聊天室列表
231
225
  useEffect(function() {
232
- // console.log(props,'lsdkcmsdlcksd')
233
- // getQuestiionsList("", 1);
234
- setShowType(initShowType);
235
- //获取视频页面推荐问题
236
- videoPageQuestiionsList();
237
- scrollToBottom();
238
- }, [
239
- initShowType
240
- ]);
226
+ createRooms("AI").then(function(res) {
227
+ setRoomId(res.data.id);
228
+ });
229
+ roomsListTimer();
230
+ return function() {
231
+ clearTimeout(receiveMessageTimer.current);
232
+ // clearTimeout(voiceCountdownTimer.current);
233
+ clearTimeout(listTimer.current);
234
+ clearTimeout(timer.current);
235
+ clearTimeout(roomMessage.current);
236
+ clearTimeout(chatRoomList.current);
237
+ };
238
+ }, []);
241
239
  useEffect(function() {
242
240
  if (roomId != "") {
243
241
  if (lastId == "") {
@@ -258,21 +256,6 @@ var CustomerService = function(props) {
258
256
  }, [
259
257
  roomId
260
258
  ]);
261
- //创建聊天室并获取聊天室列表
262
- useEffect(function() {
263
- createRooms("AI").then(function(res) {
264
- setRoomId(res.data.id);
265
- });
266
- roomsListTimer();
267
- return function() {
268
- clearTimeout(receiveMessageTimer.current);
269
- // clearTimeout(voiceCountdownTimer.current);
270
- clearTimeout(listTimer.current);
271
- clearTimeout(timer.current);
272
- clearTimeout(roomMessage.current);
273
- clearTimeout(chatRoomList.current);
274
- };
275
- }, []);
276
259
  //进入页面,发送打招呼信息
277
260
  useEffect(function() {
278
261
  //老师的聊天窗口不发送打招呼信息
@@ -291,9 +274,8 @@ var CustomerService = function(props) {
291
274
  scrollToBottom();
292
275
  }
293
276
  }, [
294
- greetingMessage,
295
- hotQuestionsList
296
- ]);
277
+ greetingMessage
278
+ ]); //hotQuestionsList
297
279
  //查找需要复制的代码
298
280
  var findCopyContent = function(e) {
299
281
  var source = findParent(e.target, styles.copyCode);
@@ -336,10 +318,9 @@ var CustomerService = function(props) {
336
318
  var questionsList = [];
337
319
  var obj = {};
338
320
  if (type == 1) {
339
- var questionsId = [];
321
+ console.log(hotQuestionsList, "33322221111");
340
322
  questionsList = hotQuestionsList.map(function(item, index) {
341
323
  if (index < 3) {
342
- questionsId.push(item.id);
343
324
  return {
344
325
  key: "messageSource",
345
326
  value: item.id,
@@ -350,7 +331,6 @@ var CustomerService = function(props) {
350
331
  return null;
351
332
  }
352
333
  });
353
- recommendeQuestionID.current = questionsId; //保存推荐问题id
354
334
  questionsList = questionsList.filter(function(i) {
355
335
  return i != null;
356
336
  });
@@ -692,9 +672,9 @@ var CustomerService = function(props) {
692
672
  }
693
673
  console.log(type, "接受答案77777");
694
674
  //获取下面的推荐问题
695
- if (type == 2) {
696
- videoPageQuestiionsList(2);
697
- }
675
+ // if(type == 2){
676
+ // videoPageQuestiionsList(2);
677
+ // }
698
678
  http.post("".concat(urllocation, "/chat-service/public/v1.0/history-messages"), obj).then(function(res) {
699
679
  if (res.data.id) {
700
680
  if (pageNumHistory <= 1) {
@@ -773,6 +753,7 @@ var CustomerService = function(props) {
773
753
  "watchTime": watchTime
774
754
  }
775
755
  ];
756
+ obj.regenerate = false;
776
757
  }
777
758
  var data = JSON.stringify(obj);
778
759
  setKeyWord("");
@@ -813,6 +794,10 @@ var CustomerService = function(props) {
813
794
  });
814
795
  scrollToBottom();
815
796
  }
797
+ if (props.config && props.config.type == "video") {
798
+ //先请求问题列表
799
+ videoPageQuestiionsList(3);
800
+ }
816
801
  //使用fetchEventSource接收数据
817
802
  var eventSource = fetchEventSource("".concat(urllocation, "/chat-service/public/v1.0/chat-with-ai/messages"), {
818
803
  method: "POST",
@@ -985,9 +970,23 @@ var CustomerService = function(props) {
985
970
  } else {
986
971
  var newHistoryMessageList2 = list1.map(function(item) {
987
972
  message = item.message + obj.message;
973
+ var extraInfo = [];
974
+ // message = '抱歉,我暂时无法回答这样的问题。'
975
+ if (message == "抱歉,我暂时无法回答这样的问题。") {
976
+ extraInfo = videoHotQuestionsList.current.map(function(str, index) {
977
+ return {
978
+ key: "messageSource",
979
+ value: str.id,
980
+ question: str.question,
981
+ answer: str.answer,
982
+ welcomeMessage: true
983
+ };
984
+ });
985
+ }
988
986
  if (item.id == id) {
989
987
  return _object_spread_props(_object_spread({}, item), {
990
- message: message
988
+ message: message,
989
+ extraInfo: extraInfo == null ? item.extraInfo : JSON.stringify(extraInfo)
991
990
  });
992
991
  } else {
993
992
  return item;
@@ -1314,7 +1313,7 @@ var CustomerService = function(props) {
1314
1313
  } else if (flag == 3) {
1315
1314
  data = {
1316
1315
  page: 1,
1317
- maxPageSize: 4,
1316
+ maxPageSize: 5,
1318
1317
  question: value,
1319
1318
  sectionId: getQuery("s_id")
1320
1319
  };
@@ -1344,18 +1343,29 @@ var CustomerService = function(props) {
1344
1343
  } else {
1345
1344
  setQuestionsList(questionList);
1346
1345
  }
1347
- if (questionList.length < 4 && flag == 3) {
1346
+ if (questionList.length < 5 && flag == 3) {
1348
1347
  console.log("视频页面,联想问题小于4个");
1349
1348
  //视频页面,联想问题小于4个
1350
- getQuestiionsList(value, 4);
1349
+ http.get("".concat(urllocation, "/chat-service/public/v1.0/knowledge-base/questions"), {
1350
+ params: {
1351
+ page: 1,
1352
+ maxPageSize: 5 - questionList.length
1353
+ }
1354
+ }).then(function(res) {
1355
+ if (res.data.questions) {
1356
+ setHotQuestionsList(function(questionList) {
1357
+ return _to_consumable_array(questionList).concat(_to_consumable_array(res.data.questions));
1358
+ });
1359
+ }
1360
+ });
1351
1361
  }
1352
1362
  }
1353
1363
  });
1354
1364
  };
1355
- //获取视频页面热门问题 flag == 1,默认推荐问题 == 2,已经推荐过问题
1365
+ //获取视频页面热门问题 flag == 1,默认推荐问题 == 2,底部渲染问题,flag == 3,ai回答后请求相关问题
1356
1366
  var videoPageQuestiionsList = function() {
1357
1367
  var flag = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 1;
1358
- console.log(props, 3333333);
1368
+ console.log(flag, props, 3333333);
1359
1369
  var config = props.config;
1360
1370
  if (config && config.type == "video" && config.params) {
1361
1371
  var params = config.params;
@@ -1365,9 +1375,7 @@ var CustomerService = function(props) {
1365
1375
  var sectionId = params.VideoBriefSummaryId;
1366
1376
  if (videoId && courseId && sectionId) {
1367
1377
  http.post("".concat(urllocation, "/chat-service/public/v1.0/knowledge-base/questions:recommend"), {
1368
- "recommendedQuestions": flag == 2 ? recommendeQuestionID.current : [
1369
- ""
1370
- ],
1378
+ "recommendedQuestions": [],
1371
1379
  "contexts": [
1372
1380
  {
1373
1381
  "type": "VIDEO",
@@ -1377,22 +1385,32 @@ var CustomerService = function(props) {
1377
1385
  "watchTime": watchTime
1378
1386
  }
1379
1387
  ],
1380
- "maximum": 5
1388
+ "maximum": flag == 1 || flag == 2 ? 3 : 5
1381
1389
  }).then(function(res) {
1382
- console.log(res, 333333);
1383
1390
  if (res.data.total > 0) {
1384
1391
  var data = res.data.questions;
1392
+ if (flag == 3) {
1393
+ // setQuestionsList(data);
1394
+ // setVideoHotQuestionsList(data);
1395
+ videoHotQuestionsList.current = data;
1396
+ return;
1397
+ }
1385
1398
  if (flag == 2) {
1386
1399
  setBottomRecommendationQuestions(data);
1387
1400
  } else {
1388
1401
  setHotQuestionsList(data);
1389
1402
  }
1403
+ var ids = [];
1404
+ data.map(function(str) {
1405
+ ids.push(str.id);
1406
+ });
1407
+ recommendeQuestionID.current = Array.from(new Set(recommendeQuestionID.current.concat(ids)));
1390
1408
  resettingBottomHei();
1391
1409
  scrollToBottom();
1392
- console.log(data, 99999);
1393
- if (data.length < 4) {
1394
- getQuestiionsList("", 4);
1395
- }
1410
+ // console.log(data,99999);
1411
+ // if(data.length < 4){
1412
+ // getQuestiionsList('',4)
1413
+ // }
1396
1414
  }
1397
1415
  }).catch(function() {});
1398
1416
  }
@@ -1777,9 +1795,6 @@ var CustomerService = function(props) {
1777
1795
  var timeObj = parseDate(item.createdAt);
1778
1796
  // console.log(item.message);
1779
1797
  var message = item.message;
1780
- if (message == "抱歉,我暂时无法回答这样的问题。" && props.config && props.config.type == "video") {
1781
- videoPageQuestiionsList(2);
1782
- }
1783
1798
  var li;
1784
1799
  // 是否需要显示日期
1785
1800
  var itemIndex = historyMessageList.findIndex(function(ite) {
@@ -2039,23 +2054,37 @@ var CustomerService = function(props) {
2039
2054
  })
2040
2055
  ]
2041
2056
  }),
2042
- 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", {
2043
- className: styles.association_problem,
2044
- children: JSON.parse(item.extraInfo).map(function(list, index) {
2045
- return /*#__PURE__*/ _jsxs("li", {
2046
- onClick: function() {
2047
- sendMessage(list, 1);
2048
- },
2049
- children: [
2050
- index + 1,
2051
- ".",
2052
- list.question
2053
- ]
2054
- }, i + "_" + index + "_" + list.value);
2055
- })
2057
+ 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", {
2058
+ className: "".concat(styles.association_problem, " ").concat(item.message == "抱歉,我暂时无法回答这样的问题。" ? "association_problem_flag" : ""),
2059
+ children: [
2060
+ item.message == "抱歉,我暂时无法回答这样的问题。" && /*#__PURE__*/ _jsx("li", {
2061
+ className: styles.related_issues_flag,
2062
+ children: /*#__PURE__*/ _jsx("span", {
2063
+ children: "相关问题"
2064
+ })
2065
+ }),
2066
+ JSON.parse(item.extraInfo).map(function(list, index) {
2067
+ return /*#__PURE__*/ _jsx("li", {
2068
+ onClick: function() {
2069
+ sendMessage(list, 1);
2070
+ if (props.config && props.config.type == "video") {
2071
+ //先请求问题列表
2072
+ videoPageQuestiionsList(2);
2073
+ }
2074
+ },
2075
+ children: item.message == "抱歉,我暂时无法回答这样的问题。" ? list.question : /*#__PURE__*/ _jsxs(_Fragment, {
2076
+ children: [
2077
+ index + 1,
2078
+ ".",
2079
+ list.question
2080
+ ]
2081
+ })
2082
+ }, i + "_" + index + "_" + list.value);
2083
+ })
2084
+ ]
2056
2085
  }),
2057
2086
  //findTeacher//是否在召唤老师过程中,是否是最后一条消息
2058
- !item.findTeacher && historyMessageList.length - 1 == i && item.id != "123456" && renderLastOperateBtn(item, isAiChatWindow, i),
2087
+ !item.findTeacher && historyMessageList.length - 1 == i && item.id != "123456" && item.id != "123456_date" && renderLastOperateBtn(item, isAiChatWindow, i),
2059
2088
  //召唤老师回答按钮
2060
2089
  isAiChatWindow && item.findTeacher && userData.modules.some(function(item) {
2061
2090
  return item.short == "TeacherAnswer";
@@ -2281,11 +2310,9 @@ var CustomerService = function(props) {
2281
2310
  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") {
2282
2311
  findTeacherBtn = true;
2283
2312
  }
2313
+ /// style={{position:showStopBtn && isPosition.current ? 'sticky' : 'relative'}}
2284
2314
  return /*#__PURE__*/ _jsxs("div", {
2285
2315
  className: "".concat(styles.operate_modal_bottom),
2286
- style: {
2287
- position: showStopBtn && isPosition.current ? "sticky" : "relative"
2288
- },
2289
2316
  children: [
2290
2317
  /*#__PURE__*/ _jsxs("p", {
2291
2318
  className: styles.stop_generate,
@@ -2555,6 +2582,7 @@ var CustomerService = function(props) {
2555
2582
  className: styles.icon_close,
2556
2583
  onClick: function() {
2557
2584
  setScreenshotBese64("");
2585
+ resettingBottomHei();
2558
2586
  },
2559
2587
  children: /*#__PURE__*/ _jsx(CustomRoundClose, {})
2560
2588
  }),
@@ -2931,7 +2959,7 @@ var CustomerService = function(props) {
2931
2959
  return /*#__PURE__*/ _jsx("div", {
2932
2960
  className: styles.issues_list_flag,
2933
2961
  style: {
2934
- bottom: "".concat(buttomHei, "px")
2962
+ bottom: "".concat(buttomHei - 60, "px")
2935
2963
  },
2936
2964
  id: "BottomAssociationProblem",
2937
2965
  children: bottomRecommendationQuestions.map(function(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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhd-components",
3
- "version": "0.7.9",
3
+ "version": "0.7.10",
4
4
  "description": "组件功能描述",
5
5
  "files": [
6
6
  "esm",