Prechádzať zdrojové kódy

bug2735,数字键盘bug

luolei 5 rokov pred
rodič
commit
3ffe362392

+ 1 - 0
src/common/components/DropList/index.less

@@ -1,6 +1,7 @@
 @import "~@less/variables.less";
 @import "~@less/variables.less";
 .list{
 .list{
   .pop;
   .pop;
+  font-weight: normal;
   padding: 0 0 10px;
   padding: 0 0 10px;
   color: @text-color;
   color: @text-color;
 }
 }

+ 1 - 1
src/components/AddInspect/SlideSelect/index.jsx

@@ -132,7 +132,7 @@ class SlideSelect extends Component {
                 </span>
                 </span>
             </p>:
             </p>:
             <p >
             <p >
-                <i className={`${styles.tagSpan} ${styles.tagSpanS} ${setFontColorSize(2,6)}`} data-flg="current" onClick={(e)=>this.handleLabelSub(e,item.questionId,idx)}>
+                <i className={`${styles.tagSpan} ${styles.tagSpanS} ${setFontColorSize(2)}`} data-flg="current" onClick={(e)=>this.handleLabelSub(e,item.questionId,idx)}>
                   {item.name}
                   {item.name}
                   <span className={styles.imgInfo} title='点击i图标可查看详细说明' onClick={()=>getInfomation({name:item.uniqueName || '', position: 1, type: 12})}></span>
                   <span className={styles.imgInfo} title='点击i图标可查看详细说明' onClick={()=>getInfomation({name:item.uniqueName || '', position: 1, type: 12})}></span>
                 </i>
                 </i>

+ 1 - 0
src/components/AddInspect/SlideSelect/index.less

@@ -199,6 +199,7 @@
 }
 }
 .tagSpanS {
 .tagSpanS {
     font-weight: bold;
     font-weight: bold;
+    color: #000;
 }
 }
 .selectTagSpan {
 .selectTagSpan {
   color: #000;
   color: #000;

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

@@ -251,7 +251,7 @@ class NumberDrop extends Component{
     return <div className={this.getClasses(nospecial)}
     return <div className={this.getClasses(nospecial)}
                 style={{position:'relative'}}
                 style={{position:'relative'}}
                 onClick={allClick?this.handleNumClick:null}>
                 onClick={allClick?this.handleNumClick:null}>
-      <span className={`${setFontColorSize(isSelectAll?2:isExtBlue?2:1)}`}>{prefix}</span>
+      <span className={`${setFontColorSize(val?'':isSelectAll?2:isExtBlue?2:1)}`}>{prefix}</span>
       <span onFocus={this.handleNumFocus}
       <span onFocus={this.handleNumFocus}
             onClick={allClick?null:this.handleNumClick}
             onClick={allClick?null:this.handleNumClick}
             contentEditable={true}
             contentEditable={true}
@@ -262,7 +262,7 @@ class NumberDrop extends Component{
             onInput={this.handleSpanInp}
             onInput={this.handleSpanInp}
             className={this.getSpanClass(nospecial)}
             className={this.getSpanClass(nospecial)}
             >&nbsp;{val||placeholder}</span>
             >&nbsp;{val||placeholder}</span>
-      <span className={`${setFontColorSize(isSelectAll?2:isExtBlue?2:1)}`}>{suffix}</span>
+      <span className={`${setFontColorSize(val?'':isSelectAll?2:isExtBlue?2:1)}`}>{suffix}</span>
       <NumberPan handleSelect={this.select.bind(this)}
       <NumberPan handleSelect={this.select.bind(this)}
                  noString={formulaCode?true:false}
                  noString={formulaCode?true:false}
                  onClose={handleHide}
                  onClose={handleHide}