瀏覽代碼

主诉添加症状搜索位置修改

zhouna 5 年之前
父節點
當前提交
8b71946e13

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

@@ -3,10 +3,12 @@
 .search {
     .contentZIndex1;
     width: 316px;
+    height: 50px;
     padding: 8px;
     box-sizing: border-box;
     position: relative;
     background-color: #fff;
+    margin-left: 78px;
     .autoList {
       position: absolute;
       width: 300px;
@@ -39,7 +41,7 @@
         top: 15px;
     }
     .searchVal {
-        left: 18px;
+        left: 14px;
         cursor: pointer;
     }
     .clearVal{

+ 3 - 5
src/components/SpreadDrop/index.jsx

@@ -443,15 +443,13 @@ class ListItems extends Component{
     return <div className={style["drop-list"]} ref={parDiv} style={this.getStyle()} contentEditable="false" onClick={(e)=>{e.stopPropagation();}}>
         <p className={style['orderTips']}>按{order?'从左到右从上到下':'点击'}顺序成文</p>
         {this.getLabels()}
+        {boxMark==1 && tagType==11 && <div className="search">
+          <SearchBox show={show} onSelect={this.searchSelect.bind(this)} onRef={(child)=>{this.child = child;}}/>
+        </div>}
         <div className="oper clearfix">
           <span className={style['clear']} onClick={handleClear}>清空选项</span>
           <span className={style['confirm']} onClick={this.clickConfirm}>确定</span>
         </div>
-        
-        {boxMark==1 && tagType==11 && <div className="search">
-                  <div className={style["line"]}></div>
-                  <SearchBox show={show} onSelect={this.searchSelect.bind(this)} onRef={(child)=>{this.child = child;}}/>
-                </div>}
       </div>
   }
 }

+ 0 - 6
src/components/SpreadDrop/index.less

@@ -27,12 +27,6 @@
       width: 99px !important;
     }
   }
-  .line{
-    width: 100%;
-    height: 1px;
-    background: #EAEDF1;
-    margin: 20px 0 0 10px;
-  }
   li{
     padding-left: 20px;
     cursor: pointer;