bhd-components 0.9.9 → 0.9.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.
- package/README.md +1 -1
- package/dist/index.esm.es5.development.css +1107 -1106
- package/dist/index.esm.es5.development.js +13 -6
- package/dist/index.esm.es5.production.css +1 -1
- package/dist/index.esm.es5.production.js +1 -1
- package/dist/vendor.esm.es5.development.js +1 -1
- package/dist/vendor.esm.es5.production.js +1 -1
- package/es2017/bhdAppLayout/index.module.less +2 -1
- package/es2017/customerService/index.js +11 -4
- package/es2017/customerService/index.module.less +1 -1
- package/es2017/customerService/index2.module.less +1 -1
- package/esm/bhdAppLayout/index.module.less +2 -1
- package/esm/customerService/index.js +11 -4
- package/esm/customerService/index.module.less +1 -1
- package/esm/customerService/index2.module.less +1 -1
- package/package.json +1 -1
|
@@ -2391,7 +2391,7 @@ var BhdSelect = function(props) {
|
|
|
2391
2391
|
BhdSelect.Option = Select.Option;
|
|
2392
2392
|
var BhdSelect$1 = BhdSelect;
|
|
2393
2393
|
|
|
2394
|
-
var modules_63b47c51$2 = {"bhd_app_layout":"
|
|
2394
|
+
var modules_63b47c51$2 = {"bhd_app_layout":"index_module_bhd_app_layout__a547e666","bhd_app_layout_header":"index_module_bhd_app_layout_header__a547e666","bhd_app_layout_main":"index_module_bhd_app_layout_main__a547e666","bhd_app_layout_main_filter":"index_module_bhd_app_layout_main_filter__a547e666","bhd_app_layout_main_filter_title":"index_module_bhd_app_layout_main_filter_title__a547e666","bhd_app_layout_main_filter_ul":"index_module_bhd_app_layout_main_filter_ul__a547e666","bhd_app_layout_main_filter_show_value":"index_module_bhd_app_layout_main_filter_show_value__a547e666","bhd_app_layout_main_filter_clear":"index_module_bhd_app_layout_main_filter_clear__a547e666","bhd_app_layout_main_table":"index_module_bhd_app_layout_main_table__a547e666","bhd_app_layout_footer":"index_module_bhd_app_layout_footer__a547e666"};
|
|
2395
2395
|
|
|
2396
2396
|
function BhdAppLayout(props) {
|
|
2397
2397
|
var _filterRef_current, _filterRef, _headRef_current, _headRef, _otherHeadRef_current, _otherHeadRef, _otherContentRef_current, _otherContentRef, _filterConfig, _filterConfig1, _footerConfig;
|
|
@@ -2515,7 +2515,7 @@ function BhdAppLayout(props) {
|
|
|
2515
2515
|
});
|
|
2516
2516
|
}
|
|
2517
2517
|
|
|
2518
|
-
var modules_63b47c51$1 = {"service_ChatWindow_Drawer":"
|
|
2518
|
+
var modules_63b47c51$1 = {"service_ChatWindow_Drawer":"index_module_service_ChatWindow_Drawer__1606ecfb","ChatWindow_Modal":"index_module_ChatWindow_Modal__1606ecfb","ChatWindow_Drawer":"index_module_ChatWindow_Drawer__1606ecfb","header_wrap":"index_module_header_wrap__1606ecfb","top":"index_module_top__1606ecfb","user":"index_module_user__1606ecfb","count":"index_module_count__1606ecfb","operate":"index_module_operate__1606ecfb","line":"index_module_line__1606ecfb","popover_main":"index_module_popover_main__1606ecfb","popover":"index_module_popover__1606ecfb","header_wrap_newlabo":"index_module_header_wrap_newlabo__1606ecfb","Drawer_main":"index_module_Drawer_main__1606ecfb","loading":"index_module_loading__1606ecfb","message_con":"index_module_message_con__1606ecfb","left":"index_module_left__1606ecfb","head_sculpture":"index_module_head_sculpture__1606ecfb","main_content":"index_module_main_content__1606ecfb","right":"index_module_right__1606ecfb","main":"index_module_main__1606ecfb","main_content_flag":"index_module_main_content_flag__1606ecfb","operate_modal":"index_module_operate_modal__1606ecfb","operate_modal_bottom":"index_module_operate_modal_bottom__1606ecfb","active":"index_module_active__1606ecfb","stop_generate":"index_module_stop_generate__1606ecfb","icon":"index_module_icon__1606ecfb","find_teacher":"index_module_find_teacher__1606ecfb","stop_findTeacher":"index_module_stop_findTeacher__1606ecfb","content":"index_module_content__1606ecfb","content_child":"index_module_content_child__1606ecfb","find_teacher_con":"index_module_find_teacher_con__1606ecfb","sign":"index_module_sign__1606ecfb","ask_question":"index_module_ask_question__1606ecfb","bottom":"index_module_bottom__1606ecfb","association_problem":"index_module_association_problem__1606ecfb","association_problem_flag":"index_module_association_problem_flag__1606ecfb","related_issues_flag":"index_module_related_issues_flag__1606ecfb","img_con":"index_module_img_con__1606ecfb","mask_zoom":"index_module_mask_zoom__1606ecfb","img_con2":"index_module_img_con2__1606ecfb","copyCode":"index_module_copyCode__1606ecfb","time":"index_module_time__1606ecfb","citation_content":"index_module_citation_content__1606ecfb","text_exceed":"index_module_text_exceed__1606ecfb","popover_content":"index_module_popover_content__1606ecfb","Drawer_main_newlabo":"index_module_Drawer_main_newlabo__1606ecfb","Drawer_main_newlabo_no_pic":"index_module_Drawer_main_newlabo_no_pic__1606ecfb","Drawer_buttom_Issues_List":"index_module_Drawer_buttom_Issues_List__1606ecfb","issues_list_teacherList":"index_module_issues_list_teacherList__1606ecfb","item":"index_module_item__1606ecfb","issues_list":"index_module_issues_list__1606ecfb","issues_list_flag":"index_module_issues_list_flag__1606ecfb","Drawer_buttom":"index_module_Drawer_buttom__1606ecfb","input_wrap":"index_module_input_wrap__1606ecfb","input":"index_module_input__1606ecfb","picture_layout":"index_module_picture_layout__1606ecfb","icon_close":"index_module_icon_close__1606ecfb","icon_zoom":"index_module_icon_zoom__1606ecfb","anticon":"index_module_anticon__1606ecfb","no_AI":"index_module_no_AI__1606ecfb","screenshot":"index_module_screenshot__1606ecfb","disabled":"index_module_disabled__1606ecfb","content_main":"index_module_content_main__1606ecfb","content_con":"index_module_content_con__1606ecfb","delete_quote":"index_module_delete_quote__1606ecfb","sending":"index_module_sending__1606ecfb","Drawer_buttom_Issues_List_newlabo":"index_module_Drawer_buttom_Issues_List_newlabo__1606ecfb","main_list":"index_module_main_list__1606ecfb","chat_content":"index_module_chat_content__1606ecfb","popover_main_content":"index_module_popover_main_content__1606ecfb","popover_main_content_name":"index_module_popover_main_content_name__1606ecfb","teacher_layout":"index_module_teacher_layout__1606ecfb","delete":"index_module_delete__1606ecfb","num":"index_module_num__1606ecfb","shrink":"index_module_shrink__1606ecfb","teacher_layout_newlabo":"index_module_teacher_layout_newlabo__1606ecfb","teacher_layout_modal":"index_module_teacher_layout_modal__1606ecfb","ai":"index_module_ai__1606ecfb","user_info":"index_module_user_info__1606ecfb","message":"index_module_message__1606ecfb","con":"index_module_con__1606ecfb","teacher_layout_modal_newlabo":"index_module_teacher_layout_modal_newlabo__1606ecfb","history_list":"index_module_history_list__1606ecfb","search_layout":"index_module_search_layout__1606ecfb","mymove":"index_module_mymove__1606ecfb","title":"index_module_title__1606ecfb","search_top":"index_module_search_top__1606ecfb","list_item":"index_module_list_item__1606ecfb","list_summary":"index_module_list_summary__1606ecfb","head_img":"index_module_head_img__1606ecfb","list_desc":"index_module_list_desc__1606ecfb","name":"index_module_name__1606ecfb","decs":"index_module_decs__1606ecfb","open":"index_module_open__1606ecfb","list_summary_active":"index_module_list_summary_active__1606ecfb","list_detail":"index_module_list_detail__1606ecfb","list":"index_module_list__1606ecfb","list_more":"index_module_list_more__1606ecfb","no_data":"index_module_no_data__1606ecfb","history_list_broadside":"index_module_history_list_broadside__1606ecfb","teacher_list":"index_module_teacher_list__1606ecfb","screenshot_Modal":"index_module_screenshot_Modal__1606ecfb","ReactCrop":"index_module_ReactCrop__1606ecfb","screenshot_Modal_btn":"index_module_screenshot_Modal_btn__1606ecfb"};
|
|
2519
2519
|
|
|
2520
2520
|
//消息已读
|
|
2521
2521
|
var readMessage = function(roomId, urllocation, userData, http) {
|
|
@@ -10135,11 +10135,11 @@ var CustomerService = function(props) {
|
|
|
10135
10135
|
if (dom) {
|
|
10136
10136
|
var con_h = document.getElementById("chat_content").clientHeight - 24; //滚动区域的高度
|
|
10137
10137
|
var rectY = dom.getBoundingClientRect().y - 48;
|
|
10138
|
-
var h = dom.clientHeight; //当前元素高度
|
|
10138
|
+
var h = dom.clientHeight + 24; //当前元素高度
|
|
10139
10139
|
var topDom = dom.getElementsByClassName("operate_modal_showtop")[0];
|
|
10140
10140
|
var bottomDom = dom.getElementsByClassName("operate_modal_showbottom")[0];
|
|
10141
10141
|
if (topDom && bottomDom) {
|
|
10142
|
-
|
|
10142
|
+
console.log(h, con_h, rectY);
|
|
10143
10143
|
if (rectY > 0) {
|
|
10144
10144
|
topDom.style.cssText = "";
|
|
10145
10145
|
bottomDom.style.cssText = "visibility: hidden;";
|
|
@@ -10149,8 +10149,15 @@ var CustomerService = function(props) {
|
|
|
10149
10149
|
bottomDom.style.cssText = "";
|
|
10150
10150
|
}
|
|
10151
10151
|
} else {
|
|
10152
|
-
|
|
10153
|
-
|
|
10152
|
+
// 上下都不显示
|
|
10153
|
+
if (h > con_h && h - con_h > Math.abs(rectY)) {
|
|
10154
|
+
console.log("rerererererer");
|
|
10155
|
+
topDom.style.cssText = "visibility: hidden;";
|
|
10156
|
+
bottomDom.style.cssText = "top:".concat(-(h + rectY - 51), "px");
|
|
10157
|
+
} else {
|
|
10158
|
+
topDom.style.cssText = "visibility: hidden;";
|
|
10159
|
+
bottomDom.style.cssText = "";
|
|
10160
|
+
}
|
|
10154
10161
|
}
|
|
10155
10162
|
}
|
|
10156
10163
|
}
|