Commit 1cfff723 by 胡悦

添加页面

1 parent bb615942
......@@ -74,3 +74,26 @@ img {
.box {
background: #1D1C1C;
}
.inline {
display: inline-block;
}
.title {
font-size: 12px;
color: #E8E8E8;
line-height: 16px;
font-weight: 400;
padding: 4px 8px;
}
.title-icon {
display: flex;
align-items: center;
.icon {
display: inline-block;
width: 4px;
height: 4px;
background: #EB6001;
box-shadow: 0px 0px 5px 5px rgba(255,104,0,0.3);
border-radius: 1px;
margin-right: 6px;
}
}
\ No newline at end of file
......@@ -3,19 +3,48 @@
<div class="top">
<view-sub-title title="集团客户总览" />
<view-tabs />
<view-pie-group />
<view-pie-group>
<div slot="1"><Age></Age></div>
<div slot="2"><BuyCar></BuyCar></div>
<div slot="3"><Sex></Sex></div>
</view-pie-group>
</div>
<div class="bottom">
<view-sub-title title="销售数据总览" />
<view-line-group height="14.9vh" />
<view-pie-group />
<view-line-group height="14.9vh">
<div slot="1"><Flow></Flow></div>
<div slot="2"><Trend></Trend></div>
</view-line-group>
<view-pie-group>
<div slot="1"><EnterCategory></EnterCategory></div>
<div slot="2"><InfoFrom></InfoFrom></div>
<div slot="3"><CustomerCategory></CustomerCategory></div>
</view-pie-group>
</div>
</div>
</template>
<script type='text/ecmascript-6'>
<script type="text/ecmascript-6">
import Age from '../views/customer/age'
import BuyCar from '../views/customer/buyCar'
import Sex from '../views/customer/sex'
import Flow from '../views/salesData/flow'
import Trend from '../views/salesData/trend'
import CustomerCategory from '../views/salesData/customerCategory'
import InfoFrom from '../views/salesData/infoFrom'
import EnterCategory from '../views/salesData/enterCategory'
export default {
name: 'ViewContentLeft',
components: {
Age,
BuyCar,
Sex,
Flow,
Trend,
CustomerCategory,
InfoFrom,
EnterCategory
},
data () {
return {
}
......@@ -27,7 +56,7 @@ export default {
}
</script>
<style scoped lang='scss'>
<style scoped lang="scss">
.left {
display: flex;
flex-direction: column;
......
<!--
* @Description:
* @Author: huyue
* @Date: 2022-06-23 10:52:23
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:27:16
-->
<template>
<div class="right">
<view-sub-title title="售后数据总览" />
<view-line-group />
<view-line-group />
<view-line-group />
<view-line-group height="25.6vh" hideMargin />
<view-line-group>
<div slot="1"><File></File></div>
<div slot="2"><Efficient></Efficient></div>
</view-line-group>
<view-line-group>
<div slot="1"><Keep></Keep></div>
<div slot="2"><Lost></Lost></div>
</view-line-group>
<view-line-group>
<div slot="1"><First></First></div>
<div slot="2"><Sadayasu></Sadayasu></div>
</view-line-group>
<view-line-group height="25.6vh" hideMargin>
<div slot="1"><Analyze></Analyze></div>
<div slot="2"><Mileage></Mileage></div>
</view-line-group>
</div>
</template>
<script type='text/ecmascript-6'>
<script type="text/ecmascript-6">
import Analyze from '../views/afterSales/analyze'
import Efficient from '../views/afterSales/efficient'
import File from '../views/afterSales/file'
import First from '../views/afterSales/first'
import Keep from '../views/afterSales/keep'
import Lost from '../views/afterSales/lost'
import Mileage from '../views/afterSales/mileage'
import Sadayasu from '../views/afterSales/sadayasu'
export default {
name: 'ViewContentRight',
components: {
Analyze,
Efficient,
File,
First,
Keep,
Lost,
Mileage,
Sadayasu
},
data () {
return {
}
......@@ -22,7 +59,7 @@ export default {
}
</script>
<style scoped lang='scss'>
<style scoped lang="scss">
.right {
}
</style>
<!--
* @Description: 一行两个一组
* @Author: huyue
* @Date: 2022-06-23 11:28:03
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:07:20
-->
<template>
<div class="line-group">
<template v-for="(i,index) in items">
<div
class="box"
:key="index"
:style="[{'height':height},{'margin-bottom':hideMargin?0:'1vh'}]"
></div>
<template v-for="(i, index) in items">
<div class="box" :key="index" :style="[{ height: height }, { 'margin-bottom': hideMargin ? 0 : '1vh' }]">
<slot :name="i"></slot>
</div>
</template>
</div>
</template>
<script type='text/ecmascript-6'>
<script type="text/ecmascript-6">
export default {
name: 'ViewLineGroup',
props: {
......@@ -32,7 +37,7 @@ export default {
}
</script>
<style scoped lang='scss'>
<style scoped lang="scss">
.line-group {
display: grid;
grid-template-columns: repeat(2, 1fr);
......
<template>
<div class="pie-group">
<template v-for="(i,index) in items">
<div
class="box"
:key="index"
></div>
<template v-for="(i, index) in items">
<div class="box" :key="index">
<slot :name="i"></slot>
</div>
</template>
</div>
</template>
<script type='text/ecmascript-6'>
<script type="text/ecmascript-6">
export default {
name: 'ViewPieGroup',
props: {},
data () {
data() {
return {
items: [1, 2, 3]
}
},
mounted () {
mounted() {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
<style scoped lang="scss">
.pie-group {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0 8px;
.box{
.box {
height: 16.6vh;
}
}
......
<template>
<div class="tabs">
<div class="tab">
<div class="tab-left box"></div>
<div class="tab-left box">
<div class="title inline">客户总数</div>
</div>
<div class="tab-right box"></div>
</div>
<div class="tabs-content box">
<div class="title inline">客户增长趋势</div>
</div>
</div>
</template>
<script type='text/ecmascript-6'>
<script type="text/ecmascript-6">
import { changeMixin } from '@/mixins'
export default {
name: 'ViewTabs',
......@@ -26,7 +28,7 @@ export default {
}
</script>
<style scoped lang='scss'>
<style scoped lang="scss">
.tabs {
margin-bottom: 0.5vh;
.tab {
......
<!--
* @Description: 售后客户价值分析
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:20:44
-->
<template>
<div>
<div class="title">售后客户价值分析</div>
</div>
</template>
<script>
export default {
name: 'Analyze'
}
</script>
<!--
* @Description: 有效客户
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:21:17
-->
<template>
<div>
<div class="title">有效客户</div>
</div>
</template>
<script>
export default {
name: 'Efficient'
}
</script>
<!--
* @Description: 售后档案客户
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:21:39
-->
<template>
<div>
<div class="title">售后档案客户</div>
</div>
</template>
<script>
export default {
name: 'File'
}
</script>
<!--
* @Description: 首保回店
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:21:59
-->
<template>
<div>
<div class="title">首保回店</div>
</div>
</template>
<script>
export default {
name: 'First'
}
</script>
<!--
* @Description: 客户保持
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:22:21
-->
<template>
<div>
<div class="title">客户保持</div>
</div>
</template>
<script>
export default {
name: 'Keep'
}
</script>
<!--
* @Description: 客户流失
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:22:34
-->
<template>
<div>
<div class="title">客户流失</div>
</div>
</template>
<script>
export default {
name: 'Lost'
}
</script>
<!--
* @Description: 售后车辆里程
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:22:45
-->
<template>
<div>
<div class="title">售后车辆里程</div>
</div>
</template>
<script>
export default {
name: 'Mileage'
}
</script>
<!--
* @Description: 定保回店
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:23:11
-->
<template>
<div>
<div class="title">定保回店</div>
</div>
</template>
<script>
export default {
name: 'Sadayasu'
}
</script>
......@@ -3,10 +3,15 @@
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 15:05:27
* @LastEditTime: 2022-06-23 16:45:11
-->
<template>
<div>客户年龄分布</div>
<div>
<div class="title title-icon">
<span class="icon"></span>
<span>客户年龄分布</span>
</div>
</div>
</template>
<script>
......
......@@ -3,10 +3,15 @@
* @Author: huyue
* @Date: 2022-06-23 15:06:32
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 15:07:55
* @LastEditTime: 2022-06-23 17:03:19
-->
<template>
<div>客户购车年限</div>
<div>
<div class="title title-icon">
<span class="icon"></span>
<span>客户购车年限</span>
</div>
</div>
</template>
<script>
......
......@@ -3,10 +3,15 @@
* @Author: huyue
* @Date: 2022-06-23 15:05:57
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 15:08:10
* @LastEditTime: 2022-06-23 17:02:58
-->
<template>
<div>客户性别</div>
<div>
<div class="title title-icon">
<span class="icon"></span>
<span>客户性别</span>
</div>
</div>
</template>
<script>
export default {
......
<!--
* @Description: 客户级别
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:13:49
-->
<template>
<div>
<div class="title title-icon">
<span class="icon"></span>
<span>客户级别</span>
</div>
</div>
</template>
<script>
export default {
name: 'CustomerCategory'
}
</script>
<!--
* @Description: 进店类型
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:13:03
-->
<template>
<div>
<div class="title title-icon">
<span class="icon"></span>
<span>进店类型</span>
</div>
</div>
</template>
<script>
export default {
name: 'EnterCategory'
}
</script>
<!--
* @Description: 客流转化
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:08:07
-->
<template>
<div>
<div class="title">客流转化</div>
</div>
</template>
<script>
export default {
name: 'Flow'
}
</script>
<!--
* @Description: 信息来源
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:13:23
-->
<template>
<div>
<div class="title title-icon">
<span class="icon"></span>
<span>信息来源</span>
</div>
</div>
</template>
<script>
export default {
name: 'InfoFrom'
}
</script>
<!--
* @Description: 转化趋势
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:08:12
-->
<template>
<div>
<div class="title">转化趋势</div>
</div>
</template>
<script>
export default {
name: 'Trend'
}
</script>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!