Files
cunkebao_v3/Cunkebao/src/components/MemberSelection/TwoColumnMemberSelection.module.scss

154 lines
2.1 KiB
SCSS
Raw Normal View History

2025-09-05 17:10:50 +08:00
.twoColumnModal {
.ant-modal-body {
padding: 0;
}
}
.container {
display: flex;
height: 500px;
border: 1px solid #e8e8e8;
}
.leftColumn {
flex: 1;
border-right: 1px solid #e8e8e8;
display: flex;
flex-direction: column;
}
.rightColumn {
width: 300px;
display: flex;
flex-direction: column;
background: #fafafa;
}
.searchWrapper {
padding: 16px;
border-bottom: 1px solid #e8e8e8;
.ant-input {
border-radius: 6px;
}
}
.memberList {
flex: 1;
overflow-y: auto;
padding: 8px 0;
}
.memberItem {
display: flex;
align-items: center;
padding: 12px 16px;
cursor: pointer;
transition: background-color 0.2s;
&:hover {
background-color: #f5f5f5;
}
&.selected {
background-color: #e6f7ff;
}
.ant-checkbox {
margin-right: 12px;
}
}
.memberInfo {
margin-left: 12px;
flex: 1;
}
.memberName {
font-size: 14px;
font-weight: 500;
color: #333;
margin-bottom: 2px;
}
.memberId {
font-size: 12px;
color: #999;
}
.selectedHeader {
padding: 16px;
border-bottom: 1px solid #e8e8e8;
font-weight: 500;
color: #333;
background: #fff;
display: flex;
align-items: center;
justify-content: space-between;
}
.singleTip {
font-size: 12px;
color: #999;
font-weight: normal;
}
.selectedList {
flex: 1;
overflow-y: auto;
padding: 8px 0;
}
.selectedItem {
display: flex;
align-items: center;
padding: 8px 16px;
background: #fff;
margin: 4px 8px;
border-radius: 6px;
border: 1px solid #e8e8e8;
}
.selectedInfo {
margin-left: 8px;
flex: 1;
}
.selectedName {
font-size: 13px;
color: #333;
}
.removeBtn {
color: #999;
font-size: 16px;
padding: 0;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
&:hover {
color: #ff4d4f;
background: #fff2f0;
}
}
.empty {
display: flex;
align-items: center;
justify-content: center;
height: 100px;
color: #999;
font-size: 14px;
}
.emptySelected {
display: flex;
align-items: center;
justify-content: center;
height: 100px;
color: #999;
font-size: 14px;
}