1178232204@qq.com il y a 3 ans
Parent
commit
ecf33ef951
1 fichiers modifiés avec 6 ajouts et 9 suppressions
  1. 6 9
      src/js/cdssHorizontal.js

+ 6 - 9
src/js/cdssHorizontal.js

@@ -455,7 +455,7 @@ function renderpushByMayDisease(name, i, inx,e) {
         renderMayPush(treatPush, medicinesPush, operationsPush, nursePush, inx)
         bindOpenInfo()
         moreInfo()
-        // bindSlide();
+        bindSlide();
         if ($(".maydiagnose .item").children('div').length == 0) {
           $.toast('toast3', '', 3000, '.maydiagnose', i);
           $(".maydiagnose .item").css("display", "none")
@@ -507,7 +507,7 @@ function renderpushByHasDisease(name, i, inx,e) {
         renderHasPush(treatPush, medicinesPush, operationsPush, nursePush, inx)
         bindOpenInfo()
         moreInfo()
-        // bindSlide();
+        bindSlide();
         if ($(".hasdiagnose .item").children('div').length == 0) {
           $.toast('toast3', '', 3000, '.hasdiagnose', i);
           $(".hasdiagnose .item").css("display", "none")
@@ -576,7 +576,7 @@ function renderDiagList(list) {
     } else {
       $(".maydiagnose .item").css("display", "none")
     }
-    $('.leftWrapper').scrollTop($(this).offset().top);
+    // $(".leftWrapper").scrollTop($(this).offset().top);
   });
 }
 function renderAffListList(list) {
@@ -597,9 +597,6 @@ function renderAffListList(list) {
 
   $('.hasdiagnose .pushItemBox').on("click", function (e) {
     e.preventDefault()
-    // (".leftWrapper").scrollTop(50)
-    
-
     const name = $(this).attr('data-name');
     const i = $(this).attr('data-index');
     if ($(this).hasClass('disable')) {
@@ -616,16 +613,16 @@ function renderAffListList(list) {
     const index = $(this).parent().parent().next().attr('data-i')
     const showList = $(".hasdiagnose .item").css("display")
     if (showList == "none" || index != i) {
-      $(".loading").show();
+      // $(".loading").show();
       $(".hasdiagnose .item").html('')
       $(".hasdiagnose .item").css("display", "none")
       $(this).parent().parent().next().css("display", "block")
       $(this).parent().parent().next().attr('data-i', i)
-      renderpushByHasDisease(name, i, 2,e)
+      // renderpushByHasDisease(name, i, 2,e)
     } else {
       $(".hasdiagnose .item").css("display", "none")
     }
-    $('.leftWrapper').scrollTop($(this).offset().top);
+    // $('.leftWrapper').scrollTop($(this).offset().top);
   });
 }
 function renderMayVitalPush(list, inx) {