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.
@@ -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":"index_module_bhd_app_layout__f8a672f8","bhd_app_layout_header":"index_module_bhd_app_layout_header__f8a672f8","bhd_app_layout_main":"index_module_bhd_app_layout_main__f8a672f8","bhd_app_layout_main_filter":"index_module_bhd_app_layout_main_filter__f8a672f8","bhd_app_layout_main_filter_title":"index_module_bhd_app_layout_main_filter_title__f8a672f8","bhd_app_layout_main_filter_ul":"index_module_bhd_app_layout_main_filter_ul__f8a672f8","bhd_app_layout_main_filter_show_value":"index_module_bhd_app_layout_main_filter_show_value__f8a672f8","bhd_app_layout_main_filter_clear":"index_module_bhd_app_layout_main_filter_clear__f8a672f8","bhd_app_layout_main_table":"index_module_bhd_app_layout_main_table__f8a672f8","bhd_app_layout_footer":"index_module_bhd_app_layout_footer__f8a672f8"};
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":"index_module_service_ChatWindow_Drawer__344883f9","ChatWindow_Modal":"index_module_ChatWindow_Modal__344883f9","ChatWindow_Drawer":"index_module_ChatWindow_Drawer__344883f9","header_wrap":"index_module_header_wrap__344883f9","top":"index_module_top__344883f9","user":"index_module_user__344883f9","count":"index_module_count__344883f9","operate":"index_module_operate__344883f9","line":"index_module_line__344883f9","popover_main":"index_module_popover_main__344883f9","popover":"index_module_popover__344883f9","header_wrap_newlabo":"index_module_header_wrap_newlabo__344883f9","Drawer_main":"index_module_Drawer_main__344883f9","loading":"index_module_loading__344883f9","message_con":"index_module_message_con__344883f9","left":"index_module_left__344883f9","head_sculpture":"index_module_head_sculpture__344883f9","main_content":"index_module_main_content__344883f9","right":"index_module_right__344883f9","main":"index_module_main__344883f9","main_content_flag":"index_module_main_content_flag__344883f9","operate_modal":"index_module_operate_modal__344883f9","operate_modal_bottom":"index_module_operate_modal_bottom__344883f9","active":"index_module_active__344883f9","stop_generate":"index_module_stop_generate__344883f9","icon":"index_module_icon__344883f9","find_teacher":"index_module_find_teacher__344883f9","stop_findTeacher":"index_module_stop_findTeacher__344883f9","content":"index_module_content__344883f9","content_child":"index_module_content_child__344883f9","find_teacher_con":"index_module_find_teacher_con__344883f9","sign":"index_module_sign__344883f9","ask_question":"index_module_ask_question__344883f9","bottom":"index_module_bottom__344883f9","association_problem":"index_module_association_problem__344883f9","association_problem_flag":"index_module_association_problem_flag__344883f9","related_issues_flag":"index_module_related_issues_flag__344883f9","img_con":"index_module_img_con__344883f9","mask_zoom":"index_module_mask_zoom__344883f9","img_con2":"index_module_img_con2__344883f9","copyCode":"index_module_copyCode__344883f9","time":"index_module_time__344883f9","citation_content":"index_module_citation_content__344883f9","text_exceed":"index_module_text_exceed__344883f9","popover_content":"index_module_popover_content__344883f9","Drawer_main_newlabo":"index_module_Drawer_main_newlabo__344883f9","Drawer_main_newlabo_no_pic":"index_module_Drawer_main_newlabo_no_pic__344883f9","Drawer_buttom_Issues_List":"index_module_Drawer_buttom_Issues_List__344883f9","issues_list_teacherList":"index_module_issues_list_teacherList__344883f9","item":"index_module_item__344883f9","issues_list":"index_module_issues_list__344883f9","issues_list_flag":"index_module_issues_list_flag__344883f9","Drawer_buttom":"index_module_Drawer_buttom__344883f9","input_wrap":"index_module_input_wrap__344883f9","input":"index_module_input__344883f9","picture_layout":"index_module_picture_layout__344883f9","icon_close":"index_module_icon_close__344883f9","icon_zoom":"index_module_icon_zoom__344883f9","anticon":"index_module_anticon__344883f9","no_AI":"index_module_no_AI__344883f9","screenshot":"index_module_screenshot__344883f9","disabled":"index_module_disabled__344883f9","content_main":"index_module_content_main__344883f9","content_con":"index_module_content_con__344883f9","delete_quote":"index_module_delete_quote__344883f9","sending":"index_module_sending__344883f9","Drawer_buttom_Issues_List_newlabo":"index_module_Drawer_buttom_Issues_List_newlabo__344883f9","main_list":"index_module_main_list__344883f9","chat_content":"index_module_chat_content__344883f9","popover_main_content":"index_module_popover_main_content__344883f9","popover_main_content_name":"index_module_popover_main_content_name__344883f9","teacher_layout":"index_module_teacher_layout__344883f9","delete":"index_module_delete__344883f9","num":"index_module_num__344883f9","shrink":"index_module_shrink__344883f9","teacher_layout_newlabo":"index_module_teacher_layout_newlabo__344883f9","teacher_layout_modal":"index_module_teacher_layout_modal__344883f9","ai":"index_module_ai__344883f9","user_info":"index_module_user_info__344883f9","message":"index_module_message__344883f9","con":"index_module_con__344883f9","teacher_layout_modal_newlabo":"index_module_teacher_layout_modal_newlabo__344883f9","history_list":"index_module_history_list__344883f9","search_layout":"index_module_search_layout__344883f9","mymove":"index_module_mymove__344883f9","title":"index_module_title__344883f9","search_top":"index_module_search_top__344883f9","list_item":"index_module_list_item__344883f9","list_summary":"index_module_list_summary__344883f9","head_img":"index_module_head_img__344883f9","list_desc":"index_module_list_desc__344883f9","name":"index_module_name__344883f9","decs":"index_module_decs__344883f9","open":"index_module_open__344883f9","list_summary_active":"index_module_list_summary_active__344883f9","list_detail":"index_module_list_detail__344883f9","list":"index_module_list__344883f9","list_more":"index_module_list_more__344883f9","no_data":"index_module_no_data__344883f9","history_list_broadside":"index_module_history_list_broadside__344883f9","teacher_list":"index_module_teacher_list__344883f9","screenshot_Modal":"index_module_screenshot_Modal__344883f9","ReactCrop":"index_module_ReactCrop__344883f9","screenshot_Modal_btn":"index_module_screenshot_Modal_btn__344883f9"};
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
- // console.log(h,dom.getBoundingClientRect().y,rectY)
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
- topDom.style.cssText = "visibility: hidden;";
10153
- bottomDom.style.cssText = "";
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
  }