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.
 
 
 
 
 
 
zhishifufei_php/public/pc/components/kefu/index.css

404 lines
7.6 KiB

.chat-room .room {
border-radius: 10px;
position: fixed;
top: calc(50% - 327px);
left: calc(50% - 365px);
z-index: 999;
display: flex;
flex-direction: column;
width: 730px;
height: 654px;
background-color: #fff;
overflow: hidden;
box-shadow: 1px 1px 15px 0 rgba(0, 0, 0, 0.1);
}
.chat-room .room.win {
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.chat-room .room .head {
display: flex;
align-items: center;
height: 50px;
padding-right: 15px;
padding-left: 20px;
background: linear-gradient(270deg, #1890ff 0%, #3875ea 100%);
}
.chat-room .room .head .image {
width: 36px;
height: 36px;
border-radius: 50%;
overflow: hidden;
}
.chat-room .room .head .image img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.chat-room .room .head .name {
flex: 1;
min-width: 0;
margin-left: 15px;
font-size: 16px;
color: #fff;
}
.chat-room .room .head .iconfont {
width: 25px;
height: 25px;
font-size: 16px;
line-height: 25px;
text-align: center;
color: #fff;
cursor: pointer;
}
.chat-room .room .main {
flex: 1;
display: flex;
min-height: 0;
}
.chat-room .room .main .chat {
flex: 1;
display: flex;
flex-direction: column;
min-width: 0;
}
.chat-room .room .main .record {
flex: 1;
min-height: 0;
overflow-x: hidden;
overflow-y: auto;
}
.chat-room .room .main .record::-webkit-scrollbar {
display: none;
}
.chat-room .room .main .record ul {
padding: 20px;
}
.chat-room .room .main .record li~li {
margin-top: 20px;
}
.chat-room .room .main .record li::after {
content: "";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.chat-room .room .main .record li.right .avatar {
float: right;
}
.chat-room .room .main .record li.right .content {
text-align: right;
}
.chat-room .room .main .record li.right .content>div {
text-align: left;
}
.chat-room .room .main .record .time-tag {
padding-top: 10px;
padding-bottom: 30px;
text-align: center;
color: #999;
}
.chat-room .room .main .record .avatar {
float: left;
width: 40px;
height: 40px;
border-radius: 50%;
overflow: hidden;
}
.chat-room .room .main .record .avatar.right {
float: right;
}
.chat-room .room .main .record .avatar img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.chat-room .room .main .record .content {
margin-right: 56px;
margin-left: 56px;
}
.chat-room .room .main .record .text {
display: inline-block;
min-height: 41px;
padding: 10px 12px;
border-radius: 10px;
background-color: #f5f5f5;
font-size: 15px;
line-height: 21px;
color: #000;
word-break: break-all;
}
.chat-room .room .main .record .image {
display: inline-block;
max-width: 50%;
border-radius: 10px;
overflow: hidden;
}
.chat-room .room .main .record .image img {
display: block;
max-width: 100%;
}
.chat-room .room .main .record .goods,
.chat-room .room .main .record .order {
display: inline-flex;
align-items: center;
width: 320px;
padding: 10px 13px;
border-radius: 10px;
background-color: #f5f5f5;
}
.chat-room .room .main .record .thumb {
width: 60px;
height: 60px;
border-radius: 5px;
overflow: hidden;
}
.chat-room .room .main .record .thumb img {
display: block;
width: 100%;
height: 100%;
}
.chat-room .room .main .record .intro {
flex: 1;
min-width: 0;
margin-left: 10px;
}
.chat-room .room .main .record .intro .name {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 15px;
color: #000;
}
.chat-room .room .main .record .intro .attr {
margin-top: 5px;
font-size: 12px;
color: #999;
}
.chat-room .room .main .record .intro .attr span {
vertical-align: middle;
}
.chat-room .room .main .record .intro .attr span~span {
margin-left: 10px;
}
.chat-room .room .main .record .intro .group {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 5px;
}
.chat-room .room .main .record .intro .group .money {
font-size: 14px;
color: #f00;
}
.chat-room .room .main .record .intro .group a {
font-size: 12px;
color: #1890ff;
}
.chat-room .room .main .editor {
display: flex;
flex-direction: column;
height: 162px;
border-top: 1px solid #ececec;
}
.chat-room .room .main .editor>div:first-child {
font-size: 0;
}
.chat-room .room .main .editor button {
border: none;
background: none;
outline: none;
}
.chat-room .room .main .editor button~button {
margin-left: 20px;
}
.chat-room .room .main .editor button.end {
font-size: 15px;
}
.chat-room .room .main .editor button:hover {
color: #1890ff;
}
.chat-room .room .main .editor button:hover .iconfont {
color: #1890ff;
}
.chat-room .room .main .editor .editor-hd {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
height: 50px;
padding-right: 20px;
padding-left: 20px;
}
.chat-room .room .main .editor .editor-hd .iconfont {
line-height: 1;
color: #333;
}
.chat-room .room .main .editor .editor-hd .emoji-panel {
position: absolute;
bottom: 100%;
left: 5px;
width: 390px;
padding-bottom: 10px;
border: 1px solid #ececec;
margin-bottom: 5px;
background-color: #fff;
box-shadow: 1px 0 16px 0 rgba(0, 0, 0, 0.05);
}
.chat-room .room .main .editor .editor-hd .emoji-panel .em {
width: 28px;
height: 28px;
padding: 4px;
margin-top: 10px;
margin-left: 10px;
box-sizing: border-box;
}
.chat-room .room .main .editor .editor-hd .emoji-panel .em:hover {
background-color: #ececec;
}
.chat-room .room .main .editor .icon-biaoqing1,
.chat-room .room .main .editor .icon-tupian1 {
font-size: 22px;
}
.chat-room .room .main .editor .icon-guanji {
margin-right: 5px;
font-size: 15px;
}
.chat-room .room .main .editor .editor-bd {
flex: 1;
min-height: 0;
}
.chat-room .room .main .editor .editor-bd textarea {
display: block;
width: 100%;
height: 100%;
padding-right: 20px;
padding-left: 20px;
border: none;
outline: none;
resize: none;
white-space: pre-wrap;
overflow-wrap: break-word;
}
.chat-room .room .main .editor .editor-bd textarea::-webkit-scrollbar {
display: none;
}
.chat-room .room .main .editor .editor-ft {
display: flex;
justify-content: flex-end;
align-items: center;
padding-right: 20px;
padding-bottom: 20px;
}
.chat-room .room .main .editor .editor-ft button {
width: 68px;
height: 26px;
border: none;
border-radius: 3px;
background-color: #3875ea;
outline: none;
font-size: 13px;
color: #fff;
}
.chat-room .room .main .editor .editor-ft button:disabled {
background-color: #ccc;
}
.chat-room .room .main .notice {
display: flex;
flex-direction: column;
width: 260px;
border-left: 1px solid #ececec;
}
.chat-room .room .main .notice .rich {
flex: 1;
min-height: 0;
padding: 18px 18px 0;
overflow-x: hidden;
overflow-y: auto;
}
.chat-room .room .main .notice .rich::-webkit-scrollbar {
display: none;
}
.chat-room .room .main .notice .rich /deep/ img {
width: 100%;
}
.chat-room .room .main .notice .rich /deep/ video {
width: 100%;
}
.chat-room .room .main .notice .copy {
padding-top: 15px;
padding-bottom: 15px;
font-size: 12px;
text-align: center;
}
.chat-room .room .main .notice .copy a {
color: #ccc !important;
text-decoration: none;
}