index.vue
7.39 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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<template>
<div class="overview-main">
<div class="overview-header">
<span>引流获客概览</span>
<el-popover placement="top" width="400" trigger="hover" content="引流获客通过整合活码营销、数据魔方,可分别针对到店用户及离店用户提供企微线上化方案。帮助门店迅速的形成企微客户池,为后续营销活动搭建起稳定高频的触达通道。">
<img src="@/assets/img/question.png" slot="reference" class="count-item-question" />
</el-popover>
</div>
<div class="scrm-box-f store-panel">
<div class="store-panel-item">
<div class="store-item">
<div class="store-item-s">
<div class="store-item-title">到店用户线上化</div>
<el-button type="primary" size="small" @click="jumpChannel">配置活码</el-button>
</div>
<div class="store-item-s">
<div class="store-item-icon">
<img src="@/assets/img/overview/h1.png" />
渠道活码
</div>
<ul class="store-item-ul">
<li>自动分配跟进员工</li>
<li>区分渠道统计效果</li>
<li>自动回复指定活动</li>
</ul>
</div>
<div class="store-item-s">
<div class="store-item-icon">
<img src="@/assets/img/overview/h2.png" />
海报活码
</div>
<ul class="store-item-ul">
<li>灵活搭配门店活动</li>
<li>可作为门店易拉宝</li>
<li>独立统计活动效果</li>
</ul>
</div>
</div>
</div>
<div class="store-panel-item">
<div class="store-item">
<div class="store-item-s">
<div class="store-item-title">离店用户线上化</div>
<el-button type="primary" size="small" @click="jumpSquare">数据魔方</el-button>
</div>
<div class="store-item-s">
<div class="store-item-icon">
<img src="@/assets/img/overview/h3.png" />
智能外呼
</div>
<ul class="store-item-ul">
<li>客户意向判断</li>
<li>营销话术灵活</li>
<li>多线并发外呼</li>
</ul>
</div>
<div class="store-item-s">
<div class="store-item-icon">
<img src="@/assets/img/overview/h4.png" />
客户分群
</div>
<ul class="store-item-ul">
<li>客户分群推荐策略</li>
<li>自动分配员工跟进</li>
<li>自动化引流获客</li>
</ul>
</div>
</div>
</div>
</div>
<div class="user-panel" v-loading="loading">
<div class="user-panel-line scrm-box-f">
<div class="echart-title">用户线上化趋势</div>
<div class="echart-count-panel">
<div class="echart-count-item">
<div class="echart-icon"><img src="@/assets/img/overview/h5.png" /></div>
<div class="echart-num-desc">
<div class="echart-num-1">客户总数</div>
<div class="echart-num-2">{{ totalCount }}人</div>
</div>
</div>
<div class="echart-count-item">
<div class="echart-icon"><img src="@/assets/img/overview/h6.png" /></div>
<div class="echart-num-desc">
<div class="echart-num-1">企微客户数</div>
<div class="echart-num-2">{{ entMicroCount }}人</div>
</div>
</div>
</div>
<linechart ref="customerForm"></linechart>
</div>
</div>
<div class="statistics-main">
<message-list></message-list>
</div>
</div>
</template>
<script>
import messageList from './components/messageList'
import linechart from './components/linechart'
export default {
name: 'channel',
components: {
messageList,
linechart
},
data() {
return {
loading: false,
activeName: 'first',
entMicroCount: 0,
totalCount: 0
}
},
methods: {
jumpUrl() {
this.$router.push('/square/import')
},
jumpChannel() {
this.$router.push('/channel/index')
},
jumpSquare() {
this.$router.push('/square/import')
},
viewChart() {
this.loading = true
this.$apis.overview.viewChart({}).then(res => {
this.loading = false
this.entMicroCount = res.entMicroCount
this.totalCount = res.totalCount
this.$refs.customerForm.getChart(res.trendItemList)
})
},
handleClick() {}
},
mounted() {
this.viewChart()
}
}
</script>
<style lang="scss" scoped>
.overview-header {
font-size: 20px;
font-weight: 600;
color: #333333;
line-height: 20px;
letter-spacing: 1px;
img {
width: 14px;
height: auto;
margin-top: 3px;
margin-left: 6px;
}
}
.store-panel {
margin: 20px auto;
padding: 20px;
display: flex;
.store-panel-item {
height: 200px;
background: rgba(245, 244, 250, 0.7);
border-radius: 8px;
width: 50%;
&:first-child {
margin-right: 20px;
}
.store-item {
display: flex;
max-width: 580px;
}
.store-item-s {
width: 33.33%;
padding: 30px 15px;
.store-item-title {
font-size: 20px;
font-weight: 600;
color: #333333;
line-height: 20px;
letter-spacing: 1px;
margin: 10px 0px 70px;
}
.store-item-icon {
display: flex;
align-items: center;
img {
width: 40px;
height: 40px;
margin-right: 6px;
}
}
.store-item-ul {
padding-left: 18px;
margin-top: 20px;
font-size: 14px;
font-weight: 400;
color: #666666;
line-height: 30px;
li {
color: #666;
}
}
}
}
}
.user-panel {
&-line {
padding: 20px;
.echart-title {
font-size: 20px;
font-weight: 600;
color: #333333;
line-height: 20px;
letter-spacing: 1px;
}
.echart-count-panel {
margin-top: 30px;
margin-bottom: 40px;
display: flex;
.echart-count-item {
display: flex;
margin-right: 40px;
.echart-icon {
width: 48px;
height: 48px;
margin-right: 10px;
}
.echart-num-desc {
font-size: 16px;
font-weight: 600;
color: #333333;
line-height: 22px;
.echart-num-2 {
font-size: 22px;
margin-top: 4px;
}
}
}
}
}
&-balance {
width: 275px;
margin-left: 20px;
padding: 20px;
.balance-title {
font-size: 20px;
font-weight: 600;
color: #333333;
line-height: 28px;
letter-spacing: 1px;
}
.balance-image {
width: 160px;
height: 160px;
margin: 20px auto;
}
}
}
.statistics-main {
margin-top: 20px;
.statistics-title {
font-size: 20px;
font-weight: 500;
color: #333333;
line-height: 20px;
letter-spacing: 1px;
margin: 20px 0px;
}
/deep/ {
.el-tabs__nav-wrap::after {
height: 0px;
}
}
}
@media screen and (max-width: 1340px) {
.store-item-ul {
font-size: 12px !important;
}
.store-item-s {
padding: 6px !important;
}
.store-item-title {
font-size: 15px !important;
}
}
</style>