Browse Source

图片替换

1178232204@qq.com 3 years ago
parent
commit
49c4f6730d
3 changed files with 3 additions and 3 deletions
  1. 2 2
      src/css/cdssHorizontal.less
  2. BIN
      src/images/dots.png
  3. 1 1
      src/js/cdssHorizontal.js

+ 2 - 2
src/css/cdssHorizontal.less

@@ -278,7 +278,7 @@
   background: url("../images/dot.png") 0 10px no-repeat;
   text-indent: 10px;
   background-size: 5px;
-  padding-right: 24px;
+  padding:0 35px 0 10px;
 }
 .shortBox {
   color: @fontColor;
@@ -891,7 +891,7 @@
   }
   .billingPushItem {
     background: url("../images/dots.png") 0 10px no-repeat;
-    text-indent: 10px;
+    text-indent: 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"))
     let str = ``
     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">
           ${str}