Browse Source

Merge remote-tracking branch 'origin/scale0414' into testNew

zhouna 4 years ago
parent
commit
b223f9d690

+ 1 - 0
src/css/cdssHorizontal.less

@@ -223,6 +223,7 @@
     border-radius: 1px;
     border-radius: 1px;
     padding: 0 0 0 80px;
     padding: 0 0 0 80px;
     display: none;
     display: none;
+    z-index: 1;
 }
 }
 .longStrBoxTitle{
 .longStrBoxTitle{
     position: absolute;
     position: absolute;

+ 1 - 1
src/css/homeStatic.less

@@ -78,7 +78,7 @@
   .foryou {
   .foryou {
     width: 100%;
     width: 100%;
     text-align: center;
     text-align: center;
-    margin:80px 0 50px 0;
+    margin:180px 0 50px 0;
     color: #333;
     color: #333;
     font-size: 2.7vw;
     font-size: 2.7vw;
     font-weight: bold;
     font-weight: bold;

+ 5 - 1
src/css/staticInfoOut.less

@@ -13,7 +13,7 @@ div,li,span,i,p,h1,h2,h3,h4,h5,pre{
   }
   }
 
 
   body {
   body {
-    min-width: 650px;
+    /*min-width: 650px;*/
     font-size: 14px;
     font-size: 14px;
     overflow-y: hidden;
     overflow-y: hidden;
     font-family: '微软雅黑', '宋体';
     font-family: '微软雅黑', '宋体';
@@ -77,6 +77,9 @@ div,li,span,i,p,h1,h2,h3,h4,h5,pre{
 
 
   .infos>div {
   .infos>div {
     margin-right: 160px;
     margin-right: 160px;
+    .contentWrapper img{
+      width: 100%;
+    }
   }
   }
 
 
   .title {
   .title {
@@ -336,6 +339,7 @@ div,li,span,i,p,h1,h2,h3,h4,h5,pre{
   padding-top: 25px;
   padding-top: 25px;
   position: absolute;
   position: absolute;
   bottom: 0;
   bottom: 0;
+  z-index: 1;
   p{
   p{
     color:#fff;
     color:#fff;
     text-align: center;
     text-align: center;

+ 4 - 0
src/css/staticSearch.css

@@ -1,3 +1,7 @@
+html{
+    background: #fff;
+    font-family: '微软雅黑', '宋体';
+}
 .staticContainer {
 .staticContainer {
     width: 80%;
     width: 80%;
     background: #fff;
     background: #fff;

+ 5 - 5
src/js/cdssHorizontal.js

@@ -299,8 +299,8 @@ function renderPushData(){
       }
       }
     
     
       rendergeneraTreatPush(generaTreatPush)
       rendergeneraTreatPush(generaTreatPush)
-      renderMedicinesPush(medicinesPush,1,2,true)
-      renderOperationPush(operationsPush,1,6,true)
+      renderMedicinesPush(medicinesPush,medicinesNum,2,true)
+      renderOperationPush(operationsPush,operationsNum,6,true)
       // if(hasCompleteTnterface === allInterface){
       // if(hasCompleteTnterface === allInterface){
       //   $('.loading').css("display","none")
       //   $('.loading').css("display","none")
       //   if(moduleNum === 0){ 
       //   if(moduleNum === 0){ 
@@ -327,10 +327,10 @@ function renderLis(list,showNum,type,hasInfo){
 function renderScale(list,showNum,type,hasInfo){
 function renderScale(list,showNum,type,hasInfo){
   if(list.length > 0 &&  $(".moduleItem.evaluation").length > 0){
   if(list.length > 0 &&  $(".moduleItem.evaluation").length > 0){
     moduleNum++
     moduleNum++
-    $('.moduleItem.evaluation .moduleItemTitBox').append(titleStr("lisPush"))
+    $('.moduleItem.evaluation .moduleItemTitBox').append(titleStr("scalePush"))
     let {shortStr, longStr} = renderItemWrapper(list,showNum,type,hasInfo)
     let {shortStr, longStr} = renderItemWrapper(list,showNum,type,hasInfo)
     $('.moduleItem.evaluation').append(shortStr)
     $('.moduleItem.evaluation').append(shortStr)
-    $('.moduleItem.evaluation').append(renderLongStr(titleConfigH["lisPush"].name,longStr,titleConfigH["lisPush"].location))
+    $('.moduleItem.evaluation').append(renderLongStr(titleConfigH["scalePush"].name,longStr,titleConfigH["scalePush"].location))
     $('.moduleItem.evaluation').css("display","block")
     $('.moduleItem.evaluation').css("display","block")
   }
   }
 }
 }
@@ -380,7 +380,7 @@ function renderOperationPush(list,showNum,type,hasInfo){
  
  
 }
 }
 function renderDisName(){
 function renderDisName(){
-  $(".disName").append(`${treatDisName}`)
+  $(".disName").append(`${treatDisName||''}`)
 }
 }
 function rendergeneraTreatPush(list){
 function rendergeneraTreatPush(list){
   if(list&&list.length > 0 &&  $(".moduleItem.general").length > 0){
   if(list&&list.length > 0 &&  $(".moduleItem.general").length > 0){