reaper 3 anni fa
parent
commit
298a87dfc6
3 ha cambiato i file con 34 aggiunte e 17 eliminazioni
  1. 21 4
      src/css/cdssHorizontal.less
  2. 1 1
      src/js/cdssHorizontal.js
  3. 12 12
      src/js/promise.js

+ 21 - 4
src/css/cdssHorizontal.less

@@ -3,8 +3,9 @@
   padding: 0 0 0 43px;
   position: relative;
   min-height: 244px;
-  border: 1px solid #e6e6e6;
+  border-bottom: 1px solid #ebebeb;
   min-width: 1127px;
+  box-shadow: 1px 1px 5px 2px #ebebeb;
 }
 .versionWrapper {
   display: inline-block;
@@ -149,7 +150,7 @@
   color: @colorWaring;
 }
 .titleIcon {
-  width: 20px;
+  width: 18px;
   margin: 0px 5px 0 5px;
   position: relative;
   top: 4px;
@@ -175,7 +176,23 @@
 }
 .warning .moduleTitle {
   color: #fff;
-  background: @colorWaring;
+  background: #ff7f5b;
+  width: 83px;
+  height: 21px;
+  line-height: 21px;
+  margin-top: 4px;
+  img {
+    width: 16px;
+    vertical-align: top;
+    margin-top: -1.5px;
+    margin-right: 13px;
+  }
+}
+.warning {
+  margin-bottom: 10px;
+}
+.warning .moduleItemTitBox {
+  width: 83px;
 }
 .pushItemBox {
   padding-right: 18px;
@@ -478,7 +495,7 @@
     width: 62px;
     height: 22px;
     line-height: 22px;
-    border-radius: 9px;
+    border-radius: 4px;
     color: @bgcBlue;
     border: 1px solid @bgcBlue;
     text-align: center;

+ 1 - 1
src/js/cdssHorizontal.js

@@ -611,7 +611,7 @@ function bindOpenInfo() {
 
 function titleStr(type) {
   let titleStr = ''
-  titleStr += `<div class="moduleTitle"><img class="titleIcon" src=${titleConfigH[type].icon}>${titleConfigH[type].name}</div>`
+  titleStr += `<div class="moduleTitle"><img class="titleIcon" src=${titleConfigH[type].icon}>${titleConfigH[type].name}</div>`
   return titleStr
 }
 function bindSlide() {

+ 12 - 12
src/js/promise.js

@@ -267,67 +267,67 @@ const titleConfigH = {
   warning:{
     background: "#FFE8DD",
     icon: iconWarning1,
-    name:"智能警示",
+    name:"智能警示",
     location:"left"
   },
   symptomPush:{
     background: "#EEF5FD",
     icon: iconSymptomPush,
-    name:"推荐症状",
+    name:"推荐症状",
     location:"left"
   },
   diagPush:{
     background: "#FAECED",
     icon: intelligentDiagnosis,
-    name:"智能诊断",
+    name:"智能诊断",
     location:"left"
   },
   checkupPush:{
     background: "#EEF5FD",
     icon: iconCheckupPush,
-    name:"体格检查",
+    name:"体格检查",
     location:"left"
   },
   scalePush:{
     background: "#EEF5FD",
     icon: iconScalePush,
-    name:"推荐量表",
+    name:"推荐量表",
     location:"left"
   },
   lisPush:{
     background: "#ECF4FC",
     icon: iconLisPush,
-    name:"推荐检验",
+    name:"推荐检验",
     location:"left"
   },
   pacsPush:{
     background: "#ECF4FC",
     icon: iconPacsPush,
-    name:"推荐检查",
+    name:"推荐检查",
     location:"left"
   },
   generaTreatPush:{
     background: "#E3FEFE",
     icon: iconTreat,
-    name:"一般治疗",
+    name:"一般治疗",
     location:"right"
   },
   drugPush:{
     background: "#E3FEFE",
     icon: iconDrugPush,
-    name:"推荐用药",
+    name:"推荐用药",
     location:"right"
   },
   operationPush:{
     background: "#E3FEFE",
     icon: iconOperationPush,
-    name:"手术/操作",
+    name:"手术/操作",
     location:"right"
   },
     nursePush: {
         background: "#E3FEFE",
         icon: iconNursePush,
-        name: "推荐护理",
+        name: "推荐护理",
         location: "right"
     },
   vigilancePush:{
@@ -344,7 +344,7 @@ const titleConfigH = {
   casewritingPush:{
     background: "#FFE8DD",
     icon: writingNorms,
-    name:"病历书写规范提示",
+    name:"病历书写规范提示",
     location:"left"
   }
 }