Im.scss
2.32 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/* pages/crowdfunding/components/Im/Im.wxss */
// .chat {
// background-color: #e8e8e8;
// height: 100%;
// }
.chat .chatBox {
width: 100%;
height: auto;
margin: auto 0;
border-radius: 0.625rem;
}
.chat .chatBox-middle {
width: 100%;
margin: 1.25rem auto;
overflow: hidden;
}
.chat .chatBox-infoDesk {
display: flex;
margin: 0 10px 10px;
.chatBox-box {
box-sizing: border-box;
width: 296rpx;
height: 80rpx;
background-color: rgba(255, 255, 255, 0.4) !important;
border-radius: 2rem !important;
margin-right: 8px;
padding: 0 20rpx;
}
.chatBox-input {
width: calc(296rpx - 40rpx);
height: 80rpx;
padding: 0 0;
color: #ffffff;
.icon-send {
width: 20px;
height: 20px;
margin-right: 10px;
}
}
.chat-login-btn {
width: 296rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
font-size: 32rpx;
color: #FFFFFF;
background: #FF8802;
border-radius: 40rpx;
margin-right: 8px;
}
.chatBox-input.focus-input {
width: 100%;
transition: width 0.5s;
.icon-send {
border-radius: 50%;
}
}
.action {
width: calc(100% - 156px);
}
.action.left{
margin-left: auto;
}
}
.chat .chatInfo {
width: 100%;
// height: 100%;
height: 230px;
overflow-y: scroll;
}
.chat .chatInfo::-webkit-scrollbar {
width: 0 !important;
}
.chat .chatUser-box {
width: 100%;
margin-bottom: 3px;
display: flex;
flex-direction: row;
}
.chat .chatUser-info {
margin: 0 10px;
width: 65%;
line-height: 22px;
font-size: 12px;
}
.chat .chatUser-info-name {
color: rgb(234, 201, 36);
margin-right: 0.4rem;
font-weight: 600;
}
.chat .chatUser-info-text {
margin-top: 3px;
padding: 2px 6px;
font-size: 12px;
background: rgba(0, 0, 0, 0.3);
border-radius: 18px;
color: #ffffff;
float: left;
table-layout: fixed;
word-break: break-all;
overflow: hidden;
.icon-notice {
width: 28px;
height: 16px;
vertical-align: middle;
}
}
.chat .chatUser-info-text.notice {
padding: 2px 3px 2px 6px;
}
.chat .chatBox-infoDesk .chatBox-input .van-field__control {
/* background-color: rgba(255, 255, 255, 0.4) !important;
border-radius: 2rem !important; */
color: #ffffff;
height: 40px;
padding: 20rpx;
}
.chat .chatBox-infoDesk .van-cell::after {
border: none;
}