luolei 4 years ago
parent
commit
9281f95ec8

+ 2 - 2
src/components/DiagnosticList/index.jsx

@@ -302,8 +302,8 @@ class DiagnosticList extends Component {
                                        onMouseEnter={this.handleMouseEnterDrug.bind(this,index)}
                                        onMouseLeave = {this.handleMouseLeaveDrug.bind(this)}
                                     >
-                                      <span title={item.name} className={style['diag-name-box']} style={{maxWidth: windowWidth > 1024 ?windowWidth-600 +'px':'130px'}}>
-                                        {item.name}
+                                      <span title={item.name} className={style['diag-name-box']} style={{'max-width': '300px'}}>
+                                        {item.name}ss
                                       </span>
                                       {/* <img className={`${style['info-img']}`}
                                           title='点击i图标可查看详细说明'

+ 1 - 1
src/components/DiagnosticList/index.less

@@ -86,7 +86,7 @@
     color: #000;
     letter-spacing: 0;
     position: absolute;
-    right: 100px;
+    left: 450px;
     top: 11px;
     img {
         width: 15px;

+ 0 - 1
src/store/reducers/newAdvice.js

@@ -123,7 +123,6 @@ export default (state = initSearchList, action) => {
     }
 
     if (action.type == SET_TIP_ADVICE) {   
-        // console.log(action,'action'); 
         const newState = Object.assign({}, state);
         let tempArr = newState.labelListBig;
         let tempArrs = newState.labelListSmall;