123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- .gambit-msg {
- position: relative;
- width: 100vw;
- margin-top: 34rpx;
- margin-bottom: 74rpx;
- }
- /* l为左对齐 r为右对齐 */
- /* 用户头像 */
- .user-img {
- position: absolute;
- width: 70rpx;
- height: 70rpx;
- top: 6rpx;
- border-radius: 50%;
- }
- .l .user-img {
- left: 30rpx;
- }
- .r .user-img {
- right: 30rpx;
- }
- /* 话题内容盒子 */
- .contents-box {
- display: flex;
- flex-direction: column;
- position: absolute;
- width: 570rpx;
- background: #F6F7F8;
- border-radius: 10rpx;
- padding: 20rpx;
- padding-bottom: 0;
- box-sizing: border-box;
- top: 0;
- }
- .l .contents-box {
- align-items: flex-start;
- left: 120rpx;
- }
- .r .contents-box {
- align-items: flex-end;
- right: 120rpx;
- }
- /* 信息气泡样式 */
- .msg-bubble {
- border-radius: 10rpx;
- font-size: 28rpx;
- background-color: #FFFFFF;
- padding: 20rpx;
- box-sizing: border-box;
- margin-bottom: 20rpx;
- word-break: break-all;
- white-space: pre-wrap;
- }
- .l .msg-bubble {
- background-color: #FFFFFF;
- color: #000000;
- }
- .r .msg-bubble {
- background-color: #4BBECF;
- color: #FFFFFF;
- }
- /* 附件信息 */
- .msg-file {
- padding: 6rpx;
- border-radius: 10rpx;
- margin-bottom: 20rpx;
- padding-bottom: 0;
- }
- .r .msg-file {
- align-items: flex-end;
- }
- .msg-file .image {
- width: 168px;
- border-radius: 10rpx;
- }
- .msg-file .emoji {
- width: 50rpx;
- }
- /* 分割线 */
- .hr {
- height: 2rpx;
- width: 100%;
- background: rgba(147, 147, 147, .1);
- padding-left: -10rpx;
- }
- /* 查看数据 */
- .bottom {
- width: 100vw;
- height: 34rpx;
- line-height: 34rpx;
- font-size: 24rpx;
- color: rgba(0, 0, 0, .3);
- margin-top: 18rpx;
- margin-bottom: 20rpx;
- text-decoration: underline;
- }
- .r .bottom {
- text-align: right;
- }
- .contents-box .time {
- position: absolute;
- height: 34rpx;
- line-height: 34rpx;
- font-size: 24rpx;
- color: #000000;
- right: 20rpx;
- bottom: -40rpx;
- opacity: .39;
- }
- /* 回复 */
- .bot-button {
- width: 100%;
- margin-top: 14rpx;
- margin-bottom: 16rpx;
- text-align: right;
- }
- .call {
- width: 108rpx !important;
- height: 50rpx !important;
- background: #4DC2D4 !important;
- box-shadow: 0px 0px 12rpx 0px rgba(0, 0, 0, 0.1) !important;
- border-radius: 8rpx !important;
- font-size: 24rpx !important;
- font-family: PingFangSC-Medium, PingFang SC !important;
- color: #FFFFFF;
- text-shadow: 0px 0px 12rpx rgba(0, 0, 0, 0.1) !important;
- padding: 0 !important;
- }
|