|
@@ -0,0 +1,171 @@
|
|
|
|
+import { getSmsCode, submit } from '@/apis';
|
|
|
|
+import { ModalForm, ProFormText } from '@ant-design/pro-components';
|
|
|
|
+import { useCountDown, useRequest } from 'ahooks';
|
|
|
|
+import { Button, Col, FormInstance, message, Modal, Row } from 'antd';
|
|
|
|
+import { useRef, useState } from 'react';
|
|
|
|
+import './index.less';
|
|
|
|
+
|
|
|
|
+const homeList0 = [
|
|
|
|
+ {
|
|
|
|
+ title: "传统获得客效率低,成本高",
|
|
|
|
+ content: "3000个白名单里可能只能挖掘出一个意向客户,员工信心不足,线路成本与人工成本均居高不下"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: "客户资源易流失",
|
|
|
|
+ content: "高价挖掘的意向客户,面临员工离职带走客户和员工飞单的风险,无法形成客户资产,资源全部在业务员手上"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: "跨部门沟通成本高",
|
|
|
|
+ content: "线下上门客户填写个人信息受法律监管,机构对于各类纸质资料不易保存,上门客户服务情况无法掌握,跨部门沟通成本高"
|
|
|
|
+ },
|
|
|
|
+]
|
|
|
|
+const homeList1 = [
|
|
|
|
+ {
|
|
|
|
+ title: "轻松获客",
|
|
|
|
+ content: "通过惠融易客推广获客,轻松获取意向客户,有效降低获客成本95%"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: "客户管理",
|
|
|
|
+ content: "通过惠融易客客户管理系统,科学高效管理企业客户资料,开成公司资产,员工离职一键收回所有权限,客户跟进情况一目了然"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: "业务管理",
|
|
|
|
+ content: "通过惠融易客客户管理系统记录跟进,客户从上门到成交的各个环节均可清晰化、信息化记录,有效提高效率与服务质量"
|
|
|
|
+ },
|
|
|
|
+]
|
|
|
|
+
|
|
|
|
+export default () => {
|
|
|
|
+ const [targetDate, setTargetDate] = useState<number>();
|
|
|
|
+ const ref = useRef<FormInstance>();
|
|
|
|
+ const [countdown] = useCountDown({ targetDate });
|
|
|
|
+ const result = useRequest(async (phone: string) => {
|
|
|
|
+ const p = await getSmsCode(phone);
|
|
|
|
+ p && setTargetDate(Date.now() + 60000);;
|
|
|
|
+ }, { manual: true })
|
|
|
|
+ return (
|
|
|
|
+ <div className="home" >
|
|
|
|
+ <ModalForm
|
|
|
|
+ formRef={ref}
|
|
|
|
+ width={500}
|
|
|
|
+ onFinish={async (values) => {
|
|
|
|
+ await submit(values);
|
|
|
|
+ }} title="申请试用" open={true} >
|
|
|
|
+ <ProFormText fieldProps={{ addonBefore: <img style={{ width: 15, height: 15 }} src={require("../../assets/img_home_modal_0.png")} /> }} rules={[{ required: true }]} name="companyName" placeholder="请输入您的公司名称" />
|
|
|
|
+ <ProFormText fieldProps={{ addonBefore: <img style={{ width: 15, height: 15 }} src={require("../../assets/img_home_modal_1.png")} /> }} rules={[{ required: true }]} name="address" placeholder="请选择所在城市" />
|
|
|
|
+ <ProFormText fieldProps={{ addonBefore: <img style={{ width: 15, height: 15 }} src={require("../../assets/img_home_modal_2.png")} /> }} rules={[{ required: true }]} name="customName" placeholder="请输入您的姓名" />
|
|
|
|
+ <ProFormText fieldProps={{ addonBefore: <img style={{ width: 15, height: 15 }} src={require("../../assets/img_home_modal_3.png")} /> }} rules={[{ required: true }]} name="phone" placeholder="请输入您的联系方式" />
|
|
|
|
+ <ProFormText fieldProps={{
|
|
|
|
+ addonAfter: <a style={{ display: "inline-block", width: 100 }} onClick={() => {
|
|
|
|
+ if (!result.loading && countdown === 0) {
|
|
|
|
+ var phone = ref.current?.getFieldValue("phone") as string;
|
|
|
|
+ if (new RegExp("^1[0-9]{10}$").test(phone)) {
|
|
|
|
+ result.run(phone);
|
|
|
|
+ }
|
|
|
|
+ else {
|
|
|
|
+ message.error("请输入正确的手机号")
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }} >{countdown === 0 ? "获取验证码" : Math.round(countdown / 1000)}</a>, addonBefore: <img style={{ width: 15, height: 15, }} src={require("../../assets/img_home_modal_4.png")} />
|
|
|
|
+ }} rules={[{ required: true }]} name="verifyCode" placeholder="请输入验证码" />
|
|
|
|
+ </ModalForm>
|
|
|
|
+ <img className="home-back" src={require('../../assets/img_home.png')} />
|
|
|
|
+ <div className='home-qa' >
|
|
|
|
+ <div className='home-title' >为什么选择惠融易客</div>
|
|
|
|
+ <div className='home-title-sub'>与传统方式相比较,惠融易客的优势又都有哪些?</div>
|
|
|
|
+ <div className='home-qa-img-row' >
|
|
|
|
+ <div className='container' >
|
|
|
|
+ <Row gutter={[24, 24]} >
|
|
|
|
+ {
|
|
|
|
+ homeList0.map((p, i) => {
|
|
|
|
+ return (
|
|
|
|
+ <Col span={8} key={p.title} >
|
|
|
|
+ <div className={`home-qa-img-row-item `} >
|
|
|
|
+ <img src={require(`../../assets/img_home_qs_0_${i}.png`)} />
|
|
|
|
+ <div className='home-qa-img-row-item-absolute' >
|
|
|
|
+ <div className='home-qa-img-row-item-absolute-title' >
|
|
|
|
+ {p.title}
|
|
|
|
+ </div>
|
|
|
|
+ <div className='home-qa-img-row-item-absolute-subtitle' >
|
|
|
|
+ {p.content}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </Col>
|
|
|
|
+ )
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ {
|
|
|
|
+ homeList1.map((p, i) => {
|
|
|
|
+ return (
|
|
|
|
+ <Col span={8} key={p.title} >
|
|
|
|
+ <div className={`home-qa-img-row-item `} >
|
|
|
|
+ <img src={require(`../../assets/img_home_qs_1_${i}.png`)} />
|
|
|
|
+ <div className='home-qa-img-row-item-absolute' >
|
|
|
|
+ <div className='home-qa-img-row-item-absolute-title' >
|
|
|
|
+ <span>0{i + 1}</span> {p.title}
|
|
|
|
+ </div>
|
|
|
|
+ <div className='home-qa-img-row-item-absolute-subtitle' >
|
|
|
|
+ {p.content}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </Col>
|
|
|
|
+ )
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ </Row>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div className='home-ad' >
|
|
|
|
+ <div className='container' >
|
|
|
|
+ <div className='home-title' >精准获客</div>
|
|
|
|
+ <div className='home-title-sub'>多渠道投放对接,帮助企业搭建推广产品矩阵</div>
|
|
|
|
+ <Row gutter={[100, 24]} className="home-ad-row" >
|
|
|
|
+ {
|
|
|
|
+ [...Array(6).keys()].map(p => {
|
|
|
|
+ return (
|
|
|
|
+ <Col span={8} >
|
|
|
|
+ <img src={require(`../../assets/img_home_ad_${p}.png`)} />
|
|
|
|
+ </Col>
|
|
|
|
+ )
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ </Row>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div className='home-static' >
|
|
|
|
+ <div className='container' >
|
|
|
|
+ <div className='home-title' >精准获客</div>
|
|
|
|
+ <div className='home-title-sub'>多渠道投放对接,帮助企业搭建推广产品矩阵</div>
|
|
|
|
+ <Row align="middle" gutter={32} >
|
|
|
|
+ <Col className='home-static-title' >
|
|
|
|
+ 已加入
|
|
|
|
+ </Col>
|
|
|
|
+ <Col >
|
|
|
|
+ <Row gutter={12} >
|
|
|
|
+ {
|
|
|
|
+ "1233333".split("").map(p => {
|
|
|
|
+ return (
|
|
|
|
+ <Col flex={1} className="home-static-num" >
|
|
|
|
+ <div className='home-static-num-wrap' >
|
|
|
|
+ {p}
|
|
|
|
+ </div>
|
|
|
|
+ </Col>
|
|
|
|
+ )
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ </Row>
|
|
|
|
+ </Col>
|
|
|
|
+ <Col className='home-static-title' >
|
|
|
|
+ 人
|
|
|
|
+ </Col>
|
|
|
|
+ </Row>
|
|
|
|
+ <div style={{ textAlign: "center" }} >
|
|
|
|
+ <Button className='home-static-btn' >立即申请试用</Button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ )
|
|
|
|
+}
|