customerService.vue
4.29 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<template>
<view class="content">
<view class="header">
<view class="header-name">
<navigator open-type="navigateBack" hover-class="navigator-hover">
<image src="/static/back.png"></image>
</navigator>
<text>在线客服</text>
</view>
</view>
<view class="hr"></view>
<!-- <scroll-view scroll-y class="srcollview"> -->
<view class="customer">
<template>
<view class="talk-time">
<text>2020-10-22 12:34:58</text>
</view>
<view class="servicer"><image src="../../static/customerService-pic.png"></image><text>亲,请问有什么需要?</text></view>
<view class="user"><image src="../../static/customerService-pic.png"></image><text>我想问下我买的货发了么</text></view>
<view class="servicer"><image src="../../static/customerService-pic.png"></image><text>请问是昨天晚上下单的吗?</text></view>
<view class="user"><image src="../../static/customerService-pic.png"></image><text>嗯嗯,对,是的</text></view>
</template>
</view>
<!-- </scroll-view> -->
<view class="bottom-input">
<image src="../../static/customerService-horn.png" class="img1"></image>
<input />
<image src="../../static/customerService-simle.png" class="img2"></image>
<image src="../../static/customerService-btn.png" class="img3"></image>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="scss">
.content {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.header{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 44px;
position: fixed;
top: 0;
z-index: 999;
background-color: #fff;
.header-name{
display: flex;
align-items: center;
width: 670rpx;
image {
width: 11px;
height: 18px;
}
text {
// font-family: "PingFangSC-Regular";
font-size: 36rpx;
color: #333333;
letter-spacing: -0.34px;
margin: 0 0 10rpx 54rpx;
}
}
}
.hr {
width: 100%;
border-bottom: 1px solid #E9E9E9;
}
.customer {
width: 100%;
min-height: 1335rpx;
background-color: #f2f2f2;
box-sizing: border-box;
padding: 0 40rpx;
.talk-time{
display: flex;
align-items: center;
justify-content: center;
margin-top: 54rpx;
margin-bottom: 2rpx;
text{
// font-family: PingFangSC-Regular;
font-size: 12px;
color: #999999;
letter-spacing: -0.23px;
}
}
.user {
display: flex;
flex-direction: row-reverse;
align-items: center;
margin-top: 48rpx;
image{
width: 30px;
height: 30px;
margin-top: -14rpx;
margin-left: 16rpx;
}
text{
min-height: 80rpx;
max-width: 512rpx;
box-sizing: border-box;
padding: 22rpx 36rpx 22rpx 38rpx;
margin-top: 14rpx;
// ont-family: PingFangSC-Regular;
font-size: 12px;
color: #333333;
letter-spacing: -0.23px;
background: #FFFFFF;
border: 1px solid #E9E9E9;
border-radius: 16rpx 0 16rpx 16rpx;
}
}
.servicer {
display: flex;
flex-direction: row;
align-items: center;
margin-top: 42rpx;
image{
width: 30px;
height: 30px;
margin-top: -14rpx;
margin-right: 16rpx;
}
text{
min-height: 80rpx;
max-width: 512rpx;
box-sizing: border-box;
padding: 22rpx 36rpx 22rpx 38rpx;
margin-top: 14rpx;
// font-family: PingFangSC-Regular;
font-size: 12px;
color: #FFFFFF;
letter-spacing: -0.23px;
background: #FF6B4A;
border-radius: 0 16rpx 16rpx 16rpx;
}
}
}
// .srcollview {
// // min-height: 1335rpx;
// background-color: #f2f2f2;
// }
.bottom-input {
width: 100%;
height: 112rpx;
background: #F7F7F7;
box-shadow: 0 -2px 3px 0 rgba(0,0,0,0.06);
position: fixed;
bottom: 0;
z-index: 999;
display: flex;
align-items: center;
box-sizing: border-box;
padding: 19rpx 40rpx 15rpx 40rpx;
.img1{
width: 19px;
height: 28px;
margin-right: 10px;
}
input {
width: 536rpx;
min-height: 78rpx;
background: #FFFFFF;
border: 1px solid #999999;
border-radius: 4px;
box-sizing: border-box;
padding-right: 30px;
}
.img2 {
width: 21px;
height: 21px;
margin-left: -30px;
margin-right: 19px;
}
.img3{
width: 28px;
height: 28px;
}
}
</style>