Commit 32e42d66 by zhangleyuan

feat:调整样式

parent e54f751a
...@@ -52,7 +52,7 @@ function SearchUser(props) { ...@@ -52,7 +52,7 @@ function SearchUser(props) {
// onBlur={()=>{onBlur()}} // onBlur={()=>{onBlur()}}
/> />
{dropDownVisible && {dropDownVisible &&
<div className="drop-down" style={{width:'100%'}}> <div className="drop-down">
<div className="drop-down__list"> <div className="drop-down__list">
{props.data.departmentUserVOList && {props.data.departmentUserVOList &&
<div> <div>
...@@ -66,6 +66,7 @@ function SearchUser(props) { ...@@ -66,6 +66,7 @@ function SearchUser(props) {
<Checkbox onChange={(e)=>{selectuser(e,item)}} > <Checkbox onChange={(e)=>{selectuser(e,item)}} >
<div className="drop-down__item__con__item"> <div className="drop-down__item__con__item">
<div className="drop-down__item__con__item__left"> <div className="drop-down__item__con__item__left">
<span className="icon iconfont title-icon">&#xe603;</span>
<WWOpenDataCom type="userName" openid={item.userName}/> <WWOpenDataCom type="userName" openid={item.userName}/>
</div> </div>
<div className="drop-down__item__con__item__right"> <div className="drop-down__item__con__item__right">
......
.search-user{ .search-user{
position: relative; position: relative;
padding:12px 16px;
.drop-down{ .drop-down{
padding:18px; padding:18px;
position: absolute; position: absolute;
...@@ -8,6 +9,7 @@ ...@@ -8,6 +9,7 @@
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0px 2px 15px 6px rgba(0, 0, 0, 0.05); box-shadow: 0px 2px 15px 6px rgba(0, 0, 0, 0.05);
border-radius:2px; border-radius:2px;
width:270px;
.ant-checkbox-wrapper{ .ant-checkbox-wrapper{
width:100%; width:100%;
.drop-down__item__con__item{ .drop-down__item__con__item{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment