Commit 8651272b by 李长胜

样式修改

1 parent ca7c0616
@import '@/styles/variables.scss';
.el-tag {
color: #666!important;
font-size: 14px!important;
......@@ -28,13 +29,13 @@ background: transparent !important;
.el-message--info {
height: 40px;
background: #e6e9ff;
border: 1px solid #5850ff;
border: 1px solid $btnBlue;
border-radius: 4px;
font-size: 14px;
color: rgba(0, 0, 0, 0.65);
}
.el-message .el-icon-info {
color: #5850ff;
color: $btnBlue;
font-size: 16px;
}
\ No newline at end of file
......@@ -90,7 +90,6 @@ export default {
},
update(e) {
// this.$forceUpdate()
console.log('输入事件')
return this.$Utils.cutMaxCharStr(e.target.value)
}
}
......
......@@ -265,6 +265,7 @@ this.$emit('handleExport')
}
</script>
<style lang="scss">
@import '@/styles/variables.scss';
.search-form {
padding: 18px 0 0 0;
position: relative;
......@@ -293,7 +294,7 @@ this.$emit('handleExport')
right: 0;
z-index: 99;
.expande-button {
color: #5850ff;
color: $btnBlue;
cursor: pointer;
i {
height: 8px;
......@@ -302,7 +303,7 @@ this.$emit('handleExport')
height: 20px;
font-size: 14px;
font-weight: 400;
color: #5850ff;
color: $btnBlue;
line-height: 20px;
}
}
......
......@@ -40,14 +40,14 @@ export default {
</script>
<style lang="scss" scoped>
@import '@/styles/variables.scss';
.initPanel {
position: relative;
margin-bottom: 20px;
box-sizing: border-box;
background: #e6e9ff;
border: 1px solid #5850ff;
border: 1px solid $btnBlue;
border-radius: 4px;
padding: 10px 38px;
......
......@@ -25,7 +25,7 @@
}
}
.pure-blue-text{
color:$btnBlue;
color:$btnBlue!important;
}
.green {
background-color: #00A854;
......
......@@ -2,7 +2,6 @@
@import './common.scss';
@import './resetelement.scss';
body,html{
width:100%;
......
......@@ -21,59 +21,8 @@
line-height: 28px;
}
// .el-dialog__footer {
// .el-button+.el-button {
// margin-left: 20px;
// }
// .el-button {
// font-size: 14px;
// font-weight: 400;
// padding: 9px 21px;
// background: $btnBlue;
// border-radius: 4px;
// }
// .el-button:first-child {
// background: #ffffff;
// border-radius: 4px;
// border: 1px solid #999999;
// box-sizing: border-box;
// font-weight: 600;
// color: #999999;
// &:hover{
// border-color: $btnBlue;
// color: $btnBlue;
// }
// }
// .el-button:nth-child(2){
// // height: 32px;
// background: $btnBlue;
// border: 1px solid $btnBlue;
// color: #fff;
// border:1px solid $btnBlue;
// &:hover{
// background-color: $lightBtnBlue;
// border:1px solid $lightBtnBlue;
// }
// }
// .el-button:nth-child(3){
// background: #ffffff;
// border: 1px solid #999999;
// box-sizing: border-box;
// font-weight: 600;
// color: #999999;
// &:hover{
// border-color: $btnBlue;
// color: $btnBlue;
// }
// }
// }
/deep/ .el-input__inner:focus{border-color:$borderBlue!important;}
/deep/ .el-input__inner:focus{border-color:$btnBlue!important;}
/deep/.el-range-editor.is-active,
.el-range-editor.is-active:hover {
border-color: $borderBlue;
border-color: $btnBlue;
}
// /deep/.el-table__fixed-right{
// height: 100% !important;
// }
\ No newline at end of file
$bgColor:#F4F5FA;
$btnBlue:#5850ff;
$borderBlue:#5850ff;
$lightBtnBlue:#9994FF;
<template>
<div>
<div class="scrm-sub-client-container">
<h3 class="pageSubTitle">客户分层</h3>
<div class="topmsg">
<div class="leftPieEcharts">
<span class="clientTotal">{{ 10000 | overThousandFilter }}人</span>
<div class="topIcon">
<span class="top-inWechat">已加企微</span>
<span class="top-outWechat">未加企微</span>
</div>
<span class="inWechat">已加企微</span>
<span class="blueNum">{{ 7000 | overThousandFilter }}人</span>
<span class="outWechat">未加企微</span>
<span class="yellowNum">{{ 3000 | overThousandFilter }}人</span>
<!-- 引入echart组件 -->
<pie-echart width="100%" height="360px"></pie-echart>
<div class="personsMap">
<pictorial-bar width="100%" height="496px"></pictorial-bar>
</div>
</div>
<div class="itembox">
<div class="no-buy">
<div class="no-buy-total item">
<span>潜在(意向)客户数</span>
<span>{{ 70000 | overThousandFilter }}人</span>
<span>未购车且无交易行为的所有客户</span>
<span>环比:30%</span>
<i class="triangle" :class="{ active: !isNoBuyUp }"></i>
<i class="vertical-line"></i>
</div>
<div class="rightWrap">
<div class="inCompanyWechatNum item smallWrap">
<span>已加企微客户数</span>
<span>{{ 70000 | overThousandFilter }}人</span>
<span>已加企微的潜在(意向)客户</span>
<i class="horizontal-line"></i>
</div>
<div class="outCompanyWechatNum item smallWrap">
<span>未加企微客户数</span>
<span>{{ 70000 | overThousandFilter }}人</span>
<span>未加加企微的潜在(意向)客户</span>
<button class="btn">智能短信外呼&gt;&gt;</button>
</div>
</div>
</div>
<div class="buy">
<div class="buy-total item">
<span>购买(存档)客户数</span>
<span>{{ 100000 | overThousandFilter }}人</span>
<span>已购车且有交易行为的所有客户</span>
<span>环比:30%</span>
<i class="triangle" :class="{ active: !isBuyUp }"></i>
<i class="vertical-line"></i>
</div>
<div class="rightWrap">
<div class="inCompanyWechatNum item smallWrap">
<span>已加企微客户数</span>
<span>{{ 70000 | overThousandFilter }}人</span>
<span>已加企微的购买(存档)客户</span>
<button class="btn">企微魔方&gt;&gt;</button>
<i class="horizontal-line"></i>
</div>
<div class="outCompanyWechatNum item smallWrap">
<span>未加企微客户数</span>
<span>{{ 70000 | overThousandFilter }}人</span>
<span>未加企微的购买(存档)客户</span>
<button class="btn">智能短信外呼&gt;&gt;</button>
</div>
</div>
</div>
</div>
</div>
<div class="middlemsg">
<h3 class="pageSubTitle">客户分群</h3>
<div class="itembox">
<div class="item" v-for="(item, index) in titles" :key="index">
<p>{{ item.name }}</p>
<p>{{ item.subName }}</p>
<p>{{ item.num | overThousandFilter }}人</p>
<img :src="item.url" alt="" />
</div>
</div>
</div>
<h3 class="pageSubTitle">客户增长趋势</h3>
<div class="bottommsg">
<span class="timeDuring">2021/08/03~2021/09/03</span>
<span class="lastest">近30天</span>
<button class="btn30 optionBtn">近30天</button>
<button class="btn7 optionBtn">近7天</button>
<div class="clientAddTrend">
<div class="one1">
<span>区间统计:</span>
<span>
全部客户:
<a>{{ 10000 | overThousandFilter }}人</a>
</span>
<span>
企微客户:
<a>{{ 10000 | overThousandFilter }}人</a>
</span>
</div>
<div class="one2">
<span>
日均新增:
<a>{{ 1000 | overThousandFilter }}人</a>
</span>
<span>
日均新增:
<a>{{ 1000 | overThousandFilter }}人</a>
</span>
</div>
</div>
<multiple-echart width="100%" height="420px"></multiple-echart>
</div>
</div>
</div>
</template>
<script>
import pieEchart from '@/components/echarts/pieEchart'
import multipleEchart from '@/components/echarts/multipleEchart'
import pictorialBar from '@/components/echarts/pictorialBar'
import url1 from '../../assets/clientDataOverview/1.png'
import url2 from '../../assets/clientDataOverview/2.png'
import url3 from '../../assets/clientDataOverview/3.png'
import url4 from '../../assets/clientDataOverview/4.png'
export default {
name: 'clientManage',
components: {
pieEchart,
multipleEchart,
pictorialBar
},
// filters: { filters },
// filters: {
// overThousandFilter: function (val) {
// if (val < 1000) return val;
// let a = val + "";
// let b = a.split("");
// b.splice(-3, 0, ",");
// return b.join("");
// },
// },
data() {
return {
titles: [
{
name: '新车客户数',
subName: '购车时间3个月的客户',
num: 10,
url: url1
},
{
name: '沉默客户数',
subName: '超过180天未到店的客户',
num: 100,
url: url2
},
{
name: '车险待续保客户数',
subName: '近一个月内车险即将到期的客户',
num: 1000,
url: url3
},
{
name: '新车待首保客户数',
subName: '购车时间5~7个月内,且无保养记录的客户',
num: 10000,
url: url4
}
],
isNoBuyUp: true, //默认环比为增
isBuyUp: false
}
},
methods: {
btnClick(ptype, scope) {}
}
}
</script>
<style lang="scss" scoped>
.scrm-sub-client-container {
.pageSubTitle {
position: relative;
height: 20px;
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 700;
color: #333333;
line-height: 20px;
letter-spacing: 1px;
}
.topmsg {
display: flex;
.leftPieEcharts {
position: relative;
background-color: #fff;
width: 372px;
height: 496px; //470
box-sizing: border-box;
// border: 1px solid rgba(121, 121, 121, 1);
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
.clientTotal {
position: absolute;
right: 20px;
top: 20px;
height: 26px;
font-size: 26px;
font-weight: 500;
color: #333333;
line-height: 26px;
z-index: 9;
}
.topIcon {
position: absolute;
left: 125px;
top: 100px;
width: 160px;
height: 17px;
align-items: center;
font-size: 12px;
font-family: Helvetica;
color: #8c8c8c;
display: flex;
justify-content: space-between;
.top-inWechat {
position: relative;
&::before {
content: '';
position: absolute;
width: 9px;
height: 9px;
border-radius: 50%;
left: -18px;
top: 4px;
background-color: #716aff;
}
}
.top-outWechat {
position: relative;
&::before {
content: '';
position: absolute;
width: 9px;
height: 9px;
border-radius: 50%;
left: -18px;
top: 4px;
background-color: #fe9c1c;
}
}
}
.inWechat {
position: absolute;
left: 57px;
top: 365px;
height: 20px;
font-size: 14px;
font-weight: 400;
color: #333333;
line-height: 20px;
z-index: 9;
}
.blueNum {
position: absolute;
left: 57px;
top: 389px;
height: 25px;
font-size: 18px;
font-weight: 600;
color: #716aff;
line-height: 25px;
z-index: 9;
}
.outWechat {
position: absolute;
right: 57px;
top: 365px;
height: 20px;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
line-height: 20px;
background-color: #fff;
z-index: 9;
}
.yellowNum {
position: absolute;
right: 57px;
top: 389px;
font-size: 18px;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #fe9c1c;
line-height: 25px;
}
.personsMap {
width: 468px;
position: absolute;
left: 0;
bottom: 0px;
// z-index: 9;
}
}
.itembox {
width: calc(100% - 372px);
.item {
// border: 1px solid rgba(121, 121, 121, 1);
height: 119px;
box-sizing: border-box;
}
.item.no-buy-total,
.item.buy-total {
height: 238px;
width: 50%;
position: relative;
span {
position: absolute;
&:first-child {
font-weight: bold;
height: 22px;
font-size: 16px;
color: #333333;
line-height: 22px;
top: 20px;
left: 24px;
}
&:nth-child(2) {
top: 109px;
// left: 126px;
left: 33%;
height: 26px;
font-size: 26px;
font-weight: 500;
color: #333333;
line-height: 26px;
letter-spacing: 1px;
}
&:nth-child(3) {
top: 50px;
left: 24px;
height: 20px;
font-size: 14px;
font-weight: 400;
color: #999999;
line-height: 20px;
}
&:nth-child(4) {
top: 160px;
// left: 136px;
left: 35.5%;
height: 22px;
font-size: 16px;
font-weight: 500;
color: #333333;
line-height: 22px;
}
}
.triangle {
position: absolute;
left: 50.8%;
top: 165px;
width: 0px;
height: 0px;
border-bottom: 10px solid #ff2020;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
&.active {
border-bottom: 10px solid #2cca74;
transform: rotate(180deg);
}
}
.vertical-line {
position: absolute;
width: 2px;
height: 200px;
background: #f0f0f0;
top: 20px;
right: 0;
}
}
.no-buy,
.buy {
display: flex;
margin-left: 20px;
background-color: #fff;
&:last-child {
margin-top: 20px;
}
}
.rightWrap {
width: 48%;
margin-left: 20px;
position: relative;
.smallWrap {
position: relative;
span {
position: absolute;
&:first-child {
font-weight: bold;
height: 22px;
font-size: 16px;
color: #333333;
line-height: 22px;
top: 20px;
}
&:nth-child(2) {
height: 26px;
font-size: 26px;
font-weight: 500;
color: #333333;
line-height: 26px;
right: 20px;
top: 20px;
}
&:nth-child(3) {
top: 50px;
height: 20px;
font-size: 14px;
font-weight: 400;
color: #999999;
line-height: 20px;
}
}
.btn {
position: absolute;
right: 20px;
bottom: 12px;
}
}
.inCompanyWechatNum {
// background-color: red;
// position: absolute;
width: 100%;
.horizontal-line {
position: absolute;
width: 100%;
height: 2px;
background: #f0f0f0;
bottom: 0;
right: 0;
}
}
}
}
}
.middlemsg {
.itembox {
display: flex;
width: 100%;
.item {
width: 25%;
// padding: 20px;
position: relative;
height: 160px;
border: 1px solid #fff;
background-color: #fff;
box-sizing: border-box;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
// border: 1px solid rgba(121, 121, 121, 1);
&:not(:first-child) {
margin-left: 20px;
}
&:hover {
border: 1px solid #5850ff;
}
p {
position: absolute;
&:first-child {
left: 20px;
top: 20px;
height: 22px;
font-size: 16px;
font-weight: bold;
color: #333333;
line-height: 22px;
}
&:nth-child(2) {
left: 20px;
top: 46px;
height: 20px;
font-size: 14px;
font-weight: 400;
color: #999999;
line-height: 20px;
}
&:nth-child(3) {
left: 20px;
bottom: 32px;
height: 26px;
font-size: 26px;
font-weight: 600;
color: #333333;
line-height: 26px;
}
}
img {
position: absolute;
right: 20px;
top: 20px;
}
}
}
}
.bottommsg {
width: 100%;
height: 578px;
background-color: #fff;
.timeDuring {
margin-left: 20px;
margin-top: 20px;
display: inline-block;
padding-right: 8px;
height: 20px;
font-size: 14px;
font-weight: 400;
color: #333333;
line-height: 20px;
border-right: 1px solid #d9d9d9;
}
.lastest {
// margin-top: 20px;
display: inline-block;
height: 20px;
font-size: 14px;
font-weight: 400;
color: #333333;
line-height: 20px;
padding-left: 8px;
}
.clientAddTrend {
width: 100%;
height: 80px;
.one1 {
margin-top: 30px;
height: 44px;
position: relative;
span {
position: absolute;
font-size: 14px;
font-weight: 400;
color: #333333;
height: 20px;
line-height: 20px;
> i {
font-weight: 500;
}
}
span:nth-child(1) {
left: 31.5%;
}
span:nth-child(2) {
left: 38.4%;
}
span:nth-child(3) {
left: 57%;
}
}
.one2 {
height: 40px;
position: relative;
span {
position: absolute;
font-size: 14px;
font-weight: 400;
color: #333333;
height: 20px;
line-height: 20px;
> a {
font-weight: 500;
}
}
span:nth-child(1) {
left: 38.4%;
}
span:nth-child(2) {
left: 57%;
}
}
}
.btn30 {
float: right;
margin: 20px 20px 0 20px;
}
.btn7 {
float: right;
margin-top: 20px;
}
.optionBtn {
width: 68px;
height: 36px;
background-color: #fff;
border-radius: 2px;
border: 1px solid #999999;
font-size: 14px;
font-weight: 400;
color: #999999;
&:hover {
cursor: pointer;
border: 1px solid #5850ff;
color: #5850ff;
}
&:focus {
border: 1px solid #5850ff;
color: #5850ff;
}
}
}
}
</style>
......@@ -869,7 +869,7 @@ export default {
padding: 6px 20px;
box-sizing: border-box;
border-radius: 4px;
border: 1px solid $borderBlue;
border: 1px solid $btnBlue;
background-color: #fff;
color: #6861ff;
font-size: 14px;
......@@ -917,7 +917,7 @@ export default {
margin-left: 20px;
}
&:hover {
border: 1px solid $borderBlue;
border: 1px solid $btnBlue;
}
p {
position: absolute;
......@@ -1056,12 +1056,12 @@ export default {
color: #999999;
&:hover {
cursor: pointer;
border: 1px solid $borderBlue;
border: 1px solid $btnBlue;
color: $btnBlue;
}
}
.activeDayIcon {
border: 1px solid $borderBlue;
border: 1px solid $btnBlue;
color: $btnBlue;
}
}
......
......@@ -198,7 +198,7 @@ export default {
},
methods: {
jumpWx() {
this.$history.push('/home/enterpriseWechat/index')
this.$history.push('/settings/enterpriseWechat/index')
},
wxTips() {
const menu = JSON.parse(sessionStorage['SCRM_BASE_MENULIST'])
......@@ -347,13 +347,13 @@ export default {
.el-message--info {
height: 40px;
background: #e6e9ff;
border: 1px solid #5850ff;
border: 1px solid $btnBlue;
border-radius: 4px;
font-size: 14px;
color: rgba(0, 0, 0, 0.65);
}
.el-message .el-icon-info {
color: #5850ff;
color: $btnBlue;
font-size: 16px;
}
}
......
......@@ -19,7 +19,7 @@
<span>
<!-- {{ leftPanelInfo.customerName }} -->
{{ beautySub(leftPanelInfo.customerName) }}
<span style="color: #5850ff">{{ leftPanelInfo.type == 1 ? '@微信' : leftPanelInfo.type == 2 ? '@企微' : '' }}</span>
<span class="pure-blue-text">{{ leftPanelInfo.type == 1 ? '@微信' : leftPanelInfo.type == 2 ? '@企微' : '' }}</span>
</span>
</span>
</el-tooltip>
......@@ -867,7 +867,7 @@ export default {
height: 26px;
line-height: 26px;
border-radius: 4px;
border: 1px solid $borderBlue;
border: 1px solid $btnBlue;
text-align: center;
font-size: 14px;
font-weight: 400;
......@@ -952,7 +952,7 @@ export default {
background: #fafbfe;
}
.activeTag {
border: 1px solid $borderBlue;
border: 1px solid $btnBlue;
color: $btnBlue;
}
}
......
......@@ -403,6 +403,7 @@ export default {
</script>
<style lang="scss" scoped>
@import '@/styles/variables.scss';
.container {
margin-bottom: 84px;
background: #ffffff;
......@@ -461,7 +462,7 @@ export default {
margin-left: 10px;
font-size: 14px;
span {
color: #5850ff;
color: $btnBlue;
}
}
.form-error {
......
......@@ -161,6 +161,7 @@ export default {
}
</script>
<style scoped lang="scss">
@import '@/styles/variables.scss';
.select-emp-panel {
display: flex;
.emp-tree-panel {
......@@ -219,7 +220,7 @@ export default {
margin-right: 10px;
font-size: 15px;
/deep/ .el-tree-node:focus > .el-tree-node__content {
color: #5850ff;
color: $btnBlue;
background: #f2f5fa;
}
}
......
......@@ -156,8 +156,9 @@ export default {
</script>
<style lang="scss" scoped>
@import '@/styles/variables.scss';
.dialog-jump {
color: #5850ff;
color: $btnBlue;
float: left;
line-height: 24px;
text-decoration: underline;
......
......@@ -108,6 +108,7 @@ export default {
}
</script>
<style scoped lang="scss">
@import '@/styles/variables.scss';
.drawer-sale-panel {
padding: 0px 20px;
.sale-reload {
......@@ -144,8 +145,8 @@ export default {
font-size: 14px;
color: #7d7d7d;
&.checked {
border: 1px solid #5850ff;
color: #5850ff;
border: 1px solid $btnBlue;
color: $btnBlue;
}
i {
position: absolute;
......
......@@ -575,12 +575,12 @@ export default {
.main {
width: 100%;
& .updata {
color: #5850ff;
color: $btnBlue;
margin: 0 10px 0 20px;
cursor: pointer;
i.el-icon-refresh {
font-size: 14px;
color: #5850ff;
color: $btnBlue;
}
}
.table {
......@@ -591,7 +591,7 @@ export default {
.customer-name {
display: inline-block;
.origin {
color: #5850ff;
color: $btnBlue;
font-size: 14px;
}
}
......
......@@ -272,7 +272,7 @@ export default {
})
},
jumpWx() {
this.$history.push('/home/enterpriseWechat/index')
this.$history.push('/settings/enterpriseWechat/index')
},
//搜索表格
searchTable() {
......
......@@ -796,7 +796,7 @@ export default {
min-height: 80px;
box-sizing: border-box;
background: #e6e9ff;
border: 1px solid $borderBlue;
border: 1px solid $btnBlue;
border-radius: 4px;
padding: 10px 42px;
height: 60px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!