Kaynağa Gözat

样式调整

luolei 4 yıl önce
ebeveyn
işleme
9cd9c6482c
3 değiştirilmiş dosya ile 6 ekleme ve 9 silme
  1. 5 5
      src/css/cdss.less
  2. 0 3
      src/js/cdss.js
  3. 1 1
      src/js/generalTreat.js

+ 5 - 5
src/css/cdss.less

@@ -284,8 +284,8 @@ body{
 }
 .iconArrowImg{
     width: 14px;
-    position: relative;
-    top: 2px;
+    // position: relative;
+    // top: 2px;
 }
 .moduleBox{
     padding: 5px 0;
@@ -406,9 +406,9 @@ body{
 }
 .isOverFlow{
     overflow: hidden;
-    max-height: 62px;
+    max-height: 43px;
     p {
-        height: 20px;
+        // height: 20px;
         line-height: 20px;
     }
 }
@@ -417,7 +417,7 @@ body{
     cursor: pointer;
     color: #3B9ED0;
     right: 10px;
-    bottom: -1px;
+    bottom: 0px;
     background: #fff;
 }
 .showLessGeneralTreat{

+ 0 - 3
src/js/cdss.js

@@ -512,8 +512,6 @@ function renderSymptomPush(list,showNum,type,hasInfo){
  
 }
 function rendergeneraTreatPush(list){
-
-
   if(list&&  $(".moduleItem.general").length > 0){
     $(".moduleItem.general").append(titleStr('generaTreatPush'))
     moduleNum++
@@ -527,7 +525,6 @@ function rendergeneraTreatPush(list){
       bindGeneralSlide()
     }
   }
- 
 }
 function renderMedicinesPush(list,showNum,type,hasInfo){
   $(".moduleItem.medicine").append(titleStr('drugPush'))

+ 1 - 1
src/js/generalTreat.js

@@ -20,7 +20,7 @@ $(function(){
       // }
       var detailList = data.details
       generalTreatInfo = detailList['治疗方案'][0].content
-      console.log(generalTreatInfo)
+      // console.log(generalTreatInfo)
       renderGeneralTreat(generalTreatInfo,'一般治疗')
     })
   }