105 lines
1.4 KiB
Plaintext
105 lines
1.4 KiB
Plaintext
.chat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.chat-item {
|
|
display: flex;
|
|
padding: 10rpx 10rpx 35rpx;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.left {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.right {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.avatar {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
border-radius: 50%;
|
|
background-color: #d0dfe6;
|
|
}
|
|
|
|
.dt {
|
|
font-size: 24rpx;
|
|
color: #b4bbc4;
|
|
}
|
|
|
|
.content {
|
|
border-radius: 16rpx;
|
|
padding: 10rpx 16rpx 10rpx 16rpx;
|
|
word-break: break-all;
|
|
white-space: pre-wrap;
|
|
margin-top: 10rpx;
|
|
line-height: 1.65em;
|
|
}
|
|
|
|
.bg-green {
|
|
background-color: #d2f9d1;
|
|
}
|
|
|
|
.bg-white {
|
|
background-color: #f4f6f8;
|
|
}
|
|
|
|
.chat-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 84%;
|
|
}
|
|
|
|
.suggest {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
margin-top: 8rpx;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.suggest-item {
|
|
background-color: #f4f6f8;
|
|
display: inline-block;
|
|
padding: 5rpx 8rpx 5rpx 8rpx;
|
|
border-radius: 8rpx;
|
|
margin-right: 10rpx;
|
|
color: #b4bbc4;
|
|
margin-bottom: 10rpx;
|
|
font-size: 24rpx;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@keyframes blink {
|
|
from {
|
|
display: 1.0;
|
|
}
|
|
|
|
to {
|
|
opacity: 0.0;
|
|
}
|
|
}
|
|
|
|
.blinking {
|
|
animation: blink 1.5s ease-in-out infinite;
|
|
display: block;
|
|
}
|
|
|
|
.suggest-item-hover {
|
|
color: #ff502c;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.conversation_num {
|
|
color: #b4bbc4;
|
|
background: #f4f6f8;
|
|
display: inline-block;
|
|
text-align: center;
|
|
border-radius: 50%;
|
|
width: 2em;
|
|
height: 2em;
|
|
font-size: 18rpx;
|
|
line-height: 2em;
|
|
font-weight: bold;
|
|
} |