Files
fangche/pages/chat/groupChat/groupChat.wxss
2021-04-07 15:18:17 +08:00

276 lines
3.8 KiB
Plaintext

/* groupChat.wxss */
page {
height: 100%;
}
.groupChat {
height: 100%;
}
.group-member-icon {
width: 60rpx;
height: 60rpx;
position: fixed;
top: 60rpx;
right: 20rpx;
background-color: #C4C4C4;
z-index: 2;
border-radius: 60rpx;
}
.scroll-view {
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
padding-bottom: 130rpx;
}
.header {
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
height: 90rpx;
font-size: 24rpx;
color: gray !important;
text-decoration: none !important;
}
.time-lag{
font-size: 20rpx;
text-align: center;
}
.message-item {
max-height: 400rpx;
padding: 20rpx 0;
overflow: hidden;
display: flex;
}
.self{
overflow: hidden;
display: flex;
justify-content: flex-start;
flex-direction: row-reverse;
}
.avatar{
width: 80rpx;
height: 80rpx;
flex-shrink: 0;
flex-grow: 0;
}
.other-icon {
margin: 0 20rpx;
}
.self-icon {
margin: 0 20rpx;
}
.content{
font-size: 34rpx;
line-height: 44rpx;
max-height: 400rpx;
display: flex;
align-items: center;
justify-content: right;
text-align: right;
}
.pending {
width: 30rpx;
height: 30rpx;
padding: 10rpx;
}
.send-fail{
width: 30rpx;
height: 30rpx;
margin-right: 10rpx;
flex-grow: 0;
flex-shrink: 0;
}
.text-content{
padding: 16rpx;
border-radius: 12rpx;
color: #ffffff;
background:#D02129;
word-break: break-all;
text-align: left;
vertical-align: center;
display: block;
}
.image-content{
padding: 16rpx;
border-radius: 12rpx;
width: 300rpx;
height: 300rpx;
}
.video-snapshot {
position: relative;
max-height: 240rpx;
max-width: 300rpx;
overflow: hidden;
}
.thumbnail-image{
max-height: 240rpx;
max-width: 300rpx;
}
.play-icon {
position: absolute;
width: 80rpx;
height: 80rpx;
border-radius: 20rpx;
top: 50%;
left: 50%;
margin-left: -40rpx;
margin-top: -40rpx;
z-index: 1000;
opacity: 1;
}
.custom-message{
width: 400rpx;
height: 260rpx;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: flex-start;
box-sizing: border-box;
padding: 10rpx 30rpx;
border: 1px solid rgba(0, 0, 0, 0.05);
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
border-radius: 20rpx;
}
.title{
width: 100%;
display: flex;
align-items: center;
font-size: 30rpx;
}
.title text {
padding: 10rpx;
}
.custom-message-item{
text-align: left;
font-size: 28rpx;
overflow: hidden;
width: 100%;
text-overflow:ellipsis;
white-space: nowrap;
}
.action-box {
width: 100%;
position: fixed;
bottom: 0;
left: 0;
z-index: 1000;
background-color: #FAFAFA;
}
.action-top {
display: flex;
width: 100%;
align-items: center;
height: 130rpx;
padding: 20rpx 10rpx 20rpx 10rpx;
box-sizing: border-box;
background-color: #FAFAFA;
}
.action-icon {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.microphone-icon {
width: 45rpx;
height: 50rpx;
padding: 0 10rpx;
}
.keyboard-icon {
width: 50rpx;
height: 50rpx;
padding: 0 10rpx;
}
.msg-input-box {
flex: 1;
height: 80rpx;
padding-left: 20rpx;
border-radius: 12rpx;
box-sizing: border-box;
line-height: 80rpx;
font-size: 28rpx;
background-color: #efefef;
}
.emoji-icon {
width: 50rpx;
height: 50rpx;
padding-left: 15rpx;
}
.more-icon {
width: 58rpx;
height: 58rpx;
padding-left: 15rpx;
}
.send-btn-box {
width: 80rpx;
box-sizing: border-box;
text-align: center;
line-height: 80rpx;
font-size: 28rpx;
color: #95949A;
}
.action-bottom {
display: flex;
padding: 20rpx 10rpx 20rpx 10rpx;
height: 320rpx;
box-sizing: border-box;
background: #fff;
}
.image {
width: 100rpx;
height: 100rpx;
}
.more-item{
display: flex;
flex-direction: column;
width: 150rpx;
height: 150rpx;
margin-right: 20rpx;
align-items: center;
}
.text {
font-size: 20rpx;
text-align: center;
line-height: 50rpx;
color: #666666;
}
.title image {
width: 40rpx;
height: 40rpx;
}