123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- .chat {
- background-color: white;
- .content {
- height: 100vh;
- padding: 0rpx 30rpx;
- box-sizing: border-box;
- .base {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- margin-bottom: 42rpx;
- margin-top: 20rpx;
- .contentBox {
- flex: 1;
- .time {
- width: 200rpx;
- margin-bottom: 10rpx;
- font-size: 22rpx;
- color: #969696;
- }
- .message {
- max-width: 80%;
- padding: 20rpx;
- box-sizing: border-box;
- display: inline-block;
- font-size: 28rpx;
- line-height: 42rpx;
- border-radius: 14rpx;
- background-color: #F2F6FC;
- word-break: break-all;
- }
- .msgImg {
- max-width: 200rpx;
- }
- }
- .avatar {
- width: 80rpx;
- height: 80rpx;
- border-radius: 50%;
- background-color: rgb(238, 238, 238);
- }
- }
- .someone {
- justify-content: flex-start;
- .avatar {
- margin-right: 30rpx;
- }
- }
- .self {
- justify-content: flex-end;
- .contentBox {
- display: flex;
- flex-direction: column;
- align-items: flex-end;
- .time{
- text-align: right;
- }
- .message {
- display: inline-block;
- background-color: #3DD076;
- color: white;
- }
- }
- .avatar {
- margin-left: 30rpx;
- }
- }
- }
- .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;
- .input {
- height: 80rpx;
- flex: 1;
- padding-left: 20rpx;
- border-radius: 10rpx;
- background-color: white;
- }
- .sendImg {
- width: 32rpx;
- height: 32rpx;
- border: 4rpx solid #3DD076;
- margin: 0rpx 24rpx;
- padding: 10rpx;
- border-radius: 50%;
- }
- .submit {
- padding: 14rpx 10rpx 14rpx 0rpx;
- color: #0091FF;
- font-size: 38rpx;
- }
- }
- .iosPadding {
- padding-bottom: 40rpx;
- }
- }
|