Kaynağa Gözat

图片替换

1178232204@qq.com 3 yıl önce
ebeveyn
işleme
49c4f6730d

+ 2 - 2
src/css/cdssHorizontal.less

@@ -278,7 +278,7 @@
   background: url("../images/dot.png") 0 10px no-repeat;
   background: url("../images/dot.png") 0 10px no-repeat;
   text-indent: 10px;
   text-indent: 10px;
   background-size: 5px;
   background-size: 5px;
-  padding-right: 24px;
+  padding:0 35px 0 10px;
 }
 }
 .shortBox {
 .shortBox {
   color: @fontColor;
   color: @fontColor;
@@ -891,7 +891,7 @@
   }
   }
   .billingPushItem {
   .billingPushItem {
     background: url("../images/dots.png") 0 10px no-repeat;
     background: url("../images/dots.png") 0 10px no-repeat;
-    text-indent: 10px;
+    text-indent: 5px;
     background-size: 5px;
     background-size: 5px;
   }
   }
 }
 }

BIN
src/images/dots.png


+ 1 - 1
src/js/cdssHorizontal.js

@@ -1281,7 +1281,7 @@ function renderBillingNursePush(list) {
     $('.moduleItem.nurse .moduleItemTitBox').append(titleStr("nursePush"))
     $('.moduleItem.nurse .moduleItemTitBox').append(titleStr("nursePush"))
     let str = ``
     let str = ``
     for (let i = 0; i < list.length; i++) {
     for (let i = 0; i < list.length; i++) {
-      str += `<div class="billingPushItem">${list[i].msg}${renderNursePush(list[i].staticList)}</div>`
+      str += `<div class="billingPushItem"><span>${list[i].msg}</span>${renderNursePush(list[i].staticList)}</div>`
     }
     }
     let boxStr = `<div class="moduleBox">
     let boxStr = `<div class="moduleBox">
           ${str}
           ${str}