1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- .chat {
- min-height: 100vh;
- background-color: white;
- }
- .chat .content {
- height: 100vh;
- padding: 0rpx 30rpx 150rpx;
- box-sizing: border-box;
- }
- .chat .content .base {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- margin-bottom: 42rpx;
- margin-top: 20rpx;
- }
- .chat .content .base .avatar {
- width: 80rpx;
- height: 80rpx;
- border-radius: 50%;
- background-color: #eeeeee;
- }
- .chat .content .base .message {
- max-width: 80%;
- padding: 20rpx;
- box-sizing: border-box;
- font-size: 28rpx;
- line-height: 42rpx;
- border-radius: 14rpx;
- background-color: #F2F6FC;
- word-break: break-all;
- }
- .chat .content .base .msgImg {
- margin-right: 24rpx;
- max-width: 200rpx;
- }
- .chat .content .someone {
- justify-content: flex-start;
- }
- .chat .content .someone .avatar {
- margin-right: 30rpx;
- }
- .chat .content .self {
- justify-content: flex-end;
- }
- .chat .content .self .message {
- display: inline-block;
- margin-right: 30rpx;
- background-color: #3DD076;
- color: white;
- }
- .chat .inputBox {
- position: fixed;
- left: 0px;
- bottom: 0px;
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: space-between;
- box-sizing: border-box;
- padding: 20rpx 26rpx;
- background-color: #EEEDED;
- }
- .chat .inputBox .input {
- height: 80rpx;
- flex: 1;
- padding-left: 20rpx;
- border-radius: 10rpx;
- background-color: white;
- }
- .chat .inputBox .sendImg {
- width: 32rpx;
- height: 32rpx;
- border: 4rpx solid #3DD076;
- margin: 0rpx 24rpx;
- padding: 10rpx;
- border-radius: 50%;
- }
- .chat .inputBox .submit {
- padding: 14rpx 10rpx 14rpx 0rpx;
- color: #0091FF;
- font-size: 38rpx;
- }
- .chat .iosPadding {
- padding-bottom: 40rpx;
- }
|