Commit c2f12f37 authored by 涂伟's avatar 涂伟

fix: '站点权限选择样式优化'

No related merge requests found
...@@ -44,16 +44,32 @@ ...@@ -44,16 +44,32 @@
// } // }
} }
.check {} .check {
} }
} }
.checkstationdiv {
display: flex;
padding: 10px 0;
.ant-checkbox-group {
width: 100%;
display: flex;
flex-wrap: wrap;
// align-items: center;
.isSearch { .ant-checkbox-wrapper {
width: 30%;
margin-bottom: 8px;
}
}
}
.isSearch {
color: red; color: red;
background-color: yellow; background-color: yellow;
} }
.btnBox { .btnBox {
position: sticky; position: sticky;
bottom: 0px; bottom: 0px;
background-color: #fff; background-color: #fff;
...@@ -62,4 +78,5 @@ ...@@ -62,4 +78,5 @@
padding: 0 20px; padding: 0 20px;
display: flex; display: flex;
align-items: center; align-items: center;
}
} }
...@@ -153,10 +153,13 @@ const ListCardItem = props => { ...@@ -153,10 +153,13 @@ const ListCardItem = props => {
handleAllChecked(e); handleAllChecked(e);
}} }}
> >
{OUName} {OUName === '所有系统' ? '所有角色' : OUName}
</Checkbox> </Checkbox>
</div> </div>
<div style={{ width: '100%' }} className={styles.checkdiv}> <div
style={{ width: '100%' }}
className={OUName === '所有系统' ? styles.checkstationdiv : styles.checkdiv}
>
{defaultList && defaultList.length > 0 && ( {defaultList && defaultList.length > 0 && (
<CheckGroup <CheckGroup
className={styles.check} className={styles.check}
......
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