1178232204@qq.com vor 3 Jahren
Ursprung
Commit
e88a902cdc
3 geänderte Dateien mit 33 neuen und 19 gelöschten Zeilen
  1. 28 18
      src/css/cdssHorizontal.less
  2. 4 0
      src/js/cdssHorizontal.js
  3. 1 1
      src/js/promise.js

+ 28 - 18
src/css/cdssHorizontal.less

@@ -234,7 +234,7 @@
 .tips-cont {
   position: relative;
   background: #fff7f2;
-  max-height: 63px;
+  max-height: 69px;
   overflow: hidden;
   .moduleTitle {
     position: absolute;
@@ -242,7 +242,7 @@
     font-size: 12px;
     /*font-weight: 600;*/
     color: @colorWaring;
-    left: -4px;
+    left: 0px;
   }
 }
 .moduleItem.crivalue,
@@ -295,14 +295,19 @@
 }
 .showMoreNewPage,
 .showMoreCaseWrite {
+  width: 34px;
+  height: 18px;
+  background: #4f9ff3;
+  border-radius: 4px;
   display: inline-block;
   cursor: pointer;
   position: absolute;
-  line-height: 21px;
-  color: @bgcBlue;
+  color: #fff;
   right: 5px;
-  bottom: -1px;
+  bottom: 0px;
   font-size: 12px;
+  text-align: center;
+  line-height: 18px;
 }
 .longStrBox {
   max-height: 180px;
@@ -398,16 +403,21 @@
   max-height: 41px;
 }
 .showMoreGeneralTreat {
+  width: 34px;
+  height: 18px;
+  border-radius: 4px;
   position: absolute;
   cursor: pointer;
-  color: @bgcBlue;
+  color: #fff;
   right: 0px;
-  bottom: 0;
-  background: #fff;
+  bottom: 0px;
+  background: #4f9ff3;
+  line-height: 18px;
+  text-align: center;
 }
 .generalTreatInfo {
   position: relative;
-  padding: 0 28px 0 0;
+  padding: 0 35px 0 0;
   color: @fontColor;
   display: -webkit-box;
   -webkit-box-orient: vertical;
@@ -872,11 +882,12 @@
 .nurse {
   max-height: 63px;
   overflow: hidden;
-  background: #F6F6F6 ;
+  background: #f6f6f6;
   margin-bottom: 5px;
   position: relative;
-  .moduleTitle{
-    color: #1ECEBD;
+  line-height: 21px;
+  .moduleTitle {
+    color: #1ecebd;
   }
   .billingPushItem {
     background: url("../images/dots.png") 0 10px no-repeat;
@@ -896,10 +907,9 @@
     margin-left: 5px;
   }
 }
-.disable{
-  .pushItemName{
-    background: #EBEBEB!important;
-    color: #B9B9B9!important;
+.disable {
+  .pushItemName {
+    background: #ebebeb !important;
+    color: #b9b9b9 !important;
   }
-  
-}
+}

+ 4 - 0
src/js/cdssHorizontal.js

@@ -1374,13 +1374,17 @@ function titleStr(type) {
 }
 function bindSlide() {
   $(".showMore").off("click").on("click", function () {
+    console.log(123);
     const longBox = $(this).parent().next().length ? $(this).parent().next() : $(this).parent().parent().next();
+    
     $(".longStrBox").css("display", "none")
     longBox.css("display", "block")
     let location = longBox.attr("data-location")
     let scrollTop = getLongTop(location)
+    console.log(location);
     const n = Number(scrollTop) - 2 > -1 ? Number(scrollTop) - 2 : 0;
     longBox.css("top", n + "px")
+    console.log(n);
   })
   $(".showLess").off("click").on("click", function () {
     $(this).parent().parent().css("display", "none")

+ 1 - 1
src/js/promise.js

@@ -378,7 +378,7 @@ const titleConfigH = {
     background: "#E3FEFE",
     icon: maydiagnosePush,
     name: "鉴别诊断",
-    location: "right"
+    location: "left"
   },
   maydiagnosePush: {
     background: "#E3FEFE",