introduct.vue
16.5 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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
<template>
<div class="introduct-container">
<div class="wrap_con flex_scb">
<div class="text_wrap">
<span class="newMaxTitle">嘀加企微管家SCRM</span>
<div class="maxText">
<p>汽车行业私域流量数字化营销平台</p>
<p>一套帮您变现的服务系统</p>
</div>
</div>
<div class="bg_wrap flex_cc">
<img class="max_icon" src="../../assets/intro_max_bg.png" />
<img @click="videoShow = true" class="play_icon" src="../../assets/play_icon.png" />
</div>
</div>
<div class="wrap_con_mid" :style="showCase ? 'padding-bottom:0' : 'padding-bottom:20px'">
<div class="first_con">
<template v-for="(item, index) in localList">
<div :key="index" class="box_con">
<img class="icon" :src="item.icon" />
<p class="title">{{ item.title }}</p>
<div style="height: 15px"></div>
<p class="h9_title lih18">{{ item.desc }}</p>
<p v-if="item.miniDesc" class="h9_title lih18">{{ item.miniDesc }}</p>
<div v-if="!item.miniDesc" style="height: 14px"></div>
<div style="height: 23px"></div>
<div class="btn_text h13_title flex_scb">
<span>{{ item.btnTitle }}</span>
<span class="btnTextBlue" @click="openDraw(index)">
查看案例
<i class="el-icon-d-arrow-right"></i>
</span>
</div>
</div>
</template>
</div>
<div v-if="showCase" class="sec_con">
<div class="case_content">
<caseOne v-if="curShowCaseIndex == 0"></caseOne>
<caseThree v-if="curShowCaseIndex == 1"></caseThree>
<caseTwo v-if="curShowCaseIndex == 2"></caseTwo>
</div>
<img v-if="curShowCaseIndex == 0" class="bg_icon" :src="imagBaseURL + 'scrm_intro_1.png'" />
<img v-if="curShowCaseIndex == 1" class="bg_icon" :src="imagBaseURL + 'scrm_intro_2.png'" />
<img v-if="curShowCaseIndex == 2" class="bg_icon" :src="imagBaseURL + 'scrm_intro_3.png'" />
</div>
<div v-if="showCase" class="thr_con flex_cc">
<div class="btn" @click="showCase = false">
<span class="h18_title">收缩详情</span>
<img @click="showCase = false" src="../../assets/updown_icon.png" />
</div>
</div>
</div>
<div class="wrap_con_foot">
<div class="title">服务收益在线评估</div>
<div class="wrap_line">
<div class="line_left flex_sc">
<div class="cell flex_sc">
<div class="label h13_title">门店月平均新车销量</div>
<el-input style="width: 215px" maxlength="5" clearable size="mini" v-model="num1">
<template slot="append">台</template>
</el-input>
<span v-if="(!num1 && checked) || numberCheck1" :class="[{ err2: numberCheck1 }]" class="error_tip">{{ errorMessage1 }}</span>
</div>
<div style="width: 30px; height: 1px"></div>
<div class="cell flex_sc">
<div class="label h13_title">门店数</div>
<el-input style="width: 215px" maxlength="5" clearable size="mini" v-model="num2">
<template slot="append">家</template>
</el-input>
<span v-if="(!num2 && checked) || numberCheck2" :class="[{ err2: numberCheck2, err4: errorMessage2.length == 8 }]" class="error_tip err3">{{ errorMessage2 }}</span>
</div>
<div style="width: 30px; height: 1px"></div>
<el-button size="mini" type="primary" @click="computedInfo">计算</el-button>
</div>
</div>
<div class="wrap_pie_con">
<div class="titlemin h13_title flex_sc">
<span>结果预测</span>
<img @mouseenter="showTip = true" @mouseleave="showTip = false" src="../../assets/intro.png" alt="" />
</div>
<div v-if="showTip" class="tipContentClass">
<div class="title_1">说明</div>
<p class="h20_title">单店产值计算公式:用户量*渗透率*客单价</p>
<div class="single"></div>
<div class="single1"></div>
</div>
<div class="new_chart_container">
<div class="left_con">
<div class="maxTextPrice">
<span class="h13_title">总产值</span>
<span v-if="totalProduct" class="blueText">{{ totalProduct }}/年</span>
<span v-else class="blueText">--</span>
</div>
<div style="height: 20px"></div>
<div class="maxTextPrice">
<span class="h13_title">单店产值</span>
<span v-if="singleProduct" class="blueText">{{ singleProduct }}/年</span>
<span v-else class="blueText">--</span>
</div>
</div>
<div class="main_icon_wrap flex_cc">
<i class="el-icon-d-arrow-right"></i>
</div>
<div class="chart_wrapper">
<pie ref="mypie" echartId="myPie"></pie>
</div>
</div>
</div>
</div>
<qrCode :codeUrl="code" phone="188 2423 1191"></qrCode>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height:18px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/totalSale.mp4"></video>
</el-dialog>
</div>
</template>
<script>
import pie from '../../components/service-echart/pie.vue'
import caseOne from '../../components/intro-case/case_one.vue'
import caseTwo from '../../components/intro-case/case_two.vue'
import caseThree from '../../components/intro-case/case_three.vue'
import qrCode from '../../components/qr-code/index.vue'
const imagBaseURL = 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/'
export default {
name: '',
components: {
pie,
caseOne,
caseTwo,
caseThree,
qrCode
},
data() {
return {
imagBaseURL,
code:'https://img01.glsx.com.cn/weapp/resource/saas/scrm/lianghh.png',
num1: '',
num2: 1,
checked: false,
totalProduct: 0,
singleProduct: 0,
showTip: false,
errorMessage1: '门店月平均新车销量不能为空',
errorMessage2: '门店数不能为空',
numberCheck1: false,
numberCheck2: false,
showQRCode: false,
localList: [
{
title: '售前权益增值方案',
desc: '4S店会员权益服务',
miniDesc: '客户线上化促活跃,赚钱、锁客促返厂',
btnTitle: '帮门店新增产值100万/年',
icon: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/scrm_tro_one.png'
},
{
title: '售中精品升级方案',
desc: '驻店升级转化精品',
miniDesc: '赋能门店次新车流量托管式增值变现',
btnTitle: '帮门店新增产值100万/年',
icon: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/scrm_tro_two.png'
},
{
title: '售后直播代运营方案',
desc: 'SCRM助力客户线上化',
miniDesc: '标签化用户分层,多品类网红直播变现',
btnTitle: '帮售后新增产值100万/年',
icon: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/scrm_tro_three.png'
}
],
showCase: false,
curShowCaseIndex: 0,
videoShow: false,
caseBgHeight: 344
}
},
mounted() {
let bodyH = document.body.clientHeight
this.caseBgHeight = bodyH * 0.25
},
methods: {
// 总产值=总售前产值+总售中产值+总售后产值;单店产值=总产值/门店数量;
// 售前权益新增产值(简称:售前产值)=新车销量*12(个月)*30%(渗透率)*2000(平均客单价);
// 售中精品新增产值(简称:售中产值)=新车销量*12(个月)*45%(渗透率)*1350(平均客单价);
// 售后代运营产值(简称:售后产值)=新车销量*12(个月)*3(触达3年的用户)*12%(渗透率)*500(平均客单价);
// temp.preSalePermeability = temp.preSalePermeability || '售前权益渗透率'
// temp.preSaleUnitPrice = temp.preSaleUnitPrice || '售前权益客单价'
// temp.onSalePermeability = temp.onSalePermeability || '售中精品渗透率'
// temp.onSaleUnitPrice = temp.onSaleUnitPrice || '售中精品客单价'
// temp.afterSalePermeability = temp.afterSalePermeability || '售后代运营渗透率'
// temp.afterSaleUnitPrice = temp.afterSaleUnitPrice || '售后代运营客单价'
// 新车销量 num1 门店数num2
computedInfo() {
if (!this.num1 || !this.num2) {
this.checked = true
this.errorMessage1 = '门店月平均新车销量不能为空'
this.errorMessage2 = '门店数不能为空'
setTimeout(() => {
this.checked = false
}, 1500)
return
}
let posPattern = /^\d*\.?\d+$/
if (!posPattern.test(this.num1)) {
this.numberCheck1 = true
this.errorMessage1 = '请输入正确的数字格式'
setTimeout(() => {
this.numberCheck1 = false
}, 1500)
return
}
if (!posPattern.test(this.num2)) {
this.numberCheck2 = true
this.errorMessage2 = '请输入正确的数字格式'
setTimeout(() => {
this.numberCheck2 = false
}, 1500)
return
}
if (this.num1 == 0) {
this.numberCheck1 = true
this.errorMessage1 = '门店新车销量不能小于0'
setTimeout(() => {
this.numberCheck1 = false
}, 1500)
return
}
if (this.num2 == 0) {
this.numberCheck2 = true
this.errorMessage2 = '门店数不能小于0'
setTimeout(() => {
this.numberCheck2 = false
}, 1500)
return
}
let num1 = parseInt(this.num1)
let num2 = parseInt(this.num2)
let obj = this.$refs.mypie.computeProduct(num1, num2)
this.totalProduct = obj.totalProduct
this.singleProduct = obj.singleProduct
},
openDraw(index) {
this.showCase = true
this.curShowCaseIndex = index
},
handleClose() {
this.videoShow = false
}
}
}
</script>
<style lang="scss" scoped>
.wrap_con {
width: 100%;
height: 360px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
box-sizing: border-box;
padding-right: 50px;
.text_wrap {
box-sizing: border-box;
padding-left: 50px;
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
> span {
font-size: 16px;
font-weight: 400;
color: #666666;
}
.maxText {
margin-top: 10px;
> p {
font-size: 24px;
font-weight: 400;
color: #333333;
line-height: 36px;
}
}
.newMaxTitle {
font-size: 42px;
font-weight: bold;
color: #000000;
line-height: 59px;
}
}
.bg_wrap {
width: 480px;
height: 270px;
position: relative;
.max_icon {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 1;
}
.play_icon {
position: relative;
z-index: 2;
cursor: pointer;
}
}
}
.wrap_con_mid {
// height: 270px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
margin-top: 10px;
padding: 20px 20px 0 20px;
.first_con {
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
.box_con {
width: 31.6%;
height: 100%;
background: #ffffff;
border-radius: 2px;
border: 1px solid #eae9ee;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.icon {
width: 40px;
height: 40px;
margin-top: 20px;
margin-bottom: 30px;
}
.title {
font-size: 18px;
font-weight: 600;
color: #333333;
}
.tip {
margin-top: 15px;
margin-bottom: 41px;
}
.btn_text {
margin-bottom: 30px;
white-space: nowrap;
}
.btnTextBlue {
font-size: 14px;
font-weight: 500;
color: #5850ff;
margin-left: 30px;
cursor: pointer;
> i {
margin-left: 14px;
}
}
.lih18 {
line-height: 18px;
}
}
}
.sec_con {
box-sizing: border-box;
margin-top: 10px;
height: 400px;
background: #ffffff;
position: relative;
.bg_icon {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
}
.case_content {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: calc(100% - 15px);
z-index: 2;
}
}
.custH {
height: 398px;
}
.thr_con {
height: 56px;
.btn {
cursor: pointer;
> img {
margin-left: 5px;
width: 10px;
height: 9px;
}
}
}
}
.wrap_con_foot {
height: 300px;
margin-top: 10px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
.title {
box-sizing: border-box;
font-size: 18px;
font-weight: 600;
color: #333333;
padding: 20px 0 10px 21px;
}
.wrap_line {
display: flex;
align-items: center;
box-sizing: border-box;
padding: 0 20px 0px 21px;
.line_left {
width: 100%;
.cell {
position: relative;
.error_tip {
position: absolute;
right: 56px;
bottom: -16px;
font-size: 11px;
color: #ee3527;
z-index: 22;
}
.err3 {
right: 129px;
}
.err2 {
right: 96px;
}
.err4 {
right: 129px;
}
}
.label {
margin-right: 15px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
}
.wrap_pie_con {
// margin: 20px 0;
height: 235px;
background: #ffffff;
// border-radius: 2px;
// border: 1px solid #eae9ee;
position: relative;
.tipContentClass {
position: absolute;
left: 104px;
top: -3px;
// width: 240px;
// height: 94px;
background: #ffffff;
box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12);
border: 1px solid #e4e7ed;
z-index: 999;
box-sizing: border-box;
padding: 10px 9px;
.title_1 {
font-size: 12px;
font-weight: bold;
color: #333333;
z-index: 999;
position: relative;
}
> p {
z-index: 999;
position: relative;
margin-top: 10px;
line-height: 18px;
}
.single {
position: absolute;
left: -5px;
top: 15px;
// transform: translate(0, -50%);
width: 10px;
height: 10px;
background: #ffffff;
transform: rotate(-60deg);
border: 1px solid #e4e7ed;
z-index: -1;
}
.single1 {
position: absolute;
left: 0px;
top: 50%;
transform: translate(0, -50%);
width: 20px;
height: 100%;
background: #ffffff;
z-index: 22;
}
}
.titlemin {
padding: 20px 0 0 20px;
> img {
width: 12px;
height: 12px;
margin-left: 5px;
cursor: pointer;
}
}
.new_chart_container {
margin: 20px;
display: flex;
align-items: center;
height: 150px;
background: #ffffff;
border-radius: 2px;
border: 1px solid #eae9ee;
.left_con {
width: 30%;
padding-left: 20px;
.maxTextPrice {
.blueText {
font-size: 20px;
font-weight: 600;
color: #5850ff;
margin-left: 10px;
}
}
}
.main_icon_wrap {
height: 100%;
margin-right: 76px;
> i {
color: #5850ff;
font-size: 20px;
}
}
.chart_wrapper {
width: 50%;
height: 150px;
}
}
// .text_line {
// margin-top: 19px;
// box-sizing: border-box;
// padding-left: 20px;
// .maxTextPrice {
// .blueText {
// font-size: 20px;
// font-weight: 600;
// color: #5850ff;
// margin-left: 10px;
// }
// }
// .spc {
// margin-left: 150px;
// }
// }
.chart_wrap {
width: 50%;
height: 152px;
}
}
}
</style>