Selaa lähdekoodia

修改版本号和免责声明字体颜色

zhangxc 6 vuotta sitten
vanhempi
commit
10ec058189
2 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 1 1
      src/components/CopyRight/index.jsx
  2. 2 1
      src/components/CopyRight/index.less

+ 1 - 1
src/components/CopyRight/index.jsx

@@ -81,7 +81,7 @@ class CopyRight extends Component {
       <div className={style["container"]}>
         <div className={style["copy"]}>
           版本信息:{" "}
-          <a href="javascript:;" onClick={showCopyModal}>
+          <a lassName={style["copy-number"]} href="javascript:;" onClick={showCopyModal}>
             {number}
           </a>{" "}
           {hasNewVersion && <span>new</span>} &copy;<b>朗通医疗</b>

+ 2 - 1
src/components/CopyRight/index.less

@@ -22,6 +22,7 @@
       a{
         text-decoration: none;
         font-size: 12px;
+        color: #3B9ED0;
       }
       b{
         font-size: 12px;
@@ -31,7 +32,7 @@
     
     .disclaimer{
       font-size: 12px;
-      color: #00e;
+      color: #3B9ED0;
       float: right;
       cursor: pointer;
     }