Pārlūkot izejas kodu

Merge branch 'chronicTreat' into dev/new1

zhangxc 5 gadi atpakaļ
vecāks
revīzija
a5f002c520

+ 1 - 1
src/common/components/HasInfoItem/index.jsx

@@ -54,7 +54,7 @@ class HasInfoItem extends Component {
                 >
                 <span className={style['drug-name-span']}>
                     {item.medicitionName}
-                    <span className={style['underline']}></span>
+                    <span className={`${style['underline']} ${item.selected ?  style['underline-select'] : ''}`}></span>
                 </span>
                 {<img className={`${style['info-img']} ${hasEnterItem?style['show-content']:style['hide-content']}`}  
                 title='点击i图标可查看详细说明'

+ 3 - 1
src/common/components/HasInfoItem/index.less

@@ -30,6 +30,9 @@
     left: 0;
     bottom: 0;
 }
+.underline-select {
+    border-bottom: 1px solid #3B9ED0;
+}
 .info-img, .info-img-more {
     width: 12px;
     margin: 0 3px -1px;
@@ -68,7 +71,6 @@
 }
 .selected {
     color: #3B9ED0;
-    border-bottom: 1px solid #3B9ED0;
 }
 .cautious {
     border: 1px solid #F4C051;