bhd-components 0.7.17 → 0.7.19
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.
- package/README.md +1 -1
- package/dist/{1728c440.esm.es5.production.js → 6b71e230.esm.es5.production.js} +1 -1
- package/dist/{ca9b7f2c.esm.es5.development.js → f4d1939b.esm.es5.development.js} +96 -72
- package/dist/index.esm.es5.development.css +1984 -1980
- package/dist/index.esm.es5.development.js +90 -66
- package/dist/index.esm.es5.production.css +1 -1
- package/dist/index.esm.es5.production.js +1 -1
- package/es2017/customerService/index.d.ts +0 -1
- package/es2017/customerService/index.js +88 -62
- package/es2017/customerService/index.module.less +4 -2
- package/es2017/customerService/index2.module.less +4 -2
- package/esm/customerService/index.d.ts +0 -1
- package/esm/customerService/index.js +88 -64
- package/esm/customerService/index.module.less +4 -2
- package/esm/customerService/index2.module.less +4 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z as zhCN, C as ConfigProvider, _ as _extends, a as _object_destructuring_empty, j as jsx, b as _object_spread_props, S as StyleProvider, t as transform, c as _object_spread, d as _sliced_to_array, T as Tooltip, e as Table$2, I as Icon, f as jsxs, m as message, E as ExclamationCircleFilled, P as Pagination, g as Select, h as CaretDownOutlined, M as Modal, i as _inherits, k as _create_super, l as _create_class, n as _class_call_check, o as _define_property, p as _assert_this_initialized, q as _async_to_generator, L as LeftOutlined, R as RightOutlined, r as MinusOutlined, s as PlusOutlined, u as __generator, v as Input, w as SearchOutlined, x as CloseOutlined, X, y as I, H, A as Remarkable, D as Drawer, B as HighlightJS, Z as ZoomInOutlined, F as _to_consumable_array } from './
|
|
2
|
-
export { G as Affix, J as Alert, K as Anchor, aF as App, N as AutoComplete, O as Avatar, U as BackTop, V as Badge, W as Breadcrumb, Y as Button, $ as Calendar, a0 as Card, a1 as Carousel, a2 as Cascader, a3 as Checkbox, a4 as Col, a5 as Collapse, a6 as DatePicker, a7 as Descriptions, a8 as Divider, D as Drawer, a9 as Dropdown, aa as Empty, Q as FloatButton, ab as Form, ac as Grid, ad as Image, v as Input, ae as InputNumber, af as Layout, ag as List, ah as Mentions, ai as Menu, M as Modal, ak as Popconfirm, al as Popover, am as Progress, aM as QRCode, an as Radio, ao as Rate, ap as Result, aq as Row, ar as Segmented, g as Select, as as Skeleton, at as Slider, au as Space, av as Spin, aw as Statistic, ax as Steps, ay as Switch, az as Tabs, aA as Tag, aC as TimePicker, aD as Timeline, T as Tooltip, aE as Tour, aG as Transfer, aH as Tree, aI as TreeSelect, aJ as Typography, aK as Upload, aL as Watermark, aO as en_US, aj as notification, aB as theme, aN as version, z as zh_CN } from './
|
|
1
|
+
import { z as zhCN, C as ConfigProvider, _ as _extends, a as _object_destructuring_empty, j as jsx, b as _object_spread_props, S as StyleProvider, t as transform, c as _object_spread, d as _sliced_to_array, T as Tooltip, e as Table$2, I as Icon, f as jsxs, m as message, E as ExclamationCircleFilled, P as Pagination, g as Select, h as CaretDownOutlined, M as Modal, i as _inherits, k as _create_super, l as _create_class, n as _class_call_check, o as _define_property, p as _assert_this_initialized, q as _async_to_generator, L as LeftOutlined, R as RightOutlined, r as MinusOutlined, s as PlusOutlined, u as __generator, v as Input, w as SearchOutlined, x as CloseOutlined, X, y as I, H, A as Remarkable, D as Drawer, B as HighlightJS, Z as ZoomInOutlined, F as _to_consumable_array } from './f4d1939b.esm.es5.development.js';
|
|
2
|
+
export { G as Affix, J as Alert, K as Anchor, aF as App, N as AutoComplete, O as Avatar, U as BackTop, V as Badge, W as Breadcrumb, Y as Button, $ as Calendar, a0 as Card, a1 as Carousel, a2 as Cascader, a3 as Checkbox, a4 as Col, a5 as Collapse, a6 as DatePicker, a7 as Descriptions, a8 as Divider, D as Drawer, a9 as Dropdown, aa as Empty, Q as FloatButton, ab as Form, ac as Grid, ad as Image, v as Input, ae as InputNumber, af as Layout, ag as List, ah as Mentions, ai as Menu, M as Modal, ak as Popconfirm, al as Popover, am as Progress, aM as QRCode, an as Radio, ao as Rate, ap as Result, aq as Row, ar as Segmented, g as Select, as as Skeleton, at as Slider, au as Space, av as Spin, aw as Statistic, ax as Steps, ay as Switch, az as Tabs, aA as Tag, aC as TimePicker, aD as Timeline, T as Tooltip, aE as Tour, aG as Transfer, aH as Tree, aI as TreeSelect, aJ as Typography, aK as Upload, aL as Watermark, aO as en_US, aj as notification, aB as theme, aN as version, z as zh_CN } from './f4d1939b.esm.es5.development.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { useState, useRef, useEffect, useLayoutEffect, forwardRef, useImperativeHandle } from 'react';
|
|
5
5
|
import { Fragment } from 'react/jsx-runtime';
|
|
@@ -3166,7 +3166,7 @@ var AppViewImage = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
3166
3166
|
});
|
|
3167
3167
|
var ViewImage$1 = AppViewImage;
|
|
3168
3168
|
|
|
3169
|
-
var modules_63b47c51 = {"service_ChatWindow_Drawer":"
|
|
3169
|
+
var modules_63b47c51 = {"service_ChatWindow_Drawer":"index_module_service_ChatWindow_Drawer__bd0d280d","ChatWindow_Modal":"index_module_ChatWindow_Modal__bd0d280d","ChatWindow_Drawer":"index_module_ChatWindow_Drawer__bd0d280d","header_wrap":"index_module_header_wrap__bd0d280d","top":"index_module_top__bd0d280d","user":"index_module_user__bd0d280d","count":"index_module_count__bd0d280d","operate":"index_module_operate__bd0d280d","line":"index_module_line__bd0d280d","popover_main":"index_module_popover_main__bd0d280d","popover":"index_module_popover__bd0d280d","header_wrap_newlabo":"index_module_header_wrap_newlabo__bd0d280d","Drawer_main":"index_module_Drawer_main__bd0d280d","loading":"index_module_loading__bd0d280d","message_con":"index_module_message_con__bd0d280d","left":"index_module_left__bd0d280d","head_sculpture":"index_module_head_sculpture__bd0d280d","main_content":"index_module_main_content__bd0d280d","right":"index_module_right__bd0d280d","main":"index_module_main__bd0d280d","main_content_flag":"index_module_main_content_flag__bd0d280d","operate_modal":"index_module_operate_modal__bd0d280d","operate_modal_bottom":"index_module_operate_modal_bottom__bd0d280d","active":"index_module_active__bd0d280d","stop_generate":"index_module_stop_generate__bd0d280d","icon":"index_module_icon__bd0d280d","find_teacher":"index_module_find_teacher__bd0d280d","stop_findTeacher":"index_module_stop_findTeacher__bd0d280d","content":"index_module_content__bd0d280d","content_child":"index_module_content_child__bd0d280d","sign":"index_module_sign__bd0d280d","ask_question":"index_module_ask_question__bd0d280d","association_problem":"index_module_association_problem__bd0d280d","association_problem_flag":"index_module_association_problem_flag__bd0d280d","related_issues_flag":"index_module_related_issues_flag__bd0d280d","img_con":"index_module_img_con__bd0d280d","mask_zoom":"index_module_mask_zoom__bd0d280d","img_con2":"index_module_img_con2__bd0d280d","copyCode":"index_module_copyCode__bd0d280d","time":"index_module_time__bd0d280d","citation_content":"index_module_citation_content__bd0d280d","text_exceed":"index_module_text_exceed__bd0d280d","popover_content":"index_module_popover_content__bd0d280d","Drawer_main_newlabo":"index_module_Drawer_main_newlabo__bd0d280d","Drawer_main_newlabo_no_pic":"index_module_Drawer_main_newlabo_no_pic__bd0d280d","Drawer_buttom_Issues_List":"index_module_Drawer_buttom_Issues_List__bd0d280d","issues_list_teacherList":"index_module_issues_list_teacherList__bd0d280d","item":"index_module_item__bd0d280d","issues_list":"index_module_issues_list__bd0d280d","issues_list_flag":"index_module_issues_list_flag__bd0d280d","Drawer_buttom":"index_module_Drawer_buttom__bd0d280d","input_wrap":"index_module_input_wrap__bd0d280d","input":"index_module_input__bd0d280d","picture_layout":"index_module_picture_layout__bd0d280d","icon_close":"index_module_icon_close__bd0d280d","icon_zoom":"index_module_icon_zoom__bd0d280d","anticon":"index_module_anticon__bd0d280d","no_AI":"index_module_no_AI__bd0d280d","screenshot":"index_module_screenshot__bd0d280d","disabled":"index_module_disabled__bd0d280d","content_main":"index_module_content_main__bd0d280d","content_con":"index_module_content_con__bd0d280d","delete_quote":"index_module_delete_quote__bd0d280d","sending":"index_module_sending__bd0d280d","Drawer_buttom_Issues_List_newlabo":"index_module_Drawer_buttom_Issues_List_newlabo__bd0d280d","main_list":"index_module_main_list__bd0d280d","chat_content":"index_module_chat_content__bd0d280d","popover_main_content":"index_module_popover_main_content__bd0d280d","popover_main_content_name":"index_module_popover_main_content_name__bd0d280d","teacher_layout":"index_module_teacher_layout__bd0d280d","bottom":"index_module_bottom__bd0d280d","delete":"index_module_delete__bd0d280d","num":"index_module_num__bd0d280d","shrink":"index_module_shrink__bd0d280d","teacher_layout_newlabo":"index_module_teacher_layout_newlabo__bd0d280d","teacher_layout_modal":"index_module_teacher_layout_modal__bd0d280d","ai":"index_module_ai__bd0d280d","user_info":"index_module_user_info__bd0d280d","message":"index_module_message__bd0d280d","con":"index_module_con__bd0d280d","teacher_layout_modal_newlabo":"index_module_teacher_layout_modal_newlabo__bd0d280d","history_list":"index_module_history_list__bd0d280d","search_layout":"index_module_search_layout__bd0d280d","mymove":"index_module_mymove__bd0d280d","title":"index_module_title__bd0d280d","search_top":"index_module_search_top__bd0d280d","list_item":"index_module_list_item__bd0d280d","list_summary":"index_module_list_summary__bd0d280d","head_img":"index_module_head_img__bd0d280d","list_desc":"index_module_list_desc__bd0d280d","name":"index_module_name__bd0d280d","decs":"index_module_decs__bd0d280d","open":"index_module_open__bd0d280d","list_summary_active":"index_module_list_summary_active__bd0d280d","list_detail":"index_module_list_detail__bd0d280d","list":"index_module_list__bd0d280d","list_more":"index_module_list_more__bd0d280d","no_data":"index_module_no_data__bd0d280d","history_list_broadside":"index_module_history_list_broadside__bd0d280d","screenshot_Modal":"index_module_screenshot_Modal__bd0d280d","screenshot_Modal_btn":"index_module_screenshot_Modal_btn__bd0d280d"};
|
|
3170
3170
|
|
|
3171
3171
|
//消息已读
|
|
3172
3172
|
var readMessage = function(roomId, urllocation, userData, http) {
|
|
@@ -4220,29 +4220,23 @@ var CustomerService = function(props) {
|
|
|
4220
4220
|
if (showType == 5 || showScreenshot) {
|
|
4221
4221
|
try {
|
|
4222
4222
|
setImgBese64("");
|
|
4223
|
-
//
|
|
4224
|
-
|
|
4225
|
-
// // if(element.compareDocumentPosition(dom)===2)return true
|
|
4226
|
-
// // return false
|
|
4227
|
-
// // }
|
|
4228
|
-
// }).then((canvas)=>{
|
|
4229
|
-
// console.log(canvas,22222);
|
|
4230
|
-
// setTimeout(()=>{
|
|
4231
|
-
var dom = document.getElementById(screenshotAreaId);
|
|
4232
|
-
html2canvas(dom, {
|
|
4223
|
+
// let dom = document.getElementById(screenshotAreaId);
|
|
4224
|
+
html2canvas(screenshotAreaId, {
|
|
4233
4225
|
useCORS: true,
|
|
4234
4226
|
// allowTaint: true, // 污染处理
|
|
4235
|
-
scale: 1
|
|
4227
|
+
scale: 1,
|
|
4228
|
+
// logging:true,
|
|
4229
|
+
ignoreElements: function(element) {
|
|
4230
|
+
if (element.compareDocumentPosition(screenshotAreaId) === 2) return true;
|
|
4231
|
+
return false;
|
|
4232
|
+
}
|
|
4236
4233
|
}).then(function(canvas) {
|
|
4237
|
-
// document.body.appendChild(canvas);
|
|
4238
4234
|
// document.body.appendChild(canvas);
|
|
4239
4235
|
console.log(canvas, 99999);
|
|
4240
4236
|
// var base64URL = canvas.toDataURL('image/jpeg')
|
|
4241
4237
|
var base64URL = canvas.toDataURL("image/jpg", 1.0);
|
|
4242
4238
|
setImgBese64(base64URL);
|
|
4243
4239
|
});
|
|
4244
|
-
// },100)
|
|
4245
|
-
// })
|
|
4246
4240
|
} catch (error) {
|
|
4247
4241
|
console.log(error);
|
|
4248
4242
|
}
|
|
@@ -4430,10 +4424,10 @@ var CustomerService = function(props) {
|
|
|
4430
4424
|
var watchTime = params.videoProgress;
|
|
4431
4425
|
var courseId = getQuery("yc_id");
|
|
4432
4426
|
var sectionId = params.VideoBriefSummaryId;
|
|
4433
|
-
// let courseId="
|
|
4434
|
-
// sectionId= "
|
|
4435
|
-
// videoId= "
|
|
4436
|
-
// watchTime=
|
|
4427
|
+
// let courseId="31007",
|
|
4428
|
+
// sectionId= "446168",
|
|
4429
|
+
// videoId= "71399",
|
|
4430
|
+
// watchTime= 527
|
|
4437
4431
|
if (videoId && courseId && sectionId) {
|
|
4438
4432
|
http.post("".concat(urllocation, "/chat-service/public/v1.0/knowledge-base/questions:recommend"), {
|
|
4439
4433
|
"recommendedQuestions": [],
|
|
@@ -4460,6 +4454,9 @@ var CustomerService = function(props) {
|
|
|
4460
4454
|
answer: item.answer
|
|
4461
4455
|
};
|
|
4462
4456
|
});
|
|
4457
|
+
recommendeQuestionID.current = data.map(function(item) {
|
|
4458
|
+
return item.id;
|
|
4459
|
+
});
|
|
4463
4460
|
}
|
|
4464
4461
|
console.log("dflkvmdfklvdf欢迎语", data);
|
|
4465
4462
|
var obj = {
|
|
@@ -4758,7 +4755,7 @@ var CustomerService = function(props) {
|
|
|
4758
4755
|
recevier: "AI",
|
|
4759
4756
|
message: questions.question,
|
|
4760
4757
|
quotedMessage: "",
|
|
4761
|
-
id: "
|
|
4758
|
+
id: "p" + new Date().getTime(),
|
|
4762
4759
|
upvoted: false,
|
|
4763
4760
|
downvoted: false,
|
|
4764
4761
|
createdAt: getDataTime(-1),
|
|
@@ -4818,7 +4815,7 @@ var CustomerService = function(props) {
|
|
|
4818
4815
|
recevier: "AI",
|
|
4819
4816
|
message: keyWord,
|
|
4820
4817
|
quotedMessage: citationContent.content,
|
|
4821
|
-
id: "
|
|
4818
|
+
id: "p" + new Date().getTime(),
|
|
4822
4819
|
upvoted: false,
|
|
4823
4820
|
downvoted: false,
|
|
4824
4821
|
createdAt: getDataTime(-1),
|
|
@@ -4846,7 +4843,7 @@ var CustomerService = function(props) {
|
|
|
4846
4843
|
if (pageNumHistory <= 1) {
|
|
4847
4844
|
setHistoryMessageList(function(historyMessageList) {
|
|
4848
4845
|
var newHistoryMessageList = historyMessageList.concat(_object_spread_props(_object_spread({}, obj), {
|
|
4849
|
-
id:
|
|
4846
|
+
id: "p" + new Date().getTime(),
|
|
4850
4847
|
upvoted: false,
|
|
4851
4848
|
downvoted: false,
|
|
4852
4849
|
createdAt: getDataTime(-1),
|
|
@@ -4905,11 +4902,11 @@ var CustomerService = function(props) {
|
|
|
4905
4902
|
ctrl.current = new AbortController();
|
|
4906
4903
|
clearTimeout(receiveMessageTimer.current);
|
|
4907
4904
|
receiveMessageTimer.current = setTimeout(function() {
|
|
4908
|
-
setHistoryMessageList(
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
});
|
|
4905
|
+
// setHistoryMessageList((historyMessageList) => {
|
|
4906
|
+
// return historyMessageList.filter(
|
|
4907
|
+
// (item) => item.id != "123456" && item.id != "654321"
|
|
4908
|
+
// );
|
|
4909
|
+
// });
|
|
4913
4910
|
setFinished(true);
|
|
4914
4911
|
ctrl.current.abort();
|
|
4915
4912
|
setHistoryMessageList(function(historyMessageList) {
|
|
@@ -4924,6 +4921,7 @@ var CustomerService = function(props) {
|
|
|
4924
4921
|
});
|
|
4925
4922
|
});
|
|
4926
4923
|
}, 60 * 1000);
|
|
4924
|
+
setFinished(false);
|
|
4927
4925
|
if (config && config.type == "video" && config.params) {
|
|
4928
4926
|
var params = config.params;
|
|
4929
4927
|
var videoId = params.videoId;
|
|
@@ -5561,10 +5559,10 @@ var CustomerService = function(props) {
|
|
|
5561
5559
|
var watchTime = params.videoProgress;
|
|
5562
5560
|
var courseId = getQuery("yc_id");
|
|
5563
5561
|
var sectionId = params.VideoBriefSummaryId;
|
|
5564
|
-
//
|
|
5565
|
-
//
|
|
5566
|
-
//
|
|
5567
|
-
//
|
|
5562
|
+
// let courseId="31007",
|
|
5563
|
+
// sectionId= "446168",
|
|
5564
|
+
// videoId= "71399",
|
|
5565
|
+
// watchTime= 527
|
|
5568
5566
|
if (videoId && courseId && sectionId) {
|
|
5569
5567
|
console.log(recommendeQuestionID.current, "recommendeQuestionID.current");
|
|
5570
5568
|
http.post("".concat(urllocation, "/chat-service/public/v1.0/knowledge-base/questions:recommend"), {
|
|
@@ -5594,17 +5592,13 @@ var CustomerService = function(props) {
|
|
|
5594
5592
|
setHotQuestionsList(data);
|
|
5595
5593
|
newHotQuestionsList.current = data;
|
|
5596
5594
|
}
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
resettingBottomHei();
|
|
5595
|
+
var ids = [];
|
|
5596
|
+
data.map(function(str) {
|
|
5597
|
+
ids.push(str.id);
|
|
5598
|
+
});
|
|
5599
|
+
recommendeQuestionID.current = Array.from(new Set(recommendeQuestionID.current.concat(ids)));
|
|
5603
5600
|
scrollToBottom();
|
|
5604
|
-
|
|
5605
|
-
// if(data.length < 4){
|
|
5606
|
-
// getQuestiionsList('',4)
|
|
5607
|
-
// }
|
|
5601
|
+
resettingBottomHei();
|
|
5608
5602
|
}
|
|
5609
5603
|
}).catch(function() {});
|
|
5610
5604
|
}
|
|
@@ -5743,7 +5737,7 @@ var CustomerService = function(props) {
|
|
|
5743
5737
|
}
|
|
5744
5738
|
} else {
|
|
5745
5739
|
if (document.getElementById("Drawer_buttom_modal")) {
|
|
5746
|
-
var hei1 = document.getElementById("Drawer_buttom_modal").offsetHeight + document.getElementById("
|
|
5740
|
+
var hei1 = document.getElementById("Drawer_buttom_modal").offsetHeight + document.getElementById("BottomAssociationProblem_modal").offsetHeight;
|
|
5747
5741
|
setButtomHei(hei1);
|
|
5748
5742
|
}
|
|
5749
5743
|
}
|
|
@@ -6261,7 +6255,6 @@ var CustomerService = function(props) {
|
|
|
6261
6255
|
return /*#__PURE__*/ jsx("li", {
|
|
6262
6256
|
onClick: function() {
|
|
6263
6257
|
sendMessage(list, 1);
|
|
6264
|
-
recommendeQuestionID.current = recommendeQuestionID.current.concat(list.value);
|
|
6265
6258
|
setBottomRecommendationQuestions([]);
|
|
6266
6259
|
resettingBottomHei();
|
|
6267
6260
|
},
|
|
@@ -6521,7 +6514,6 @@ var CustomerService = function(props) {
|
|
|
6521
6514
|
} else if (JSON.parse(previousLineData.extraInfo).length > 0 && JSON.parse(previousLineData.extraInfo)[0].key == "imageUrl") {
|
|
6522
6515
|
showTeacherBtn = false;
|
|
6523
6516
|
}
|
|
6524
|
-
console.log(showTeacherBtn, "dlvkdfl");
|
|
6525
6517
|
/// style={{position:showStopBtn && isPosition.current ? 'sticky' : 'relative'}}
|
|
6526
6518
|
return /*#__PURE__*/ jsxs("div", {
|
|
6527
6519
|
className: "".concat(styles.operate_modal_bottom),
|
|
@@ -6814,7 +6806,7 @@ var CustomerService = function(props) {
|
|
|
6814
6806
|
onClick: function() {
|
|
6815
6807
|
setHistoryMessageList(function(historyMessageList) {
|
|
6816
6808
|
var newHistoryMessageList = historyMessageList.concat({
|
|
6817
|
-
id:
|
|
6809
|
+
id: "p" + new Date().getTime(),
|
|
6818
6810
|
roomId: roomId,
|
|
6819
6811
|
sender: mid,
|
|
6820
6812
|
recevier: "AI",
|
|
@@ -6852,7 +6844,7 @@ var CustomerService = function(props) {
|
|
|
6852
6844
|
onClick: function() {
|
|
6853
6845
|
setHistoryMessageList(function(historyMessageList) {
|
|
6854
6846
|
var newHistoryMessageList = historyMessageList.concat({
|
|
6855
|
-
id:
|
|
6847
|
+
id: "p" + new Date().getTime(),
|
|
6856
6848
|
roomId: roomId,
|
|
6857
6849
|
sender: mid,
|
|
6858
6850
|
recevier: "AI",
|
|
@@ -7178,23 +7170,51 @@ var CustomerService = function(props) {
|
|
|
7178
7170
|
};
|
|
7179
7171
|
//视频页面底部推荐问题
|
|
7180
7172
|
var renderBottomAssociationProblem = function() {
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7173
|
+
if (showType == 1 || showType == 3) {
|
|
7174
|
+
return /*#__PURE__*/ jsx("div", {
|
|
7175
|
+
className: styles.issues_list_flag,
|
|
7176
|
+
id: "BottomAssociationProblem",
|
|
7177
|
+
children: bottomRecommendationQuestions.map(function(item) {
|
|
7178
|
+
return /*#__PURE__*/ jsxs(Fragment, {
|
|
7179
|
+
children: [
|
|
7180
|
+
/*#__PURE__*/ jsx("p", {
|
|
7181
|
+
onClick: function() {
|
|
7182
|
+
sendMessage(item, 1);
|
|
7183
|
+
if (config && config.type == "video") {
|
|
7184
|
+
setBottomRecommendationQuestions([]);
|
|
7185
|
+
resettingBottomHei();
|
|
7186
|
+
}
|
|
7187
|
+
},
|
|
7188
|
+
children: item.question
|
|
7189
|
+
}, item.id),
|
|
7190
|
+
/*#__PURE__*/ jsx("br", {})
|
|
7191
|
+
]
|
|
7192
|
+
});
|
|
7193
|
+
})
|
|
7194
|
+
});
|
|
7195
|
+
} else {
|
|
7196
|
+
return /*#__PURE__*/ jsx("div", {
|
|
7197
|
+
className: styles.issues_list_flag,
|
|
7198
|
+
id: "BottomAssociationProblem_modal",
|
|
7199
|
+
children: bottomRecommendationQuestions.map(function(item) {
|
|
7200
|
+
return /*#__PURE__*/ jsxs(Fragment, {
|
|
7201
|
+
children: [
|
|
7202
|
+
/*#__PURE__*/ jsx("p", {
|
|
7203
|
+
onClick: function() {
|
|
7204
|
+
sendMessage(item, 1);
|
|
7205
|
+
if (config && config.type == "video") {
|
|
7206
|
+
setBottomRecommendationQuestions([]);
|
|
7207
|
+
resettingBottomHei();
|
|
7208
|
+
}
|
|
7209
|
+
},
|
|
7210
|
+
children: item.question
|
|
7211
|
+
}, item.id),
|
|
7212
|
+
/*#__PURE__*/ jsx("br", {})
|
|
7213
|
+
]
|
|
7214
|
+
});
|
|
7215
|
+
})
|
|
7216
|
+
});
|
|
7217
|
+
}
|
|
7198
7218
|
};
|
|
7199
7219
|
//加载指定数据,点击历史记录
|
|
7200
7220
|
var loadSpecifiedData = function(renewRoomId, page, id, receiver, keyWordProblem) {
|
|
@@ -7292,7 +7312,7 @@ var CustomerService = function(props) {
|
|
|
7292
7312
|
className: styles.Drawer_buttom_Issues_List,
|
|
7293
7313
|
children: [
|
|
7294
7314
|
renderAssociationProblem(),
|
|
7295
|
-
renderBottomAssociationProblem(),
|
|
7315
|
+
showType == 1 && renderBottomAssociationProblem(),
|
|
7296
7316
|
/*#__PURE__*/ jsx("div", {
|
|
7297
7317
|
className: styles.Drawer_buttom,
|
|
7298
7318
|
id: "Drawer_buttom",
|
|
@@ -7379,6 +7399,7 @@ var CustomerService = function(props) {
|
|
|
7379
7399
|
className: styles.Drawer_buttom_Issues_List,
|
|
7380
7400
|
children: [
|
|
7381
7401
|
renderAssociationProblem(),
|
|
7402
|
+
showType == 2 && renderBottomAssociationProblem(),
|
|
7382
7403
|
/*#__PURE__*/ jsx("div", {
|
|
7383
7404
|
className: styles.Drawer_buttom,
|
|
7384
7405
|
id: "Drawer_buttom_modal",
|
|
@@ -7474,6 +7495,7 @@ var CustomerService = function(props) {
|
|
|
7474
7495
|
className: "".concat(styles.Drawer_buttom_Issues_List, " ").concat(styles.Drawer_buttom_Issues_List_newlabo),
|
|
7475
7496
|
children: [
|
|
7476
7497
|
renderAssociationProblem(),
|
|
7498
|
+
showType == 3 && renderBottomAssociationProblem(),
|
|
7477
7499
|
/*#__PURE__*/ jsx("div", {
|
|
7478
7500
|
className: styles.Drawer_buttom,
|
|
7479
7501
|
id: "Drawer_buttom",
|
|
@@ -7581,6 +7603,7 @@ var CustomerService = function(props) {
|
|
|
7581
7603
|
className: styles.Drawer_buttom_Issues_List,
|
|
7582
7604
|
children: [
|
|
7583
7605
|
renderAssociationProblem(),
|
|
7606
|
+
(showType == 4 || showType == 5) && renderBottomAssociationProblem(),
|
|
7584
7607
|
/*#__PURE__*/ jsx("div", {
|
|
7585
7608
|
className: styles.Drawer_buttom,
|
|
7586
7609
|
id: "Drawer_buttom_modal",
|
|
@@ -7671,6 +7694,7 @@ var CustomerService = function(props) {
|
|
|
7671
7694
|
className: "".concat(styles.Drawer_buttom_Issues_List, " ").concat(styles.Drawer_buttom_Issues_List_newlabo),
|
|
7672
7695
|
children: [
|
|
7673
7696
|
renderAssociationProblem(),
|
|
7697
|
+
(showType == 4 || showType == 5) && renderBottomAssociationProblem(),
|
|
7674
7698
|
/*#__PURE__*/ jsx("div", {
|
|
7675
7699
|
className: styles.Drawer_buttom,
|
|
7676
7700
|
id: "Drawer_buttom",
|