message.wxss
2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/* packagePersonal/pages/message/message.wxss */
/* 客服 */
.customer-tel {
font-size: 24rpx;
color: #999999;
letter-spacing: 1rpx;
text-align: center;
margin-top: 20rpx;
margin-bottom: 50rpx;
}
.customer-message {
padding: 10rpx 40rpx;
}
.customer-message .message-avatar {
width: 80rpx;
height: 80rpx;
border-radius: 50%;
}
.message-left {
display: flex;
align-items: center;
margin-bottom: 56rpx;
}
.bg-message {
display: inline-flex;
align-items: center;
vertical-align: middle;
font-size: 28rpx;
color: #333333;
letter-spacing: 1.16rpx;
vertical-align: middle;
padding: 10rpx 14rpx;
height: auto;
border-radius: 14rpx;
max-width: calc(100% - 200rpx);
}
.bg-message .message-content {
width: 100%;
word-wrap: break-word;
word-break: normal;
}
.bg-white {
position: relative;
background-color: #FFFFFF;
margin-left: 34rpx;
}
.bg-white::before {
content: '';
position: absolute;
right: 100%;
top: 30%;
transform: translateY(-50%);
width: 14rpx;
height: 26rpx;
border-width: 0 0 10rpx 0;
border-style: solid;
border-color: transparent;
margin-right: -5rpx;
border-bottom-color: currentColor;
border-radius: 0 0 0 12rpx;
color: #FFFFFF;
}
.message-right {
display: flex;
align-items: center;
justify-content: flex-end;
}
.blue-white {
position: relative;
background-color: #94BBFF;
margin-right: 34rpx;
}
.blue-white::before {
content: '';
position: absolute;
left: 100%;
top: 30%;
transform: translateY(-50%);
width: 14rpx;
height: 26rpx;
border-width: 0 0 10rpx 0;
border-style: solid;
border-color: transparent;
margin-left: -5rpx;
border-bottom-color: currentColor;
border-radius: 0 0 12rpx 0;
color: #94BBFF;
}
.customer-btn {
position: fixed;
bottom: 0;
display: flex;
align-items: center;
width: 100%;
height: 100rpx;
background-color: #FFFFFF;
box-shadow: inset 0 0 0 0 #EEEEEE;
padding: 20rpx 40rpx;
box-sizing: border-box;
}
.customer-btn .customer-img {
width: 48rpx;
height: 50rpx;
margin-right: 22rpx;
}
.customer-btn .customer-input {
flex: 1;
height: 60rpx;
background-color: #F8F8F8;
border: 1rpx solid rgba(221, 221, 221, .2);
border-radius: 2px;
}