Commit 9126ede0 by 杨北旺

服务介绍改版

1 parent 3d125381
<template> <template>
<div class="qr-code-components"> <div class="qr-code-components">
<div :style="[{ bottom: bottom + 'px' }]" @mousedown="move" @mouseup="moveEnd" ref="callCenter" @mouseenter="show = true" @mouseleave="show = false" class="right_btn flex_ccc"> <div :class="[{topclass:top}]" :style="[{ bottom: bottom + 'px' }]" @mousedown="move" @mouseup="moveEnd" ref="callCenter" @mouseenter="show = true" @mouseleave="show = false" class="right_btn flex_ccc">
<img src="../../assets/contact_icon.png" /> <img v-if="icon" :src="icon" />
<img v-else src="../../assets/contact_icon.png" />
<div class="contact_text">联系我们</div> <div class="contact_text">联系我们</div>
<div v-if="show" class="left_code flex_ccc"> <div v-if="show" class="left_code flex_ccc">
<img :src="codeUrl" /> <img :src="codeUrl" />
...@@ -17,10 +18,18 @@ ...@@ -17,10 +18,18 @@
export default { export default {
name: '', name: '',
props: { props: {
icon:{
type:String,
default:''
},
bottom: { bottom: {
type: Number, type: Number,
default: 64 default: 64
}, },
top: {
type: Number,
default: 0
},
codeUrl: { codeUrl: {
type: String, type: String,
default: 'https://img01.glsx.com.cn/weapp/resource/equity-h5-new/qrcode2.jpg' default: 'https://img01.glsx.com.cn/weapp/resource/equity-h5-new/qrcode2.jpg'
...@@ -128,4 +137,7 @@ export default { ...@@ -128,4 +137,7 @@ export default {
} }
} }
} }
.topclass{
top: 154px;
}
</style> </style>
// 12个产品
const imagBaseURL = 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/introduct/'
const PROUDUCTS = [
{
idx: 0,
name: '新车交付期',
tip: '已购车/待交付车辆',
products: [
{
title: '数字无忧权益卡',
label: '服务类',
descOne: '2000.00元/销售客单价',
descTwo: '',
getTotal: (carNum, userNum) => {
let val = userNum * 0.9 * 0.01
return val.toFixed(2)
},
video: false,
introduct: '',
images: [
`${imagBaseURL}数字化无忧权益卡.png`
],
disabled: false,
},
{
title: '汽车太阳膜',
label: '膜类',
descOne: '1500.00元合资自主品牌',
descTwo: '2000.00元豪华品牌',
getTotal: (carNum, userNum) => {
let val = userNum * 0.9 * 0.01
return val.toFixed(2)
},
video: false,
introduct: '',
images: [
`${imagBaseURL}太阳膜.png`
],
disabled: false
}
]
},
{
idx: 1,
name: '新车磨合期',
tip: '购车第一年(0-12个月内)',
products: [
{
title: '漆面保护膜',
label: '膜类',
descOne: '1.3万元/销售客单价',
descTwo: '',
getTotal: (carNum, userNum) => {
let val = userNum * 0.9 * 0.01
return val.toFixed(2)
},
video: false,
introduct: '',
images: [
`${imagBaseURL}漆面保护膜.png`
],
disabled: false
},
{
title: '改色膜',
label: '膜类',
descOne: '5000.00元/销售客单价',
descTwo: '',
getTotal: (carNum, userNum) => {
let val = userNum * 0.9 * 0.01
return val.toFixed(2)
},
video: false,
introduct: '',
images: [
`${imagBaseURL}改色膜.png`
],
disabled: false
}
]
},
{
idx: 2,
name: '用车熟络期',
tip: '购车第二年(12-36个月内)',
products: [
{
title: '镀晶等美容项目',
label: '美容类',
descOne: '350.00元/销售客单价',
descTwo: '',
getTotal: (carNum, userNum) => {
let val = userNum * 0.9 * 0.01
return val.toFixed(2)
},
video: false,
introduct: '',
images: [
`${imagBaseURL}镀晶.png`
],
disabled: false
},
{
title: '360全包脚垫',
label: '轻改类',
descOne: '500.00元/销售客单价',
descTwo: '',
getTotal: (carNum, userNum) => {
let val = userNum * 0.9 * 0.01
return val.toFixed(2)
},
video: false,
introduct: '',
images: [
`${imagBaseURL}360全包脚垫.png`
],
disabled: false
},
{
title: 'AR导航',
label: '轻改类',
descOne: '1600.00元/销售客单价',
descTwo: '',
getTotal: (carNum, userNum) => {
let val = userNum * 1698 * 0.9 * 0.01
return val.toFixed(2)
},
video: false,
introduct: 'Ar导航是一种导航模式,将地图、手机摄像头与AR技术深度结合,摄像头会将真实世界中的一切呈现在手机屏幕上,同时卡通人物、指示箭头等虚拟模型会叠加在现有图像上,这个虚拟模型可为行人指引方向。',
images: [
`${imagBaseURL}AR导航.png`
],
disabled: false
},
{
title: '氛围灯',
label: '轻改类',
descOne: '2000.00/元销售客单价',
descTwo: '',
getTotal: (carNum, userNum) => {
let val = userNum * 2680 * 0.9 * 0.01
return val.toFixed(2)
},
video: false,
introduct: '氛围灯用于烘托车内环境 氛围的内饰灯,设定氛围 灯颜色、亮度,具有良好的体验效果。',
images: [
`${imagBaseURL}氛围灯.png`
],
disabled: false
},
{
title: '360全景导航',
label: '轻改类',
descOne: '2500.00元/销售客单价',
descTwo: '',
getTotal: (carNum, userNum) => {
let val = userNum * 2880 * 0.9 * 0.01
return val.toFixed(2)
},
video: false,
introduct: '360°全景倒车影像监控系统,是一种车载装置,由硬件系统和软件系统所组成,主要通过可视监控车身周边的情况方便车主行车泊车,避免盲区给车主带来不便。',
images: [
`${imagBaseURL}360全景导航.png`
],
disabled: false
}
]
},
{
idx: 3,
name: '用车流失期',
tip: '购车三年以上(36个月以上)',
products: [
{
title: '车险续保',
label: '服务类',
descOne: '2500.00元/销售客单价',
descTwo: '',
getTotal: (carNum, userNum) => {
let val = userNum * 0.9 * 0.01
return val.toFixed(2)
},
video: false,
introduct: '',
images: [],
disabled: true
},
{
title: '金融车贷',
label: '服务类',
descOne: '2000.00元/销售客单价',
descTwo: '',
getTotal: (carNum, userNum) => {
let val = userNum * 0.9 * 0.01
return val.toFixed(2)
},
video: false,
introduct: '',
images: [],
disabled: true
},
{
title: '镀晶等美容项目',
label: '美容类',
descOne: '350.00元/销售客单价',
descTwo: '',
getTotal: (carNum, userNum) => {
let val = userNum * 0.9 * 0.01
return val.toFixed(2)
},
video: false,
introduct: '',
images: [
`${imagBaseURL}镀晶.png`
],
disabled: false
}
]
}
]
// 阶段玩法--新车交付期
const PLAYLIST_NEWCAR = [
{
idx: 0,
name: '销售玩法',
icon: '',
list: [
{
title: '新车套餐打包',
title_child: '驻店销售升级',
tip: '',
mini_title: ''
},
{
title: '产品升级',
title_child: '线下体验',
tip: '',
mini_title: ''
}
]
},
{
idx: 1,
name: '营销关键',
icon: '',
list: [
{
title: '流量来源',
title_child: '',
tip: '4S店新车、展厅车销售',
mini_title: ''
},
{
title: '触达工具',
title_child: '',
tip: '新车销售打包、太阳膜安装施工',
mini_title: ''
},
{
title: '配合岗位',
title_child: '',
tip: '新车销售岗、精品岗',
mini_title: ''
},
{
title: '营销频次',
title_child: '',
tip: '每月',
mini_title: ''
},
{
title: '转化关键',
title_child: '',
tip: '套餐毛利、流量触达',
mini_title: ''
}
]
},
{
idx: 2,
name: '增量收入',
icon: '',
list: [
{
title: '转化率/渗透率',
title_child: '',
tip: '30%',
mini_title: ''
},
{
title: '预计单月',
title_child: '',
tip: '6万',
mini_title: '(100台新车月销量)'
}
]
}
]
// 阶段玩法--新车交付期
const PLAYLIST_NEWCAR_NEXT = [
{
idx: 0,
name: '销售玩法',
icon: '',
list: [
{
title: '订单膨胀、团购众筹',
title_child: '',
tip: '',
mini_title: ''
},
{
title: '产品升级+线下体验',
title_child: '',
tip: '',
mini_title: ''
}
]
},
{
idx: 1,
name: '营销关键',
icon: '',
list: [
{
title: '流量来源',
title_child: '',
tip: '4S店展厅车销售',
mini_title: ''
},
{
title: '触达工具',
title_child: '',
tip: '企业微信',
mini_title: ''
},
{
title: '配合岗位',
title_child: '',
tip: '精品岗',
mini_title: ''
},
{
title: '营销频次',
title_child: '',
tip: '每月',
mini_title: ''
},
{
title: '转化关键',
title_child: '',
tip: '内容种草',
mini_title: ''
}
]
},
{
idx: 2,
name: '增量收入',
icon: '',
list: [
{
title: '转化率/渗透率',
title_child: '',
tip: '5%',
mini_title: ''
},
{
title: '预计单月',
title_child: '',
tip: '5万',
mini_title: '(100台新车月销量)'
}
]
}
]
// 阶段玩法--用车热络期
const PLAYLIST_USECAR = [
{
idx: 0,
name: '销售玩法',
icon: '',
list: [
{
title: '众筹团购、以旧换新抵扣',
title_child: '',
tip: '',
mini_title: ''
},
{
title: '直播展示+线下体验',
title_child: '秒杀活动+勾子产品',
tip: '',
mini_title: ''
}
]
},
{
idx: 1,
name: '营销关键',
icon: '',
list: [
{
title: '流量来源',
title_child: '',
tip: '4S店售后基盘',
mini_title: ''
},
{
title: '触达工具',
title_child: '',
tip: '企业微信/个人微信',
mini_title: ''
},
{
title: '配合岗位',
title_child: '',
tip: '全员岗位:',
mini_title: '新车+售后SA+客服+续保'
},
{
title: '营销频次',
title_child: '',
tip: '轻改类每个季度、美容类每个月',
mini_title: ''
},
{
title: '转化关键',
title_child: '',
tip: '内容种草+高性价比',
mini_title: ''
}
]
},
{
idx: 2,
name: '增量收入',
icon: '',
list: [
{
title: '转化率/渗透率',
title_child: '',
tip: '2%',
mini_title: ''
},
{
title: '预计单月',
title_child: '',
tip: '5万',
mini_title: '(100台新车月销量)'
}
]
}
]
// 阶段玩法--用车热络期
const PLAYLIST_USECAR_RUO = [
{
idx: 0,
name: '销售玩法',
icon: '',
list: [
{
title: '权益套餐买送',
title_child: '',
tip: '',
mini_title: ''
},
{
title: '产品升级+线下体验',
title_child: '',
tip: '',
mini_title: ''
}
]
},
{
idx: 1,
name: '营销关键',
icon: '',
list: [
{
title: '流量来源',
title_child: '',
tip: '4S店续保流失客户',
mini_title: ''
},
{
title: '触达工具',
title_child: '',
tip: '企业微信/个人微信',
mini_title: ''
},
{
title: '配合岗位',
title_child: '',
tip: '续保岗',
mini_title: ''
},
{
title: '营销频次',
title_child: '',
tip: '每月',
mini_title: ''
},
{
title: '转化关键',
title_child: '',
tip: '高性价比',
mini_title: ''
}
]
},
{
idx: 2,
name: '增量收入',
icon: '',
list: [
{
title: '转化率/渗透率',
title_child: '',
tip: '10%',
mini_title: ''
},
{
title: '预计单月',
title_child: '',
tip: '2万',
mini_title: '(100台新车月销量)'
}
]
}
]
export { PROUDUCTS, PLAYLIST_NEWCAR, PLAYLIST_NEWCAR_NEXT, PLAYLIST_USECAR, PLAYLIST_USECAR_RUO }
<template> <template>
<div class="introduct-container"> <div class="introduct-container">
<div class="wrap_con flex_scb"> <div class="page_title">服务中心为门店打造全车主生命周期内的产品销售玩法</div>
<div class="text_wrap"> <div class="dirver"></div>
<span class="newMaxTitle">嘀加企微管家SCRM</span> <div class="wrapper">
<div class="maxText"> <div class="title">门店基本信息</div>
<p>汽车行业私域流量数字化营销平台</p> <div class="pannel gl-form-page">
<p>一套帮您变现的服务系统</p> <glsx-combi-form :isInline="false" labelWidth="154px" defaultWidth="432px" :formObj="ruleForm" :formData="editFormData">
<div slot="customInputAdd" class="flex_sc">
<el-input maxlength="8" placeholder="请输入用户数/个" style="width: 432px" v-model="ruleForm.userNum"></el-input>
<div class="button_wrap">
<el-button type="primary" @click="computedAllMoney">提交测算</el-button>
</div> </div>
</div> </div>
<div class="bg_wrap flex_cc"> </glsx-combi-form>
<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> </div>
<div class="wrap_con_mid" :style="showCase ? 'padding-bottom:0' : 'padding-bottom:20px'"> <div class="dirver"></div>
<div class="first_con"> <div class="wrapper">
<template v-for="(item, index) in localList"> <div class="title">产品和服务</div>
<div :key="index" class="box_con"> <div class="box">
<img class="icon" :src="item.icon" /> <template v-for="(item, index) in productList">
<p class="title">{{ item.title }}</p> <div :key="index" class="element">
<div style="height: 15px"></div> <div class="header_pannel flex_ccc">
<p class="h9_title lih18">{{ item.desc }}</p> <div class="name">{{ item.name }}</div>
<p v-if="item.miniDesc" class="h9_title lih18">{{ item.miniDesc }}</p> <div class="tip">{{ item.tip }}</div>
<div v-if="!item.miniDesc" style="height: 14px"></div> <div v-if="index != 3" class="triangle-right"></div>
<div style="height: 23px"></div> <div v-if="index" class="triangle-left"></div>
<div class="btn_text h13_title flex_scb"> <img class="icon" :src="imagBaseURL + 'icon_' + index + '.png'" />
<span>{{ item.btnTitle }}</span>
<span class="btnTextBlue" @click="openDraw(index)">
查看案例
<i class="el-icon-d-arrow-right"></i>
</span>
</div> </div>
<div class="dirver"></div>
<div class="main_pannel">
<div class="line_btn flex_scb" @click="openPlay(item, index)">
<span>查看阶段玩法</span>
<i class="el-icon-arrow-right"></i>
</div> </div>
<div class="con_pannel">
<template v-for="(el, inx) in item.products">
<div :key="inx" class="child_box" @mouseenter="mouseenter(inx, index)" @mouseleave="mouseleave">
<div class="top_widget" :class="[{ op2: !el.disabled && showModel && currentProduct == inx && currentFatherIndex == index }]">
<div class="title_c flex_sc">
<span>{{ el.title }}</span>
<div class="sign_label flex_cc">{{ el.label }}</div>
</div>
<div class="desc">{{ el.descOne }}</div>
<div v-if="el.descTwo" class="desc">{{ el.descTwo }}</div>
</div>
<div class="bottom_widget" :class="[{ op2: !el.disabled && showModel && currentProduct == inx && currentFatherIndex == index }]">
<template v-if="el.disabled">
<span>暂无预估收益,敬请期待</span>
</template>
<template v-else>
<span>预估收益</span>
<span class="price">{{ el.getTotal(computePara.carNum, computePara.userNum) }}</span>
<span>元,据新车销量{{ computePara.carNum }}台测算</span>
</template> </template>
</div> </div>
<div v-if="showCase" class="sec_con" :style="[{ height: curShowCaseIndex == 0 ? '490px' : '400px' }]"> <div v-if="!el.disabled && showModel && currentProduct == inx && currentFatherIndex == index" class="model flex_cc">
<div class="case_content"> <el-button size="small" type="primary" @click="openIntroduct(el, inx)">产品介绍</el-button>
<caseOne v-if="curShowCaseIndex == 0"></caseOne> <el-button class="custombtn" size="small" plain @click="openVideo(el, inx)">查看案例</el-button>
<caseThree v-if="curShowCaseIndex == 1"></caseThree>
<caseTwo v-if="curShowCaseIndex == 2"></caseTwo>
</div> </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>
<div v-if="showCase" class="thr_con flex_cc"> </template>
<div class="btn" @click="showCase = false">
<span class="h18_title">收缩详情</span>
<img @click="showCase = false" src="../../assets/updown_icon.png" />
</div> </div>
</div> </div>
</div> </div>
<div class="wrap_con_foot"> </template>
<div class="title">服务收益在线评估</div> </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>
<div style="width: 30px; height: 1px"></div> <GLDialog :visible.sync="showDialog" mode="mid" :hasFooter="false" :before-close="handleClose">
<div class="cell flex_sc"> <div slot="title" class="flex_sc">
<div class="label h13_title">门店数</div> <div class="bigTitle">{{ dialogTitle }}</div>
<el-input style="width: 215px" maxlength="5" clearable size="mini" v-model="num2"> <div class="tipTitle">{{ dialogTip }}</div>
<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>
<div style="width: 30px; height: 1px"></div> <div class="dialog_pannel">
<el-button size="mini" type="primary" @click="computedInfo">计算</el-button> <template v-for="(item, index) in dialogList">
<div :key="index" class="box">
<div class="name_header flex_scb">
<span>{{ item.name }}</span>
<img class="icon" :src="imagBaseURL + 'dialog_icon_' + index + '.png'" />
</div> </div>
<div class="content">
<div v-for="(el, inx) in item.list" :key="inx" class="widget">
<div class="main_title flex_sc">
<div class="point flex_cc">
<div class="inner"></div>
</div> </div>
<div class="wrap_pie_con"> <div class="point_title">{{ el.title }}</div>
<div class="titlemin h13_title flex_sc">
<span>结果预测</span>
<img @mouseenter="showTip = true" @mouseleave="showTip = false" src="../../assets/intro.png" alt="" />
</div> </div>
<div v-if="showTip" class="tipContentClass"> <div v-if="el.title_child" class="main_title flex_sc">
<div class="title_1">说明</div> <div class="point opac"></div>
<p class="h20_title">单店产值计算公式:用户量*渗透率*客单价</p> <div class="point_title">{{ el.title_child }}</div>
<div class="single"></div>
<div class="single1"></div>
</div> </div>
<div class="new_chart_container"> <div v-if="el.tip" class="tip flex_sc">
<div class="left_con"> <div class="point opac"></div>
<div class="maxTextPrice"> {{ el.tip }}
<span class="h13_title">总产值</span>
<span v-if="totalProduct" class="blueText">{{ totalProduct }}/年</span>
<span v-else class="blueText">--</span>
</div> </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> </div>
<div class="main_icon_wrap flex_cc">
<i class="el-icon-d-arrow-right"></i>
</div> </div>
<div class="chart_wrapper"> </template>
<pie ref="mypie" echartId="myPie"></pie>
</div> </div>
</GLDialog>
<GLDialog :visible.sync="showProductDialog" mode="mid" :hasFooter="false" :before-close="handleProductClose">
<div slot="title" class="flex_sc">
<div class="bigTitle">{{ productDialogTitle }}</div>
<div class="tipTitle">{{ productDialogTip }}</div>
</div> </div>
<div class="dialog_pannel spc_pannel">
<div class="swiper">
<el-carousel trigger="hover" height="180px" indicator-position="none" @change="changeSwiper">
<el-carousel-item v-for="item in imageList" :key="item">
<img class="imgclass" :src="item" />
</el-carousel-item>
</el-carousel>
<div v-if="imageList.length > 1" class="indicator">
<div v-for="(item, index) in imageList" :key="index" class="indicator_point" :class="[{ indicator_point_active: swiperIndex == index }]"></div>
</div> </div>
</div> </div>
<qrCode :codeUrl="code" phone="188 2423 1191"></qrCode> <div class="text_pannel">{{ productIntroText }}</div>
<el-dialog class="video-dialog" :visible.sync="videoShow" width="50%" :before-close="handleClose"> </div>
<div slot="title" style="height:25px"></div> </GLDialog>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/totalSale.mp4"></video> <el-dialog class="video-dialog" :visible.sync="videoShow" width="50%" :before-close="closeVideo">
<div slot="title" style="height: 25px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls :src="videoSrc"></video>
</el-dialog> </el-dialog>
<qrCode :codeUrl="imagBaseURL + 'introduct_qrcode.png'" :icon="imagBaseURL + 'kf_icon_o.png'" :top="154" phoneTitle="扫码添加客服" phone="开通业务"></qrCode>
</div> </div>
</template> </template>
<script> <script>
import pie from '../../components/service-echart/pie.vue' import qrCode from '@/components/qr-code/index.vue'
import caseOne from '../../components/intro-case/case_one.vue' import glsxCombiForm from '@/components/glsx-combi-form'
import caseTwo from '../../components/intro-case/case_two.vue' const imagBaseURL = 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/introduct/'
import caseThree from '../../components/intro-case/case_three.vue' import { PROUDUCTS, PLAYLIST_NEWCAR, PLAYLIST_NEWCAR_NEXT, PLAYLIST_USECAR, PLAYLIST_USECAR_RUO } from './common/constant'
import qrCode from '../../components/qr-code/index.vue'
const imagBaseURL = 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/'
export default { export default {
name: '', name: '',
components: { components: {
pie, glsxCombiForm,
caseOne,
caseTwo,
caseThree,
qrCode qrCode
}, },
data() { data() {
return { return {
imagBaseURL, imagBaseURL,
code: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/lianghh.png', ruleForm: {
num1: '', carNum: 10000,
num2: 1, userNum: 10000
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'
}, },
editFormData: [
{ {
title: '售中精品升级方案', label: '月均新车售台次/台',
desc: '驻店升级转化精品', name: 'carNum',
miniDesc: '赋能门店次新车流量托管式增值变现', type: 'input',
btnTitle: '帮门店新增产值100万/年', maxlength: 8
icon: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/scrm_tro_two.png'
}, },
{ {
title: '售后直播代运营方案', label: '3年售后存量用户数/个',
desc: 'SCRM助力客户线上化', name: 'userNum',
miniDesc: '标签化用户分层,多品类网红直播变现', addHtml: 'customInputAdd'
btnTitle: '帮售后新增产值100万/年',
icon: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/scrm_tro_three.png'
} }
], ],
showCase: false, productList: PROUDUCTS,
curShowCaseIndex: 0, videoSrc: '',
videoShow: false, videoShow: false,
caseBgHeight: 344 currentProduct: -1,
currentFatherIndex: -1,
showModel: false,
showProductDialog: false,
productDialogTitle: '',
productDialogTip: '',
showDialog: false,
dialogTitle: '',
dialogTip: '',
dialogList: [],
imageList: [],
productIntroText: '',
swiperIndex: 0,
// 因需求设计不需要做联动计算,故多设置一个用来交替
computePara: {
carNum: 10000,
userNum: 10000
}
} }
}, },
mounted() { mounted() {},
let bodyH = document.body.clientHeight
this.caseBgHeight = bodyH * 0.25
},
methods: { methods: {
// 总产值=总售前产值+总售中产值+总售后产值;单店产值=总产值/门店数量; openPlay(item, index) {
// 售前权益新增产值(简称:售前产值)=新车销量*12(个月)*30%(渗透率)*2000(平均客单价); const defaultArr = [PLAYLIST_NEWCAR, PLAYLIST_NEWCAR_NEXT, PLAYLIST_USECAR, PLAYLIST_USECAR_RUO]
// 售中精品新增产值(简称:售中产值)=新车销量*12(个月)*45%(渗透率)*1350(平均客单价); this.dialogTitle = item.name
// 售后代运营产值(简称:售后产值)=新车销量*12(个月)*3(触达3年的用户)*12%(渗透率)*500(平均客单价); this.dialogTip = item.tip
// temp.preSalePermeability = temp.preSalePermeability || '售前权益渗透率' this.showDialog = true
// temp.preSaleUnitPrice = temp.preSaleUnitPrice || '售前权益客单价' this.dialogList = defaultArr[index]
// temp.onSalePermeability = temp.onSalePermeability || '售中精品渗透率' },
// temp.onSaleUnitPrice = temp.onSaleUnitPrice || '售中精品客单价' handleClose() {
// temp.afterSalePermeability = temp.afterSalePermeability || '售后代运营渗透率' this.showDialog = false
// temp.afterSaleUnitPrice = temp.afterSaleUnitPrice || '售后代运营客单价' this.dialogTitle = ''
// 新车销量 num1 门店数num2 this.dialogTip = ''
computedInfo() { this.dialogList = []
if (!this.num1 || !this.num2) { },
this.checked = true openIntroduct(item, index) {
this.errorMessage1 = '门店月平均新车销量不能为空' this.showProductDialog = true
this.errorMessage2 = '门店数不能为空' this.productDialogTitle = item.title
setTimeout(() => { this.productDialogTip = item.descOne
this.checked = false this.productIntroText = item.introduct
}, 1500) this.imageList = item.images
return },
} handleProductClose() {
let posPattern = /^\d*\.?\d+$/ this.showProductDialog = false
if (!posPattern.test(this.num1)) { this.productIntroText = ''
this.numberCheck1 = true this.imageList = []
this.errorMessage1 = '请输入正确的数字格式' },
setTimeout(() => { mouseenter(index, fatherIndex) {
this.numberCheck1 = false this.currentProduct = index
}, 1500) this.currentFatherIndex = fatherIndex
return this.showModel = true
} },
if (!posPattern.test(this.num2)) { mouseleave() {
this.numberCheck2 = true this.currentProduct = -1
this.errorMessage2 = '请输入正确的数字格式' this.currentFatherIndex = -1
setTimeout(() => { this.showModel = false
this.numberCheck2 = false },
}, 1500) openVideo(item) {
this.videoShow = true
const DEFAULT_VIDEO = `https://img02.glsx.com.cn/scrm/video/totalSale.mp4`
const PRODUCT_VIDEO = `https://img02.glsx.com.cn/scrm/video/${item.title}.mp4`
this.videoSrc = item.video?PRODUCT_VIDEO:DEFAULT_VIDEO
},
closeVideo() {
this.videoShow = false
},
changeSwiper(e) {
this.swiperIndex = e
},
computedAllMoney() {
const { carNum, userNum } = this.ruleForm
if (!carNum) return this.toastMessage('请输入车辆台次')
if (!userNum) return this.toastMessage('请输入门店数')
if (!Number.isInteger(Number(carNum))) {
this.toastMessage('车辆台次请输入整数值')
return return
} }
if (this.num1 == 0) { if (!Number.isInteger(Number(userNum))) {
this.numberCheck1 = true this.toastMessage('门店数请输入整数值')
this.errorMessage1 = '门店新车销量不能小于0'
setTimeout(() => {
this.numberCheck1 = false
}, 1500)
return return
} }
if (this.num2 == 0) { this.computePara = {
this.numberCheck2 = true carNum,
this.errorMessage2 = '门店数不能小于0' userNum
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
}, },
toastMessage(message, type = 3) {
openDraw(index) { const MESSAGE = ['info', 'success', 'warning', 'error']
this.showCase = true this.$message({
this.curShowCaseIndex = index message,
}, type: MESSAGE[type]
handleClose() { })
this.videoShow = false
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.wrap_con { .page_title {
width: 100%; font-size: 20px;
height: 360px; font-weight: 500;
color: #333333;
line-height: 28px;
}
.dirver {
height: 16px;
}
.wrapper {
min-height: 206px;
background: #ffffff; background: #ffffff;
// box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); .title {
box-sizing: border-box; padding: 15px 0 14px 20px;
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-size: 16px;
font-weight: 400; font-weight: 500;
color: #666666;
}
.maxText {
margin-top: 10px;
> p {
font-size: 24px;
font-weight: 400;
color: #333333; color: #333333;
line-height: 36px; line-height: 28px;
} border-bottom: 1px solid #e5e5e5;
} }
.newMaxTitle { .pannel {
font-size: 42px; padding: 32px 20px;
font-weight: bold; .button_wrap {
color: #000000; margin-left: 16px;
line-height: 59px;
} }
} }
.box {
.bg_wrap { padding: 16px;
width: 480px; display: flex;
height: 270px; .element {
width: 25%;
overflow: hidden;
.header_pannel {
width: calc(100% - 16px);
height: 84px;
background: #f7f7fc;
position: relative; position: relative;
.max_icon { .icon {
width: 100%;
height: 100%;
position: absolute; position: absolute;
left: 0; left: 50%;
bottom: -24px;
transform: translateX(-50%);
width: 40px;
height: 44.15px;
}
.triangle-right {
width: 0;
height: 0;
border-top: 42px solid transparent;
border-left: 16px solid #f7f7fc;
border-bottom: 42px solid transparent;
position: absolute;
right: -16px;
top: 0; top: 0;
right: 0;
bottom: 0;
z-index: 1;
}
.play_icon {
position: relative;
z-index: 2;
cursor: pointer;
}
} }
} .triangle-left {
.wrap_con_mid { width: 0;
// height: 270px; height: 0;
background: #ffffff; border-top: 42px solid transparent;
// box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); border-left: 16px solid white;
margin-top: 16px; border-bottom: 42px solid transparent;
padding: 20px 20px 0 20px; position: absolute;
.first_con { left: 0px;
display: flex; top: 0;
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 { .name {
font-size: 18px; font-size: 16px;
font-weight: 600; font-weight: 500;
color: #333333; color: #111111;
line-height: 24px;
} }
.tip { .tip {
margin-top: 15px; font-size: 14px;
margin-bottom: 41px; font-weight: 400;
color: #666666;
line-height: 20px;
} }
.btn_text {
margin-bottom: 30px;
white-space: nowrap;
} }
.btnTextBlue { .main_pannel {
width: calc(100% - 16px);
height: 100%;
background: #f7f7fc;
box-sizing: border-box;
padding: 16px;
.line_btn {
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 400;
color: #5850ff; color: #5850ff;
margin-left: 30px; line-height: 20px;
box-sizing: border-box;
padding: 0 4px;
cursor: pointer; cursor: pointer;
> i { margin-bottom: 10px;
margin-left: 14px;
}
}
.lih18 {
line-height: 18px;
}
}
} }
.sec_con { .con_pannel {
box-sizing: border-box;
margin-top: 10px;
height: 490px;
background: #ffffff;
position: relative;
.bg_icon {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%; width: 100%;
height: 100%; .child_box {
} width: 100%;
.case_content { background: #fff;
border-radius: 4px;
min-height: 95px;
position: relative;
margin-bottom: 10px;
.model {
position: absolute; position: absolute;
left: 0; left: 0;
right: 0; right: 0;
top: 0;
bottom: 0; bottom: 0;
height: calc(100% - 15px); border-radius: 4px;
z-index: 2; background: rgba(88, 80, 255, 0.2);
} }
.top_widget {
box-sizing: border-box;
padding: 12px 12px 10px 12px;
border-bottom: 1px solid #e5e5e5;
.title_c {
font-size: 14px;
font-weight: 500;
color: #333333;
line-height: 20px;
.sign_label {
width: 48px;
height: 17px;
background: linear-gradient(90deg, rgba(102, 150, 255, 0.25) 0%, rgba(101, 94, 255, 0.25) 100%);
border-radius: 4px;
margin-left: 4px;
font-size: 12px;
font-weight: 400;
color: #787798;
line-height: 17px;
} }
.custH {
height: 398px;
} }
.thr_con { .desc {
height: 56px; font-size: 12px;
.btn { font-weight: 400;
cursor: pointer; color: #666666;
> img { line-height: 17px;
margin-left: 5px;
width: 10px;
height: 9px;
} }
} }
.bottom_widget {
padding: 8px 9px 8px 12px;
font-size: 12px;
font-weight: 400;
color: #666666;
line-height: 17px;
.price {
color: #5850ff;
} }
}
.wrap_con_foot {
// height: 300px;
margin-top: 16px;
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 { .op2 {
right: 129px; opacity: 0.2;
} }
.err2 {
right: 96px;
} }
.err4 {
right: 129px;
} }
} }
.label {
margin-right: 15px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
} }
}
.bigTitle {
font-size: 20px;
font-weight: 500;
color: #333333;
line-height: 28px;
}
.tipTitle {
font-size: 16px;
font-weight: 400;
color: #666666;
line-height: 22px;
margin-left: 8px;
}
.dialog_pannel {
display: flex;
justify-content: space-between;
.box {
width: 32%;
background: #f7f7fc;
border-radius: 4px;
.name_header {
font-size: 16px;
font-weight: 500;
color: #333333;
line-height: 22px;
box-sizing: border-box;
padding: 12px 16px;
border: 1px solid #fff;
.icon {
width: 20px;
height: 21px;
} }
} }
.wrap_pie_con { .content {
// 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; box-sizing: border-box;
padding: 10px 9px; padding: 12px 16px;
.title_1 { .widget {
font-size: 12px; margin-bottom: 10px;
font-weight: bold; }
.point {
width: 8px;
height: 8px;
margin-right: 4px;
border-radius: 50%;
background: linear-gradient(180deg, #6694ff 0%, #5850ff 100%);
.inner {
width: 4px;
height: 4px;
border-radius: 50%;
background: white;
}
}
.opac {
opacity: 0;
}
.point_title {
font-size: 14px;
font-weight: 500;
color: #333333; color: #333333;
z-index: 999; line-height: 23px;
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;
} }
.tip {
font-size: 14px;
font-weight: 400;
color: #666666;
line-height: 20px;
} }
.titlemin {
padding: 20px 0 0 20px;
> img {
width: 12px;
height: 12px;
margin-left: 5px;
cursor: pointer;
} }
} }
.new_chart_container { .swiper {
margin: 20px; width: 360px;
height: 180px;
position: relative;
.indicator {
position: absolute;
left: 50%;
bottom: 8px;
transform: translateX(-50%);
z-index: 50;
display: flex; display: flex;
align-items: center; justify-content: space-around;
height: 150px; .indicator_point {
background: #ffffff; width: 5px;
border-radius: 2px; height: 5px;
border: 1px solid #eae9ee; border-radius: 50%;
.left_con { background: #fff;
width: 30%; margin-right: 4px;
padding-left: 20px;
.maxTextPrice {
.blueText {
font-size: 20px;
font-weight: 600;
color: #5850ff;
margin-left: 10px;
} }
.indicator_point_active {
background: #5850ff;
} }
} }
.main_icon_wrap { .imgclass {
height: 100%; width: 360px;
margin-right: 76px; height: 180px;
> i {
color: #5850ff;
font-size: 20px;
} }
} }
.chart_wrapper { .text_pannel {
width: 50%; margin-top: 16px;
height: 150px; font-size: 14px;
} font-weight: 400;
} color: #666666;
// .text_line { line-height: 21px;
// 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;
}
} }
} }
.spc_pannel {
display: flex;
flex-direction: column;
}
::v-deep .video-dialog { ::v-deep .video-dialog {
.el-dialog__header { .el-dialog__header {
border-bottom: none; border-bottom: none;
...@@ -583,4 +542,7 @@ export default { ...@@ -583,4 +542,7 @@ export default {
display: flex; display: flex;
} }
} }
.custombtn{
background: transparent;
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!