Commit c66f3130 by 王志慧

Merge branch 'v2.0.1' of http://192.168.3.233:8090/saas/scrm-micro-custom into v2.1.0

2 parents a36156ba 8d431ec2
...@@ -91,4 +91,7 @@ background: transparent !important; ...@@ -91,4 +91,7 @@ background: transparent !important;
.mg2{ .mg2{
margin-left:20px; margin-left:20px;
margin-right:20px; margin-right:20px;
}
.mgt10{
margin-top:10px;
} }
\ No newline at end of file \ No newline at end of file
export const Constants = { export const Constants = {
CLIENT_STATUS: { CLIENT_STATUS: {
'0': '正常, green-text', '0': '正常, green-text',
'1': '删除好友, red-text' '1': '删除好友, red-text'
...@@ -153,6 +152,51 @@ export const Constants = { ...@@ -153,6 +152,51 @@ export const Constants = {
0: '未激活', 0: '未激活',
1: '已激活', 1: '已激活',
2: '已过期' 2: '已过期'
} },
DESCRIBEDATA: [
{
name: '潜在意向客户',
info: '无购车且无其他交易行为的所有客户'
},
{
name: '潜在意向客户已加微',
info: '在潜在意向客户中,已加企微的客户'
},
{
name: '潜在意向客户未加微',
info: '在潜在意向客户中,未加企微的客户'
},
{
name: '基盘客户',
info: '有购车或其他交易行为的所有客户'
},
{
name: '基盘客户已加微',
info: '在基盘客户中,已加企微的客户'
},
{
name: '基盘客户未加微',
info: '在基盘客户中,未加企微的客户'
},
{
name: '新车客户',
info: '购车时间3个月的客户'
},
{
name: '车险待续保客户',
info: '近一个月内车险即将到期的客户'
},
{
name: '新车待首保客户',
info: '购车时间5~7个月内,且无保养记录的客户'
},
{
name: '沉默客户',
info: '超过180天未到店的客户'
},
{
name: '已加企微,待匹配客户',
info: '已加企微,且未匹配到潜在意向和基盘客户的客户'
}
]
} }
...@@ -72,8 +72,8 @@ export default { ...@@ -72,8 +72,8 @@ export default {
{ {
name: '客户总数', name: '客户总数',
type: 'pie', type: 'pie',
radius: '91.5px', radius: '118px',
center: ['50%', '68%'], center: ['50%', '65%'],
stillShowZeroSum: false, stillShowZeroSum: false,
data: this.pieData, data: this.pieData,
// data: [ // data: [
......
<template> <template>
<div class="scrm-sub-client-container"> <div class="scrm-sub-client-container">
<div class="head-container"> <div class="head-container">
<div class="head-container-title color-3 font-20">{{ crowdForm.crowdName }}</div> <template v-if="crowdType == ''">
<div class="head-container-content color-6 font-14">{{ crowdForm.crowdDesc }}</div> <div class="head-container-title color-3 font-20">{{ $Constants.DESCRIBEDATA[id - 1].name }}</div>
<div class="head-container-content color-6 font-14">{{ $Constants.DESCRIBEDATA[id - 1].info }}</div>
</template>
<template v-else>
<div class="head-container-title color-3 font-20">{{ crowdForm.crowdName }}</div>
<div class="head-container-content color-6 font-14">{{ crowdForm.crowdDesc }}</div>
</template>
<!-- <div class="reminder font-14 color-3">企业标签 | 自动更新</div> --> <!-- <div class="reminder font-14 color-3">企业标签 | 自动更新</div> -->
<div class="back color-58 font-14" @click="goBack">返回人群管理</div> <div class="back color-58 font-14" @click="goBack">返回人群管理</div>
</div> </div>
...@@ -120,19 +126,15 @@ export default { ...@@ -120,19 +126,15 @@ export default {
let { id } = this let { id } = this
this.init(id) this.init(id)
}, },
computed: {
describe() {
let id = this.id - 1
return this.describeData[id]
}
},
methods: { methods: {
init(id) { init(id) {
this.tableSearchForm = { this.tableSearchForm = {
crowdId: id crowdId: id
} }
// 通过人群Id查询人群详情 // 通过人群Id查询人群详情
this.getCrowdDetails() if (this.crowdType) {
this.getCrowdDetails()
}
// this.getTotalCount() // this.getTotalCount()
}, },
getCrowdDetails() { getCrowdDetails() {
......
...@@ -24,67 +24,73 @@ ...@@ -24,67 +24,73 @@
<span class="clientTotal"> <span class="clientTotal">
<!-- 可以动态跑数字 --> <!-- 可以动态跑数字 -->
<!-- <animate-number from="0" :to="(topDataObj.customerCount || 0) | overThousandFilter" :key="(topDataObj.customerCount || 0) | overThousandFilter" duration="2000"></animate-number> --> <!-- <animate-number from="0" :to="(topDataObj.customerCount || 0) | overThousandFilter" :key="(topDataObj.customerCount || 0) | overThousandFilter" duration="2000"></animate-number> -->
{{ (topDataObj.customerCount || 0) | overThousandFilter }} {{ (topDataObj.customerCount || 0) | overThousandFilter }}人
<span class="person-text">人</span> <!-- <span class="person-text">人</span> -->
</span> </span>
<template v-if="isShowData"> <template v-if="isShowData">
<div class="topIcon"> <div class="topIcon">
<span class="top-inWechat">已加企微</span> <span class="top-inWechat">已加企微</span>
<span class="top-outWechat">未加企微</span> <span class="top-outWechat">未加企微</span>
</div> </div>
<span class="inWechat">已加企微</span> <div class="qiwei-total">
<span class="blueNum">{{ (topDataObj.entmicroAddCustomerCount || 0) | overThousandFilter }}人</span> <div class="qiwei-describe">
<span class="outWechat">未加企微</span> <div class="inWechat">已加企微</div>
<span class="yellowNum">{{ (topDataObj.entmicroNotAddCustomerCount || 0) | overThousandFilter }}人</span> <div class="blueNum">{{ (topDataObj.entmicroAddCustomerCount || 0) | overThousandFilter }}人</div>
</div>
<div class="qiwei-describe">
<div class="outWechat">未加企微</div>
<div class="yellowNum">{{ (topDataObj.entmicroNotAddCustomerCount || 0) | overThousandFilter }}人</div>
</div>
</div>
<!-- 引入echart组件 --> <!-- 引入echart组件 -->
<pie-echart width="100%" height="360px" :topDataObj="topDataObj"></pie-echart> <pie-echart width="100%" height="448px" :topDataObj="topDataObj"></pie-echart>
<div class="personsMap" v-if="topDataObj.entmicroAddCustomerCount > 0"> <div class="personsMap" v-if="topDataObj.entmicroAddCustomerCount > 0">
<pictorial-bar width="100%" height="500px" :entmicroAddCustomerCount="topDataObj.entmicroAddCustomerCount" :entmicroNotAddCustomerCount="topDataObj.entmicroNotAddCustomerCount"></pictorial-bar> <!-- <pictorial-bar width="100%" height="500px" :entmicroAddCustomerCount="topDataObj.entmicroAddCustomerCount" :entmicroNotAddCustomerCount="topDataObj.entmicroNotAddCustomerCount"></pictorial-bar> -->
</div> </div>
</template> </template>
<no-data :type="'hasIconText'" v-if="!isShowData"></no-data> <no-data :type="'hasIconText'" v-if="!isShowData"></no-data>
</div> </div>
<div class="itembox"> <div class="itembox">
<div class="no-buy"> <div class="buy">
<div class="no-buy-total item" @click="goto(1)" fn="人群客户列表" mode="div"> <div class="buy-total item" @click="goto(4)" fn="人群客户列表" mode="div">
<span>潜在意向客户数</span> <!-- <span>购买(存档)客户数</span> -->
<span>无购车且无其他交易行为的所有客户</span> <span>基盘客户数</span>
<span>有购车或其他交易行为的所有客户</span>
<span v-if="!isEmptyObj"> <span v-if="!isEmptyObj">
{{ (topDataObj.purposeCustomerCount || 0) | overThousandFilter }} {{ (topDataObj.purchaseCustomerCount || 0) | overThousandFilter }}人
<span class="person-text">人</span> <!-- <span class="person-text">人</span> -->
</span> </span>
<span v-if="!isEmptyObj"> <span v-if="!isEmptyObj">
占比:{{ purposePercent }}% 占比:{{ purchasePercent }}%
<!-- active: !isNoBuyUp 有active就是绿色--> <i class="triangle" :class="{ active: isBuyUp === 2 }" v-if="isBuyUp"></i>
<i class="triangle" :class="{ active: isNoBuyUp === 2 }" v-if="isNoBuyUp"></i>
<i v-else>--</i> <i v-else>--</i>
</span> </span>
<!-- <i class="vertical-line"></i> -->
<no-data :type="'hasText'" v-if="isEmptyObj"></no-data> <no-data :type="'hasText'" v-if="isEmptyObj"></no-data>
<!-- <i class="vertical-line"></i> -->
</div> </div>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<div class="rightWrap"> <div class="rightWrap">
<div class="inCompanyWechatNum item smallWrap" @click="goto(2)" fn="人群客户列表" mode="div"> <div class="inCompanyWechatNum item smallWrap" @click="goto(5)" fn="人群客户列表" mode="div">
<span>已加企微客户数</span> <span>已加企微客户数</span>
<span> <span>
{{ (topDataObj.purposeCustomerAddCount || 0) | overThousandFilter }} {{ (topDataObj.purchaseCustomerAddCount || 0) | overThousandFilter }}人
<span class="person-text">人</span> <!-- <span class="person-text">人</span> -->
</span> </span>
<span>在潜在意向客户中,已加企微的客户</span> <span>在基盘客户中,已加企微的客户</span>
<!-- <button class="btn">企微魔方&gt;&gt;</button> -->
<!-- <i class="horizontal-line"></i> --> <!-- <i class="horizontal-line"></i> -->
</div> </div>
<el-divider></el-divider> <el-divider></el-divider>
<div class="outCompanyWechatNum item smallWrap" @click="goto(3)" fn="人群客户列表" mode="div"> <div class="outCompanyWechatNum item smallWrap" @click="goto(6)" fn="人群客户列表" mode="div">
<span>未加企微客户数</span> <span>未加企微客户数</span>
<span> <span>
{{ (topDataObj.purposeCustomerNAddCount || 0) | overThousandFilter }} {{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }}人
<span class="person-text">人</span> <!-- <span class="person-text">人</span> -->
</span> </span>
<span>在潜在意向客户中,未加企微的客户</span> <span>在基盘客户中,未加企微的客户</span>
<!-- &nbsp;&nbsp;&gt;&gt;-->
<button class="btn" @click.stop="toGuideCompanyWechat" v-if="accountLevel == 4"> <button class="btn" @click.stop="toGuideCompanyWechat" v-if="accountLevel == 4">
引流企微 引流企微
<i class="el-icon-d-arrow-right"></i> <i class="el-icon-d-arrow-right"></i>
...@@ -92,45 +98,45 @@ ...@@ -92,45 +98,45 @@
</div> </div>
</div> </div>
</div> </div>
<div class="buy"> <div class="no-buy mgt10">
<div class="buy-total item" @click="goto(4)" fn="人群客户列表" mode="div"> <div class="no-buy-total item" @click="goto(1)" fn="人群客户列表" mode="div">
<!-- <span>购买(存档)客户数</span> --> <span>潜在意向客户数</span>
<span>基盘客户数</span> <span>无购车且无其他交易行为的所有客户</span>
<span>有购车或其他交易行为的所有客户</span>
<span v-if="!isEmptyObj"> <span v-if="!isEmptyObj">
{{ (topDataObj.purchaseCustomerCount || 0) | overThousandFilter }} {{ (topDataObj.purposeCustomerCount || 0) | overThousandFilter }}人
<span class="person-text">人</span> <!-- <span class="person-text">人</span> -->
</span> </span>
<span v-if="!isEmptyObj"> <span v-if="!isEmptyObj">
占比:{{ purchasePercent }}% 占比:{{ purposePercent }}%
<i class="triangle" :class="{ active: isBuyUp === 2 }" v-if="isBuyUp"></i> <!-- active: !isNoBuyUp 有active就是绿色-->
<i class="triangle" :class="{ active: isNoBuyUp === 2 }" v-if="isNoBuyUp"></i>
<i v-else>--</i> <i v-else>--</i>
</span> </span>
<!-- <i class="vertical-line"></i> -->
<no-data :type="'hasText'" v-if="isEmptyObj"></no-data> <no-data :type="'hasText'" v-if="isEmptyObj"></no-data>
<!-- <i class="vertical-line"></i> -->
</div> </div>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<div class="rightWrap"> <div class="rightWrap">
<div class="inCompanyWechatNum item smallWrap" @click="goto(5)" fn="人群客户列表" mode="div"> <div class="inCompanyWechatNum item smallWrap" @click="goto(2)" fn="人群客户列表" mode="div">
<span>已加企微客户数</span> <span>已加企微客户数</span>
<span> <span>
{{ (topDataObj.purchaseCustomerAddCount || 0) | overThousandFilter }} {{ (topDataObj.purposeCustomerAddCount || 0) | overThousandFilter }}人
<span class="person-text">人</span> <!-- <span class="person-text">人</span> -->
</span> </span>
<span>在基盘客户中,已加企微的客户</span> <span>在潜在意向客户中,已加企微的客户</span>
<!-- <button class="btn">企微魔方&gt;&gt;</button> -->
<!-- <i class="horizontal-line"></i> --> <!-- <i class="horizontal-line"></i> -->
</div> </div>
<el-divider></el-divider> <el-divider></el-divider>
<div class="outCompanyWechatNum item smallWrap" @click="goto(6)" fn="人群客户列表" mode="div"> <div class="outCompanyWechatNum item smallWrap" @click="goto(3)" fn="人群客户列表" mode="div">
<span>未加企微客户数</span> <span>未加企微客户数</span>
<span> <span>
{{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }} {{ (topDataObj.purposeCustomerNAddCount || 0) | overThousandFilter }}人
<span class="person-text">人</span> <!-- <span class="person-text">人</span> -->
</span> </span>
<span>在基盘客户中,未加企微的客户</span> <span>在潜在意向客户中,未加企微的客户</span>
<!-- &nbsp;&nbsp;&gt;&gt;-->
<button class="btn" @click.stop="toGuideCompanyWechat" v-if="accountLevel == 4"> <button class="btn" @click.stop="toGuideCompanyWechat" v-if="accountLevel == 4">
引流企微 引流企微
<i class="el-icon-d-arrow-right"></i> <i class="el-icon-d-arrow-right"></i>
...@@ -138,6 +144,19 @@ ...@@ -138,6 +144,19 @@
</div> </div>
</div> </div>
</div> </div>
<div class="intended mgt10" @click="goto(11)">
<div class="intend-name">已加企微,待匹配客户</div>
<div class="intend-info">已加企微,且未匹配到潜在意向和基盘客户的客户</div>
<div class="intend-statistics">
<div class="intend-statistics-num">{{ (topDataObj.waitMatchCustomerAddCount || 0) | overThousandFilter }}人</div>
<div class="intend-statistics-rate">
占比:{{ (topDataObj.waitMatchPercent && topDataObj.waitMatchPercent.toFixed(2)) || 0 }}%
<i class="triangle" :class="{ active: topDataObj.waitMatchUp === 2 }" v-if="topDataObj.waitMatchUp"></i>
<i v-else>--</i>
</div>
</div>
</div>
</div> </div>
</div> </div>
<div class="middlemsg"> <div class="middlemsg">
...@@ -148,10 +167,26 @@ ...@@ -148,10 +167,26 @@
<p>{{ item.name }}</p> <p>{{ item.name }}</p>
<p>{{ item.subName }}</p> <p>{{ item.subName }}</p>
<p> <p>
{{ item.num | overThousandFilter }} {{ item.num | overThousandFilter }}人
<span class="person-text">人</span> <!-- <span class="person-text">人</span> -->
</p> </p>
<img :src="item.url" alt="" /> <img :src="item.url" alt="" />
<div class="middlemsg-qiwei-total">
<div class="qiwei-describe">
<div class="inWechat">已加企微</div>
<div class="num">
{{ (item.add(topDataObj) || 0) | overThousandFilter }}
<span class="person-text">人</span>
</div>
</div>
<div class="qiwei-describe">
<div class="inWechat">未加企微</div>
<div class="num">
{{ (item.noAdd(topDataObj) || 0) | overThousandFilter }}
<span class="person-text">人</span>
</div>
</div>
</div>
</div> </div>
</template> </template>
</div> </div>
...@@ -204,18 +239,18 @@ import { getDataOverview, getDataOverviewBarMap } from '@/api/modules/clientData ...@@ -204,18 +239,18 @@ import { getDataOverview, getDataOverviewBarMap } from '@/api/modules/clientData
import { getLoginCount } from '@/api/modules/loginCount' import { getLoginCount } from '@/api/modules/loginCount'
import pieEchart from '@/components/echarts/pieEchart' import pieEchart from '@/components/echarts/pieEchart'
import multipleEchart from '@/components/echarts/multipleEchart' import multipleEchart from '@/components/echarts/multipleEchart'
import pictorialBar from '@/components/echarts/pictorialBar' // import pictorialBar from '@/components/echarts/pictorialBar'
import url1 from '../../assets/clientDataOverview/1.png' import url1 from '../../assets/clientDataOverview/cars.png'
import url2 from '../../assets/clientDataOverview/2.png' import url2 from '../../assets/clientDataOverview/renewal.png'
import url3 from '../../assets/clientDataOverview/3.png' import url3 from '../../assets/clientDataOverview/maintenance.png'
import url4 from '../../assets/clientDataOverview/4.png' import url4 from '../../assets/clientDataOverview/silence.png'
import noData from '@/components/noData/noData' import noData from '@/components/noData/noData'
export default { export default {
name: 'clientDataOverview', name: 'clientDataOverview',
components: { components: {
pieEchart, pieEchart,
multipleEchart, multipleEchart,
pictorialBar, // pictorialBar,
noData noData
}, },
data() { data() {
...@@ -244,6 +279,12 @@ export default { ...@@ -244,6 +279,12 @@ export default {
name: '新车客户数', name: '新车客户数',
subName: '购车时间3个月的客户', subName: '购车时间3个月的客户',
num: 0, num: 0,
add: obj => {
return obj.newCarCustomerAddCount
},
noAdd: obj => {
return obj.newCarCustomerNAddCount
},
url: url1, url: url1,
id: 7 id: 7
}, },
...@@ -251,6 +292,12 @@ export default { ...@@ -251,6 +292,12 @@ export default {
name: '车险待续保客户数', name: '车险待续保客户数',
subName: '近一个月内车险即将到期的客户', subName: '近一个月内车险即将到期的客户',
num: 0, num: 0,
add: obj => {
return obj.needRenewalCustomerAddCount
},
noAdd: obj => {
return obj.needRenewalCustomerNAddCount
},
url: url2, url: url2,
id: 8 id: 8
}, },
...@@ -258,6 +305,12 @@ export default { ...@@ -258,6 +305,12 @@ export default {
name: '新车待首保客户数', name: '新车待首保客户数',
subName: '购车时间5~7个月内,且无保养记录的客户', subName: '购车时间5~7个月内,且无保养记录的客户',
num: 0, num: 0,
add: obj => {
return obj.burseholderCustomerAddCount
},
noAdd: obj => {
return obj.burseholderCustomerNAddCount
},
url: url3, url: url3,
id: 9 id: 9
}, },
...@@ -265,6 +318,12 @@ export default { ...@@ -265,6 +318,12 @@ export default {
name: '沉默客户数', name: '沉默客户数',
subName: '超过180天未到店的客户', subName: '超过180天未到店的客户',
num: 0, num: 0,
add: obj => {
return obj.silenceCustomerAddCount
},
noAdd: obj => {
return obj.silenceCustomerNAddCount
},
url: url4, url: url4,
id: 10 id: 10
} }
...@@ -428,9 +487,9 @@ export default { ...@@ -428,9 +487,9 @@ export default {
this.isHasCustomerCountBanner = true this.isHasCustomerCountBanner = true
return return
} }
console.log('上面', res)
this.topDataObj = res this.topDataObj = res
console.log(this.topDataObj, 'this.topDataObj')
// this.titles[0].num = res.newCarCustomerCount // this.titles[0].num = res.newCarCustomerCount
// this.titles[1].num = res.needRenewalCustomerCount // this.titles[1].num = res.needRenewalCustomerCount
// this.titles[2].num = res.burseholderCustomerCount // this.titles[2].num = res.burseholderCustomerCount
...@@ -620,7 +679,7 @@ export default { ...@@ -620,7 +679,7 @@ export default {
position: relative; position: relative;
background-color: #fff; background-color: #fff;
width: 372px; width: 372px;
height: 500px; //470 height: 554px; //470
box-sizing: border-box; box-sizing: border-box;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
.title { .title {
...@@ -637,7 +696,7 @@ export default { ...@@ -637,7 +696,7 @@ export default {
position: absolute; position: absolute;
padding-right: 16px; padding-right: 16px;
left: 20px; left: 20px;
top: 50px; top: 54px;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
...@@ -656,8 +715,8 @@ export default { ...@@ -656,8 +715,8 @@ export default {
} }
.topIcon { .topIcon {
position: absolute; position: absolute;
left: 125px; left: 20px;
top: 110px; top: 127px;
width: 160px; width: 160px;
height: 17px; height: 17px;
align-items: center; align-items: center;
...@@ -670,46 +729,58 @@ export default { ...@@ -670,46 +729,58 @@ export default {
position: relative; position: relative;
&::before { &::before {
content: ''; content: '';
position: absolute;
width: 9px; width: 9px;
height: 9px; height: 9px;
border-radius: 50%; border-radius: 50%;
left: -18px; margin-right: 10px;
top: 1px;
background-color: #716aff; background-color: #716aff;
display: inline-block;
} }
} }
.top-outWechat { .top-outWechat {
position: relative; position: relative;
&::before { &::before {
content: ''; content: '';
position: absolute; // position: absolute;
width: 9px; width: 9px;
height: 9px; height: 9px;
border-radius: 50%; border-radius: 50%;
left: -18px; margin-right: 10px;
top: 1px; // top: 1px;
background-color: #fe9c1c; background-color: #fe9c1c;
display: inline-block;
} }
} }
} }
.inWechat { .qiwei-total {
width: 372px;
padding: 0 57px;
position: absolute; position: absolute;
left: 57px; bottom: 38px;
top: 365px; display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
}
.inWechat {
// position: absolute;
// left: 57px;
// top: 365px;
height: 20px; height: 20px;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
line-height: 20px; line-height: 20px;
z-index: 9; z-index: 9;
margin-bottom: 4px;
} }
.blueNum { .blueNum {
position: absolute; // position: absolute;
left: 57px; // left: 57px;
top: 389px; // top: 389px;
height: 25px; height: 25px;
font-size: 18px; font-size: 18px;
text-align: center;
font-weight: 600; font-weight: 600;
color: #716aff; color: #716aff;
...@@ -717,9 +788,9 @@ export default { ...@@ -717,9 +788,9 @@ export default {
z-index: 9; z-index: 9;
} }
.outWechat { .outWechat {
position: absolute; // position: absolute;
right: 57px; // right: 57px;
top: 365px; // top: 365px;
height: 20px; height: 20px;
font-size: 14px; font-size: 14px;
...@@ -728,15 +799,17 @@ export default { ...@@ -728,15 +799,17 @@ export default {
line-height: 20px; line-height: 20px;
background-color: #fff; background-color: #fff;
z-index: 9; z-index: 9;
margin-bottom: 4px;
} }
.yellowNum { .yellowNum {
position: absolute; // position: absolute;
right: 57px; // right: 57px;
top: 389px; // top: 389px;
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
color: #fe9c1c; color: #fe9c1c;
line-height: 25px; line-height: 25px;
text-align: center;
} }
.personsMap { .personsMap {
width: 468px; width: 468px;
...@@ -747,18 +820,19 @@ export default { ...@@ -747,18 +820,19 @@ export default {
} }
} }
.itembox { .itembox {
width: calc(100% - 372px); width: calc(100% - 382px);
.item { .item {
// border: 1px solid rgba(121, 121, 121, 1); // border: 1px solid rgba(121, 121, 121, 1);
height: 119px; height: 86px;
box-sizing: border-box; box-sizing: border-box;
} }
.item.no-buy-total, .item.no-buy-total,
.item.buy-total { .item.buy-total {
height: 238px; // height: 238px;
width: 50%; width: 50%;
position: relative; position: relative;
height: auto;
cursor: pointer; cursor: pointer;
> span { > span {
position: absolute; position: absolute;
...@@ -782,20 +856,22 @@ export default { ...@@ -782,20 +856,22 @@ export default {
line-height: 20px; line-height: 20px;
} }
&:nth-child(3) { &:nth-child(3) {
top: 109px; top: 106px;
// left: 126px; // left: 126px;
left: 33%; left: 50%;
transform: translateX(-50%);
height: 26px; height: 26px;
font-size: 26px; font-size: 26px;
font-weight: 500; font-weight: 600;
color: #333333; color: #333333;
line-height: 26px; line-height: 26px;
letter-spacing: 1px; letter-spacing: 1px;
} }
&:nth-child(4) { &:nth-child(4) {
top: 160px; top: 156px;
// left: 136px; // left: 136px;
left: 33%; left: 50%;
transform: translateX(-50%);
height: 22px; height: 22px;
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
...@@ -842,10 +918,71 @@ export default { ...@@ -842,10 +918,71 @@ export default {
.no-buy, .no-buy,
.buy { .buy {
display: flex; display: flex;
margin-left: 20px; margin-left: 10px;
background-color: #fff; background-color: #fff;
height: 222px;
&:last-child { &:last-child {
margin-top: 20px; margin-top: 10px;
}
}
.intended {
height: 90px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
margin-left: 10px;
position: relative;
box-sizing: border-box;
cursor: pointer;
.intend-name {
height: 22px;
font-size: 16px;
font-weight: 500;
color: #333333;
line-height: 22px;
padding: 20px 0 8px 24px;
font-weight: bold;
}
.intend-info {
height: 20px;
font-size: 14px;
font-weight: 400;
color: #999999;
line-height: 20px;
margin-left: 24px;
width: calc(100% - 433px);
}
.intend-statistics {
position: absolute;
display: flex;
left: 364px;
top: 32px;
&-num {
font-size: 26px;
font-weight: 600;
color: #424242;
line-height: 26px;
letter-spacing: 1px;
margin-right: 12px;
}
&-rate {
font-size: 16px;
font-weight: 500;
color: #565656;
line-height: 22px;
}
.triangle {
display: inline-block;
vertical-align: middle;
width: 0px;
height: 0px;
border-bottom: 6px solid #ff2020;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
&.active {
border-bottom: 6px solid #2cca74;
transform: rotate(180deg);
}
}
} }
} }
.rightWrap { .rightWrap {
...@@ -869,7 +1006,7 @@ export default { ...@@ -869,7 +1006,7 @@ export default {
&:nth-child(2) { &:nth-child(2) {
height: 26px; height: 26px;
font-size: 26px; font-size: 26px;
font-weight: 500; font-weight: 600;
color: #333333; color: #333333;
line-height: 26px; line-height: 26px;
right: 20px; right: 20px;
...@@ -886,8 +1023,7 @@ export default { ...@@ -886,8 +1023,7 @@ export default {
} }
.btn { .btn {
position: absolute; position: absolute;
right: 20px; top: 82px;
bottom: 12px;
padding: 6px 20px; padding: 6px 20px;
box-sizing: border-box; box-sizing: border-box;
border-radius: 4px; border-radius: 4px;
...@@ -929,7 +1065,7 @@ export default { ...@@ -929,7 +1065,7 @@ export default {
width: 25%; width: 25%;
// padding: 20px; // padding: 20px;
position: relative; position: relative;
height: 160px; height: 215px;
border: 1px solid #fff; border: 1px solid #fff;
background-color: #fff; background-color: #fff;
box-sizing: border-box; box-sizing: border-box;
...@@ -954,10 +1090,10 @@ export default { ...@@ -954,10 +1090,10 @@ export default {
line-height: 22px; line-height: 22px;
} }
&:nth-child(2) { &:nth-child(2) {
width: calc(100% - 98px);
left: 20px; left: 20px;
top: 46px; top: 46px;
height: 20px; height: 20px;
width: 160px;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
...@@ -965,7 +1101,7 @@ export default { ...@@ -965,7 +1101,7 @@ export default {
} }
&:nth-child(3) { &:nth-child(3) {
left: 20px; left: 20px;
bottom: 32px; top: 87px;
height: 26px; height: 26px;
font-size: 26px; font-size: 26px;
font-weight: 600; font-weight: 600;
...@@ -980,6 +1116,34 @@ export default { ...@@ -980,6 +1116,34 @@ export default {
} }
} }
} }
&-qiwei-total {
width: 100%;
padding: 0 20px;
position: absolute;
bottom: 20px;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
.qiwei-describe {
font-size: 14px;
font-weight: 400;
color: #666666;
line-height: 20px;
margin-bottom: 4px;
text-align: center;
}
.num {
font-size: 16px;
font-weight: 600;
color: #333333;
line-height: 22px;
text-align: center;
.person-text {
font-weight: 500;
}
}
}
} }
.bottommsg { .bottommsg {
position: relative; position: relative;
......
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
</div> </div>
</div> </div>
<GLTable class="table" :hasNum="false" :tableData="clientGroupTableList" :hasPage="false" :tableParams="clientGroupTableParams" :headerStyle="{ height: '54px' }"> <GLTable class="table" :hasNum="false" :tableData="clientGroupTableList" :hasPage="false" :tableParams="clientGroupTableParams" :headerStyle="{ height: '54px' }">
<span slot="groupName" slot-scope="scope"> <span slot="groupName" slot-scope="scope" class="groupName">
<span>{{ scope.scope.groupName || '群聊(默认)' }}</span> <span>{{ scope.scope.groupName || '群聊(默认)' }}</span>
</span> </span>
<div class="table-btns" slot="optionBtns" slot-scope="scope"> <div class="table-btns" slot="optionBtns" slot-scope="scope">
...@@ -190,9 +190,6 @@ ...@@ -190,9 +190,6 @@
<div style="height: 20px"></div> <div style="height: 20px"></div>
<!-- //提示面板组件 --> <!-- //提示面板组件 -->
<tip-panel class="mg2" panelMinHeight="45px" :panelContent="panelContent"></tip-panel> <tip-panel class="mg2" panelMinHeight="45px" :panelContent="panelContent"></tip-panel>
<!-- v-if="userType == 2" --> <!-- v-if="userType == 2" -->
<el-button type="primary" class="addTagBtn" size="small" @click="btnClick('create')" v-if="userType == 2">设置标签</el-button> <el-button type="primary" class="addTagBtn" size="small" @click="btnClick('create')" v-if="userType == 2">设置标签</el-button>
...@@ -421,12 +418,14 @@ export default { ...@@ -421,12 +418,14 @@ export default {
label: '跟进员工', label: '跟进员工',
prop: 'staffName', prop: 'staffName',
align: 'left', align: 'left',
minWidth: 100 minWidth: 90
}, },
{ {
label: '所属部门', label: '所属部门',
prop: 'departmentName', prop: 'departmentName',
align: 'left' align: 'left',
line: 1,
width: 120
}, },
{ {
label: '添加时间', label: '添加时间',
...@@ -457,12 +456,16 @@ export default { ...@@ -457,12 +456,16 @@ export default {
{ {
label: '备注', label: '备注',
prop: 'remark', prop: 'remark',
align: 'left' align: 'left',
line: 1,
width: 150
}, },
{ {
label: '描述', label: '描述',
prop: 'description', prop: 'description',
align: 'left' align: 'left',
line: 1,
width: 150
} }
] ]
}, },
...@@ -475,32 +478,38 @@ export default { ...@@ -475,32 +478,38 @@ export default {
label: '群聊名称', label: '群聊名称',
prop: 'groupName', prop: 'groupName',
addHtml: 'groupName', addHtml: 'groupName',
align: 'left' align: 'left',
width: 260
}, },
{ {
label: '群主', label: '群主',
prop: 'groupHostName', prop: 'groupHostName',
align: 'left' align: 'left',
line: 1,
width: 200
}, },
{ {
label: '客户数', label: '客户数',
prop: 'membersNumber', prop: 'membersNumber',
align: 'left' align: 'left',
width: 180
}, },
{ {
label: '本群昵称', label: '本群昵称',
prop: 'groupNickName', prop: 'groupNickName',
align: 'left' align: 'left',
line: 1,
width: 200
}, },
{ {
label: '入群时间', label: '入群时间',
prop: 'joinTime', prop: 'joinTime',
align: 'left' align: 'left',
width: 200
}, },
{ {
label: '操作', label: '操作',
prop: 'optionBtns', prop: 'optionBtns',
width: '80px',
addHtml: 'optionBtns', addHtml: 'optionBtns',
fixed: 'right' fixed: 'right'
} }
...@@ -1269,10 +1278,8 @@ export default { ...@@ -1269,10 +1278,8 @@ export default {
} }
.table { .table {
padding: 0 20px; padding: 0 20px;
.groupName {
/deep/ .line-ellipsis {
white-space: nowrap; white-space: nowrap;
overflow: visible;
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!