You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
157 lines
2.8 KiB
157 lines
2.8 KiB
.chatList {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 320px;
|
|
height: 742px;
|
|
border-right: 1px solid #ececec;
|
|
}
|
|
|
|
.chatList .tab-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 50px;
|
|
flex-shrink: 0;
|
|
padding: 0 52px;
|
|
font-size: 14px;
|
|
color: #000;
|
|
}
|
|
|
|
.chatList .tab-head .item {
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.chatList .tab-head .item:after {
|
|
display: none;
|
|
content: ' ';
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: -15px;
|
|
transform: translateX(-50%);
|
|
height: 2px;
|
|
width: 100%;
|
|
background: #1890ff;
|
|
}
|
|
|
|
.chatList .tab-head .item.active {
|
|
color: #1890ff;
|
|
}
|
|
|
|
.chatList .tab-head .item.active:after {
|
|
display: block;
|
|
}
|
|
|
|
.chatList .scroll-box {
|
|
flex: 1;
|
|
height: 500px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.chatList .chat-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 10px;
|
|
height: 74px;
|
|
box-sizing: border-box;
|
|
border-left: 3px solid transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.chatList .chat-item.active {
|
|
background: #eff0f1;
|
|
border-left: 3px solid #1890ff;
|
|
}
|
|
|
|
.chatList .chat-item .avatar {
|
|
position: relative;
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.chatList .chat-item .avatar img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.chatList .chat-item .avatar .status {
|
|
position: absolute;
|
|
right: 3px;
|
|
bottom: 0;
|
|
width: 8px;
|
|
height: 8px;
|
|
background: #48d452;
|
|
border: 1px solid #fff;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.chatList .chat-item .avatar .status.off {
|
|
background: #999;
|
|
}
|
|
|
|
.chatList .chat-item .user-info {
|
|
width: 155px;
|
|
margin-left: 12px;
|
|
margin-top: 5px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.chatList .chat-item .user-info .hd {
|
|
display: flex;
|
|
align-items: center;
|
|
color: rgba(0, 0, 0, 0.65);
|
|
}
|
|
|
|
.chatList .chat-item .user-info .hd .name {
|
|
max-width: 67%;
|
|
}
|
|
|
|
.chatList .chat-item .user-info .hd .label {
|
|
margin-left: 5px;
|
|
color: #3875ea;
|
|
font-size: 12px;
|
|
background: #d8e5ff;
|
|
border-radius: 2px;
|
|
padding: 1px 5px;
|
|
}
|
|
|
|
.chatList .chat-item .user-info .hd .label.H5 {
|
|
background: #faf1d0;
|
|
color: #dc9a04;
|
|
}
|
|
|
|
.chatList .chat-item .user-info .hd .label.wechat {
|
|
background: rgba(64, 194, 73, 0.16);
|
|
color: #40c249;
|
|
}
|
|
|
|
.chatList .chat-item .user-info .hd .label.pc {
|
|
background: rgba(100, 64, 194, 0.16);
|
|
color: #6440c2;
|
|
}
|
|
|
|
.chatList .chat-item .user-info .bd {
|
|
margin-top: 3px;
|
|
font-size: 12px;
|
|
color: #8e959e;
|
|
}
|
|
|
|
.chatList .chat-item .right-box {
|
|
position: relative;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
color: #8e959e;
|
|
}
|
|
|
|
.chatList .chat-item .right-box .num {
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.chart-scroll {
|
|
margin-top: -10px;
|
|
} |