Browse Source

Merge branch 'addTime0817' into testNew

wyq 3 years atrás
parent
commit
ade57ffca9

+ 2 - 2
src/components/AddInspect/SlidePic/index.jsx

@@ -74,7 +74,7 @@ class SlideSelect extends Component {
     const { handleDelClick, item } = this.props;
     this.setState({
       activeInd: true,
-      activeName: item.detailName,
+      activeName: item.uniqueName,
     })
     handleDelClick && handleDelClick(1, part, idx);
   }
@@ -168,7 +168,7 @@ class SlideSelect extends Component {
           <tr>
             <img className={styles.imgCheck} src={item.check ? checkOn : checkOff} onClick={() => this.checkOnOff(item, idx)} alt="" />
             <span className={styles.bigname}>{item.name}</span>
-            <span className={styles.smallname}></span>
+            <span className={styles.detailName}></span>
             <span className={styles.edit}></span>
             <span className={styles.maxmin}></span>
             {/* <span className={styles.pass}>检验时间: */}

+ 3 - 0
src/components/AddInspect/SlidePic/index.less

@@ -57,6 +57,9 @@
         -webkit-box-orient: vertical;
         -webkit-line-clamp: 3;
     }
+    .detailName{
+        width: 16%;
+    }
     .edit {
         width: 15%;
         input {