1178232204@qq.com 3 anni fa
parent
commit
800e4e5414
2 ha cambiato i file con 2 aggiunte e 5 eliminazioni
  1. 0 1
      src/js/cdss.js
  2. 2 4
      src/js/cdssHorizontal.js

+ 0 - 1
src/js/cdss.js

@@ -765,7 +765,6 @@ function renderAffListList(list, showNum) {
         </div>`
     }
     str += `${list.length > showNum ? `<p class="toogle">加载更多<img src=${more} /></p>` : ''} </div>`
-
     $('.moduleItem.hasdiagnose').append(str)
     $('.moduleItem.hasdiagnose').css("display", "block")
     $('.hasdiagnose .goDetail').on("click", function (e) {

+ 2 - 4
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")
@@ -551,7 +551,6 @@ function renderDiagList(list) {
 
   $('.maydiagnose .pushItemBox').on("click", function (e) {
     e.preventDefault()
-    $('.leftWrapper').scrollTop($(this).offset().top+28);
     const name = $(this).attr('data-name');
     const i = $(this).attr('data-index');
     if ($(this).hasClass('disable')) {
@@ -597,7 +596,6 @@ function renderAffListList(list) {
 
   $('.hasdiagnose .pushItemBox').on("click", function (e) {
     e.preventDefault()
-    $('.leftWrapper').scrollTop($(this).offset().top+28);
     const name = $(this).attr('data-name');
     const i = $(this).attr('data-index');
     if ($(this).hasClass('disable')) {