bhd-components 0.9.13 → 0.9.15

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.
@@ -534,7 +534,7 @@ var CustomerService = function(props) {
534
534
  roomId: roomId,
535
535
  sender: "AI",
536
536
  recevier: mid,
537
- message: "Hi,我是智能学习助手,你遇到了什么问题?111",
537
+ message: "Hi,我是智能学习助手,你遇到了什么问题?",
538
538
  extraInfos: questionsList == null ? null : questionsList
539
539
  };
540
540
  if (pageNumHistory <= 1) {
@@ -564,7 +564,7 @@ var CustomerService = function(props) {
564
564
  roomId: roomId,
565
565
  sender: "AI",
566
566
  recevier: mid,
567
- message: "Hi,我是智能学习助手,你遇到了什么问题?222哈哈"
567
+ message: "Hi,我是智能学习助手,你遇到了什么问题?"
568
568
  };
569
569
  if (pageNumHistory <= 1) {
570
570
  setHistoryMessageList(function(historyMessageList) {
@@ -732,117 +732,90 @@ var CustomerService = function(props) {
732
732
  //消息发送给老师type == 1,召唤老师时发送,type == 2,在老师聊天窗口聊天
733
733
  var sendToTeacher = function() {
734
734
  var _ref = _async_to_generator(function(type) {
735
- var message, obj, list, recevier, base64;
735
+ var message, obj, list, recevier;
736
736
  var _arguments = arguments;
737
737
  return _ts_generator(this, function(_state) {
738
- switch(_state.label){
739
- case 0:
740
- message = _arguments.length > 1 && _arguments[1] !== void 0 ? _arguments[1] : "";
741
- console.log("消息发送给老师111");
742
- obj = {};
743
- if (!(type == 1)) return [
744
- 3,
745
- 1
746
- ];
747
- obj = {
748
- roomId: roomId,
749
- sender: mid,
750
- recevier: chatWith.uid,
751
- message: problem.question
752
- };
753
- if (problem.url) {
754
- obj.image = problem.url;
755
- }
756
- setProblem({});
757
- return [
758
- 3,
759
- 4
760
- ];
761
- case 1:
762
- if (!(type == 2 || type == 3)) return [
763
- 3,
764
- 4
765
- ];
766
- list = contactsList.filter(function(item) {
767
- return item.roomId == roomId;
768
- });
769
- recevier = "";
770
- if (list.length > 0) {
771
- recevier = list[0].sender;
772
- }
773
- obj = {
774
- roomId: roomId,
775
- sender: mid,
776
- recevier: recevier,
777
- message: type == 2 ? keyWord : message,
778
- quotedMessage: citationContent.content || ""
779
- };
780
- if (!citationContent.imageUrl) return [
781
- 3,
782
- 3
783
- ];
784
- return [
785
- 4,
786
- urlToBase64(citationContent.imageUrl)
787
- ];
788
- case 2:
789
- base64 = _state.sent();
790
- console.log("citationContent.imageUrl", citationContent.imageUrl);
791
- //imageUrl = citationContent.imageUrl;
792
- obj.image = base64;
793
- _state.label = 3;
794
- case 3:
795
- if (screenshotBese64) {
796
- obj.image = screenshotBese64;
797
- setScreenshotBese64("");
798
- }
799
- _state.label = 4;
800
- case 4:
801
- http.post("".concat(urllocation, "/chat-service/public/v1.0/chat-with-user/messages"), obj).then(function(res) {
802
- if (res.data.id) {
803
- // console.log(pageNum, pageNumHistory, lastId, "dlskskdsd4444");
804
- if (pageNum == 1 || pageNumHistory == 1 || pageNumHistory == 0) {
805
- setHistoryMessageList(function(historyMessageList) {
806
- var newHistoryMessageList = historyMessageList.concat(_object_spread_props(_object_spread({}, obj), {
807
- id: res.data.id,
808
- upvoted: false,
809
- downvoted: false,
810
- createdAt: getDataTime(-1),
811
- extraInfo: obj.image ? JSON.stringify([
812
- {
813
- key: "imageUrl",
814
- value: obj.image
815
- }
816
- ]) : null
817
- }));
818
- return newHistoryMessageList;
819
- });
820
- // console.log(lastId,'消息发送给老师111');
821
- scrollToBottom();
822
- }
823
- //判断当前窗口是否是
824
- if (type == 1) {
825
- var roomList = [
738
+ message = _arguments.length > 1 && _arguments[1] !== void 0 ? _arguments[1] : "";
739
+ console.log("消息发送给老师111");
740
+ obj = {};
741
+ if (type == 1) {
742
+ obj = {
743
+ roomId: roomId,
744
+ sender: mid,
745
+ recevier: chatWith.uid,
746
+ message: problem.question
747
+ };
748
+ if (problem.url) {
749
+ obj.image = problem.url;
750
+ }
751
+ setProblem({});
752
+ } else if (type == 2 || type == 3) {
753
+ list = contactsList.filter(function(item) {
754
+ return item.roomId == roomId;
755
+ });
756
+ recevier = "";
757
+ if (list.length > 0) {
758
+ recevier = list[0].sender;
759
+ }
760
+ obj = {
761
+ roomId: roomId,
762
+ sender: mid,
763
+ recevier: recevier,
764
+ message: type == 2 ? keyWord : message,
765
+ quotedMessage: citationContent.content || ""
766
+ };
767
+ if (citationContent.imageUrl) {
768
+ obj.image = citationContent.imageUrl;
769
+ }
770
+ if (screenshotBese64) {
771
+ obj.image = screenshotBese64;
772
+ setScreenshotBese64("");
773
+ }
774
+ }
775
+ http.post("".concat(urllocation, "/chat-service/public/v1.0/chat-with-user/messages"), obj).then(function(res) {
776
+ if (res.data.id) {
777
+ // console.log(pageNum, pageNumHistory, lastId, "dlskskdsd4444");
778
+ if (pageNum == 1 || pageNumHistory == 1 || pageNumHistory == 0) {
779
+ setHistoryMessageList(function(historyMessageList) {
780
+ var newHistoryMessageList = historyMessageList.concat(_object_spread_props(_object_spread({}, obj), {
781
+ id: res.data.id,
782
+ upvoted: false,
783
+ downvoted: false,
784
+ createdAt: getDataTime(-1),
785
+ extraInfo: obj.image ? JSON.stringify([
826
786
  {
827
- roomId: roomId,
828
- id: res.data.id
787
+ key: "imageUrl",
788
+ value: obj.image
829
789
  }
830
- ];
831
- setChatObj(function(list) {
832
- var list2 = list.filter(function(item) {
833
- return item.id != roomList[0].id;
834
- });
835
- return list2.concat(roomList);
836
- });
790
+ ]) : null
791
+ }));
792
+ return newHistoryMessageList;
793
+ });
794
+ // console.log(lastId,'消息发送给老师111');
795
+ scrollToBottom();
796
+ }
797
+ //判断当前窗口是否是
798
+ if (type == 1) {
799
+ var roomList = [
800
+ {
801
+ roomId: roomId,
802
+ id: res.data.id
837
803
  }
838
- }
839
- }).catch(function(err) {
840
- console.log(err);
841
- });
842
- return [
843
- 2
844
- ];
845
- }
804
+ ];
805
+ setChatObj(function(list) {
806
+ var list2 = list.filter(function(item) {
807
+ return item.id != roomList[0].id;
808
+ });
809
+ return list2.concat(roomList);
810
+ });
811
+ }
812
+ }
813
+ }).catch(function(err) {
814
+ console.log(err);
815
+ });
816
+ return [
817
+ 2
818
+ ];
846
819
  });
847
820
  });
848
821
  return function sendToTeacher(type) {
@@ -958,9 +931,9 @@ var CustomerService = function(props) {
958
931
  ];
959
932
  case 2:
960
933
  base64 = _state.sent();
934
+ console.log("base64", base64);
961
935
  console.log("citationContent.imageUrl", citationContent.imageUrl);
962
- sendData1.image = citationContent.imageUrl;
963
- //imageUrl = citationContent.imageUrl;
936
+ sendData1.image = base64;
964
937
  imageUrl = base64;
965
938
  _state.label = 3;
966
939
  case 3:
@@ -2441,171 +2414,169 @@ var CustomerService = function(props) {
2441
2414
  }),
2442
2415
  /*#__PURE__*/ _jsx("div", {
2443
2416
  className: styles.main,
2444
- children: /*#__PURE__*/ _jsxs("div", {
2417
+ children: /*#__PURE__*/ _jsx("div", {
2445
2418
  className: styles.main_content,
2446
- children: [
2447
- /*#__PURE__*/ _jsxs("div", {
2448
- className: styles.main_content_flag,
2449
- onMouseEnter: function() {
2450
- var dom = document.getElementById(item.id);
2451
- if (dom) {
2452
- var con_h = document.getElementById("chat_content").clientHeight - 24; //滚动区域的高度
2453
- var rectY = dom.getBoundingClientRect().y - 48;
2454
- var h = dom.clientHeight + 24; //当前元素高度
2455
- var topDom = dom.getElementsByClassName("operate_modal_showtop")[0];
2456
- var bottomDom = dom.getElementsByClassName("operate_modal_showbottom")[0];
2457
- if (topDom && bottomDom) {
2458
- console.log(h, con_h, rectY);
2459
- if (rectY > 0) {
2460
- topDom.style.cssText = "";
2461
- bottomDom.style.cssText = "visibility: hidden;";
2462
- // 上下都能显示时,显示到下边
2463
- if (h < con_h - rectY) {
2464
- topDom.style.cssText = "visibility: hidden;";
2465
- bottomDom.style.cssText = "";
2466
- }
2419
+ children: /*#__PURE__*/ _jsxs("div", {
2420
+ className: styles.main_content_flag,
2421
+ onMouseEnter: function() {
2422
+ var dom = document.getElementById(item.id);
2423
+ if (dom) {
2424
+ var con_h = document.getElementById("chat_content").clientHeight - 24; //滚动区域的高度
2425
+ var rectY = dom.getBoundingClientRect().y - 48;
2426
+ var h = dom.clientHeight + 24; //当前元素高度
2427
+ var topDom = dom.getElementsByClassName("operate_modal_showtop")[0];
2428
+ var bottomDom = dom.getElementsByClassName("operate_modal_showbottom")[0];
2429
+ if (topDom && bottomDom) {
2430
+ console.log(h, con_h, rectY);
2431
+ if (rectY > 0) {
2432
+ topDom.style.cssText = "";
2433
+ bottomDom.style.cssText = "visibility: hidden;";
2434
+ // 上下都能显示时,显示到下边
2435
+ if (h < con_h - rectY) {
2436
+ topDom.style.cssText = "visibility: hidden;";
2437
+ bottomDom.style.cssText = "";
2438
+ }
2439
+ } else {
2440
+ // 上下都不显示
2441
+ if (h > con_h && h - con_h > Math.abs(rectY)) {
2442
+ console.log("rerererererer");
2443
+ topDom.style.cssText = "visibility: hidden;";
2444
+ bottomDom.style.cssText = "top:".concat(-(h + rectY - 51), "px");
2467
2445
  } else {
2468
- // 上下都不显示
2469
- if (h > con_h && h - con_h > Math.abs(rectY)) {
2470
- console.log("rerererererer");
2471
- topDom.style.cssText = "visibility: hidden;";
2472
- bottomDom.style.cssText = "top:".concat(-(h + rectY - 51), "px");
2473
- } else {
2474
- topDom.style.cssText = "visibility: hidden;";
2475
- bottomDom.style.cssText = "";
2476
- }
2446
+ topDom.style.cssText = "visibility: hidden;";
2447
+ bottomDom.style.cssText = "";
2477
2448
  }
2478
2449
  }
2479
2450
  }
2480
- },
2481
- children: [
2482
- /*#__PURE__*/ _jsx("div", {
2483
- className: "".concat(styles.operate_modal, " operate_modal_showtop"),
2484
- children: // 不是最后一行,
2485
- historyMessageList.length - 1 != i && renderOperateBtn(item, isAiChatWindow, i)
2486
- }),
2487
- /*#__PURE__*/ _jsxs("div", {
2488
- className: styles.content,
2489
- children: [
2490
- item.message != "AI助手繁忙,请稍后再提问或" && /*#__PURE__*/ _jsx("p", {
2491
- dangerouslySetInnerHTML: {
2492
- __html: message
2493
- },
2494
- className: styles.content_child
2495
- }),
2496
- item.message == "AI助手繁忙,请稍后再提问或" && /*#__PURE__*/ _jsxs("p", {
2497
- children: [
2498
- "AI助手繁忙,请稍后再提问或",
2499
- /*#__PURE__*/ _jsx("span", {
2500
- className: styles.find_teacher_con,
2451
+ }
2452
+ },
2453
+ children: [
2454
+ /*#__PURE__*/ _jsx("div", {
2455
+ className: "".concat(styles.operate_modal, " operate_modal_showtop"),
2456
+ children: // 不是最后一行,
2457
+ historyMessageList.length - 1 != i && renderOperateBtn(item, isAiChatWindow, i)
2458
+ }),
2459
+ /*#__PURE__*/ _jsxs("div", {
2460
+ className: styles.content,
2461
+ children: [
2462
+ item.message != "AI助手繁忙,请稍后再提问或" && /*#__PURE__*/ _jsx("p", {
2463
+ dangerouslySetInnerHTML: {
2464
+ __html: message
2465
+ },
2466
+ className: styles.content_child
2467
+ }),
2468
+ item.message == "AI助手繁忙,请稍后再提问或" && /*#__PURE__*/ _jsxs("p", {
2469
+ children: [
2470
+ "AI助手繁忙,请稍后再提问或",
2471
+ /*#__PURE__*/ _jsx("span", {
2472
+ className: styles.find_teacher_con,
2473
+ onClick: function() {
2474
+ var extraInfo = historyMessageList[i - 1].extraInfo;
2475
+ var url = "";
2476
+ if (extraInfo && JSON.parse(extraInfo).length > 0 && JSON.parse(extraInfo)[0].key == "imageUrl" && JSON.parse(extraInfo)[0].value) {
2477
+ url = JSON.parse(extraInfo)[0].value;
2478
+ }
2479
+ setProblem({
2480
+ question: historyMessageList[i - 1].message,
2481
+ url: url
2482
+ });
2483
+ setShowTeacherList(true);
2484
+ },
2485
+ children: "召唤老师回答"
2486
+ })
2487
+ ]
2488
+ }),
2489
+ !item.quotedMessage && item.extraInfo && JSON.parse(item.extraInfo).length > 0 && JSON.parse(item.extraInfo)[0].key == "imageUrl" && /*#__PURE__*/ _jsxs("p", {
2490
+ className: "".concat(styles.img_con, " ").concat(showType == 2 || showType == 4 ? styles.img_con2 : ""),
2491
+ children: [
2492
+ /*#__PURE__*/ _jsx("img", {
2493
+ src: JSON.parse(item.extraInfo)[0].value
2494
+ }),
2495
+ /*#__PURE__*/ _jsx("div", {
2496
+ className: styles.mask_zoom,
2497
+ children: /*#__PURE__*/ _jsx(ZoomInOutlined, {
2501
2498
  onClick: function() {
2502
- var extraInfo = historyMessageList[i - 1].extraInfo;
2503
- var url = "";
2504
- if (extraInfo && JSON.parse(extraInfo).length > 0 && JSON.parse(extraInfo)[0].key == "imageUrl" && JSON.parse(extraInfo)[0].value) {
2505
- url = JSON.parse(extraInfo)[0].value;
2506
- }
2507
- setProblem({
2508
- question: historyMessageList[i - 1].message,
2509
- url: url
2510
- });
2511
- setShowTeacherList(true);
2512
- },
2513
- children: "召唤老师回答"
2499
+ setViewBase64(JSON.parse(item.extraInfo)[0].value);
2500
+ setVisible(true);
2501
+ }
2514
2502
  })
2515
- ]
2516
- }),
2517
- item.extraInfo && JSON.parse(item.extraInfo).length > 0 && JSON.parse(item.extraInfo)[0].key == "imageUrl" && /*#__PURE__*/ _jsxs("p", {
2518
- className: "".concat(styles.img_con, " ").concat(showType == 2 || showType == 4 ? styles.img_con2 : ""),
2519
- children: [
2520
- /*#__PURE__*/ _jsx("img", {
2521
- src: JSON.parse(item.extraInfo)[0].value
2522
- }),
2523
- /*#__PURE__*/ _jsx("div", {
2524
- className: styles.mask_zoom,
2525
- children: /*#__PURE__*/ _jsx(ZoomInOutlined, {
2526
- onClick: function() {
2527
- setViewBase64(JSON.parse(item.extraInfo)[0].value);
2528
- setVisible(true);
2529
- }
2530
- })
2503
+ })
2504
+ ]
2505
+ }),
2506
+ item.extraInfo && JSON.parse(item.extraInfo).length > 0 && JSON.parse(item.extraInfo)[0].key == "messageSource" && JSON.parse(item.extraInfo)[0].value != "knowledgebase" && /*#__PURE__*/ _jsxs("ul", {
2507
+ className: "".concat(styles.association_problem, " ").concat(item.message == "抱歉,我暂时无法回答这样的问题。" ? styles.association_problem_flag : ""),
2508
+ children: [
2509
+ item.message == "抱歉,我暂时无法回答这样的问题。" && /*#__PURE__*/ _jsx("li", {
2510
+ className: styles.related_issues_flag,
2511
+ children: /*#__PURE__*/ _jsx("span", {
2512
+ children: "相关问题"
2531
2513
  })
2532
- ]
2533
- }),
2534
- item.extraInfo && JSON.parse(item.extraInfo).length > 0 && JSON.parse(item.extraInfo)[0].key == "messageSource" && JSON.parse(item.extraInfo)[0].value != "knowledgebase" && /*#__PURE__*/ _jsxs("ul", {
2535
- className: "".concat(styles.association_problem, " ").concat(item.message == "抱歉,我暂时无法回答这样的问题。" ? styles.association_problem_flag : ""),
2536
- children: [
2537
- item.message == "抱歉,我暂时无法回答这样的问题。" && /*#__PURE__*/ _jsx("li", {
2538
- className: styles.related_issues_flag,
2539
- children: /*#__PURE__*/ _jsx("span", {
2540
- children: "相关问题"
2514
+ }),
2515
+ JSON.parse(item.extraInfo).map(function(list, index) {
2516
+ return /*#__PURE__*/ _jsx("li", {
2517
+ onClick: function() {
2518
+ sendMessage(list, 1);
2519
+ setBottomRecommendationQuestions([]);
2520
+ resettingBottomHei();
2521
+ },
2522
+ children: item.message == "抱歉,我暂时无法回答这样的问题。" ? list.question : /*#__PURE__*/ _jsxs(_Fragment, {
2523
+ children: [
2524
+ JSON.parse(item.extraInfo).length > 1 ? index + 1 + "." : "",
2525
+ list.question
2526
+ ]
2541
2527
  })
2542
- }),
2543
- JSON.parse(item.extraInfo).map(function(list, index) {
2544
- return /*#__PURE__*/ _jsx("li", {
2545
- onClick: function() {
2546
- sendMessage(list, 1);
2547
- setBottomRecommendationQuestions([]);
2548
- resettingBottomHei();
2549
- },
2550
- children: item.message == "抱歉,我暂时无法回答这样的问题。" ? list.question : /*#__PURE__*/ _jsxs(_Fragment, {
2551
- children: [
2552
- JSON.parse(item.extraInfo).length > 1 ? index + 1 + "." : "",
2553
- list.question
2554
- ]
2555
- })
2556
- }, i + "_" + index + "_" + list.value);
2557
- })
2528
+ }, i + "_" + index + "_" + list.value);
2529
+ })
2530
+ ]
2531
+ }),
2532
+ //findTeacher//是否在召唤老师过程中,是否是最后一条消息
2533
+ !item.findTeacher && historyMessageList.length - 1 == i && item.id != "123456" && item.id != "123456_date" && renderLastOperateBtn(item, isAiChatWindow, i)
2534
+ ]
2535
+ }),
2536
+ //引用消息
2537
+ item.quotedMessage && /*#__PURE__*/ _jsxs("div", {
2538
+ className: styles.citation_content,
2539
+ children: [
2540
+ getByteLen(item.quotedMessage) > 120 ? /*#__PURE__*/ _jsx(Tooltip, {
2541
+ overlayClassName: styles.popover_main_content,
2542
+ title: item.quotedMessage,
2543
+ placement: "rightTop",
2544
+ children: /*#__PURE__*/ _jsxs("p", {
2545
+ className: styles.text_exceed,
2546
+ children: [
2547
+ item.quotedMessage,
2548
+ /*#__PURE__*/ _jsx(RightOutlined, {})
2558
2549
  ]
2559
- }),
2560
- //findTeacher//是否在召唤老师过程中,是否是最后一条消息
2561
- !item.findTeacher && historyMessageList.length - 1 == i && item.id != "123456" && item.id != "123456_date" && renderLastOperateBtn(item, isAiChatWindow, i)
2562
- ]
2563
- }),
2564
- historyMessageList.length - 1 !== i && /*#__PURE__*/ _jsx("div", {
2565
- className: "".concat(styles.operate_modal, " ").concat(styles.bottom, " operate_modal_showbottom"),
2566
- children: // 不是最后一行,
2567
- renderOperateBtn(item, isAiChatWindow, i)
2568
- })
2569
- ]
2570
- }),
2571
- //引用消息
2572
- item.quotedMessage && /*#__PURE__*/ _jsxs("div", {
2573
- className: styles.citation_content,
2574
- children: [
2575
- getByteLen(item.quotedMessage) > 120 ? /*#__PURE__*/ _jsx(Tooltip, {
2576
- overlayClassName: styles.popover_main_content,
2577
- title: item.quotedMessage,
2578
- placement: "rightTop",
2579
- children: /*#__PURE__*/ _jsxs("p", {
2580
- className: styles.text_exceed,
2550
+ })
2551
+ }) : /*#__PURE__*/ _jsx("p", {
2552
+ children: item.quotedMessage
2553
+ }),
2554
+ item.quotedMessage && item.extraInfo && JSON.parse(item.extraInfo).length > 0 && JSON.parse(item.extraInfo)[0].key == "imageUrl" && /*#__PURE__*/ _jsxs("p", {
2555
+ className: "".concat(styles.img_con, " ").concat(showType == 2 || showType == 4 ? styles.img_con2 : ""),
2581
2556
  children: [
2582
- item.quotedMessage,
2583
- /*#__PURE__*/ _jsx(RightOutlined, {})
2557
+ /*#__PURE__*/ _jsx("img", {
2558
+ src: JSON.parse(item.extraInfo)[0].value
2559
+ }),
2560
+ /*#__PURE__*/ _jsx("div", {
2561
+ className: styles.mask_zoom,
2562
+ children: /*#__PURE__*/ _jsx(ZoomInOutlined, {
2563
+ onClick: function() {
2564
+ setViewBase64(JSON.parse(item.extraInfo)[0].value);
2565
+ setVisible(true);
2566
+ }
2567
+ })
2568
+ })
2584
2569
  ]
2585
2570
  })
2586
- }) : /*#__PURE__*/ _jsx("p", {
2587
- children: item.quotedMessage
2588
- }),
2589
- item.extraInfo && JSON.parse(item.extraInfo).length > 0 && JSON.parse(item.extraInfo)[0].key == "imageUrl" && /*#__PURE__*/ _jsxs("p", {
2590
- className: "".concat(styles.img_con, " ").concat(showType == 2 || showType == 4 ? styles.img_con2 : ""),
2591
- children: [
2592
- /*#__PURE__*/ _jsx("img", {
2593
- src: JSON.parse(item.extraInfo)[0].value
2594
- }),
2595
- /*#__PURE__*/ _jsx("div", {
2596
- className: styles.mask_zoom,
2597
- children: /*#__PURE__*/ _jsx(ZoomInOutlined, {
2598
- onClick: function() {
2599
- setViewBase64(JSON.parse(item.extraInfo)[0].value);
2600
- setVisible(true);
2601
- }
2602
- })
2603
- })
2604
- ]
2605
- })
2606
- ]
2607
- })
2608
- ]
2571
+ ]
2572
+ }),
2573
+ historyMessageList.length - 1 !== i && /*#__PURE__*/ _jsx("div", {
2574
+ className: "".concat(styles.operate_modal, " ").concat(styles.bottom, " operate_modal_showbottom"),
2575
+ children: // 不是最后一行,
2576
+ renderOperateBtn(item, isAiChatWindow, i)
2577
+ })
2578
+ ]
2579
+ })
2609
2580
  })
2610
2581
  })
2611
2582
  ]
@@ -1956,6 +1956,11 @@
1956
1956
  line-height: 100%; /* 14px */
1957
1957
  }
1958
1958
  }
1959
+ :global{
1960
+ .bhd-spin-nested-loading{
1961
+ height:calc(100% - 130px)
1962
+ }
1963
+ }
1959
1964
  }
1960
1965
  }
1961
1966
  @keyframes mymove {
@@ -1946,6 +1946,11 @@
1946
1946
  line-height: 100%; /* 14px */
1947
1947
  }
1948
1948
  }
1949
+ :global{
1950
+ .bhd-spin-nested-loading{
1951
+ height:calc(100% - 130px)
1952
+ }
1953
+ }
1949
1954
  }
1950
1955
  }
1951
1956
  @keyframes mymove {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhd-components",
3
- "version": "0.9.13",
3
+ "version": "0.9.15",
4
4
  "description": "组件功能描述",
5
5
  "config": {
6
6
  "commitizen": {