Jelajahi Sumber

样式调整

1178232204@qq.com 3 tahun lalu
induk
melakukan
f198b9f0a3
6 mengubah file dengan 7 tambahan dan 3 penghapusan
  1. 2 0
      src/css/cdss.less
  2. 2 2
      src/css/homeStatic.less
  3. 1 0
      src/css/searchStaticList.less
  4. TEMPAT SAMPAH
      src/images/choice-n.png
  5. 1 0
      src/js/cdss.js
  6. 1 1
      src/js/staticSearch.js

+ 2 - 0
src/css/cdss.less

@@ -655,6 +655,8 @@ body {
     text-align: center;
     line-height: 26px;
     cursor: pointer;
+    background: url(/images/choice-n.png) no-repeat;
+    background-size: 106px 26px;
   }
   .choice {
     width: 106px;

+ 2 - 2
src/css/homeStatic.less

@@ -49,8 +49,8 @@
     box-sizing: border-box;
     position: relative;
     input {
-      height: 55px;
-      line-height: 55px;
+      height: 60px;
+      line-height: 60px;
       box-sizing: border-box;
       float: left;
       border-radius: 8px;

+ 1 - 0
src/css/searchStaticList.less

@@ -352,6 +352,7 @@
     border-radius: 4px;
     padding: 8px 0;
     display: none;
+    border:  1px solid #2a9bd5;
     & li {
       height: 34px;
       font-size: 16px;

TEMPAT SAMPAH
src/images/choice-n.png


+ 1 - 0
src/js/cdss.js

@@ -25,6 +25,7 @@ require('./../images/t2.png').replace(/^undefined/g, '')
 require('./../images/t3.png').replace(/^undefined/g, '')
 require('./../images/go.png').replace(/^undefined/g, '')
 require('./../images/g1.png').replace(/^undefined/g, '')
+require('./../images/choice-n.png').replace(/^undefined/g, '')
 // require('./popupEdit.js');
 
 let infoImg = require('./../images/icon_info.png').replace(/^undefined/g, '')

+ 1 - 1
src/js/staticSearch.js

@@ -199,7 +199,7 @@ function getKnowledgeData(value) {
                         ${tmpPart.retrievalName ? ('<span>• ' + tmpPart.retrievalName + '</span>') : ''}
                         ${codeDom}
                             </li>`: `<li class="hide-codes">
-                            <p><span style="font-size: 14px;color:#666">${tmpPart.code}</span> <span style="font-size: 14px;color:#333">${tmpPart.name}</span>
+                            <p><span style="font-size: 14px;color:#999;font-weight:normal">${tmpPart.code}</span> <span style="font-size: 14px;color:#333;font-weight:normal">${tmpPart.name}</span>
                             </p>
                         </li>`