project.vue
2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-10-26 14:25:05
* @FilePath: \dj-data-view\src\views\saas\project.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<div class="project-wrap flex">
<div class="project-item flex" v-for="(item, index) in 4" :key="index">
<div class="project-left">
<div class="project-title">新车洽谈</div>
<div class="project-icon"><img src="@/assets/images/arrow.png" alt="" /></div>
</div>
<div class="project-right flex">
<div class="project-content-item">
<div class="project-content-desc">累计展业门店数</div>
<div class="project-content-num">2,173</div>
</div>
<div class="project-content-item">
<div class="project-content-desc">当前新增</div>
<div class="project-content-num">2,173</div>
</div>
<div class="project-content-item">
<div class="project-content-desc">转化率</div>
<div class="project-content-num">2,173</div>
</div>
<div class="project-content-item">
<div class="project-content-desc">客单价</div>
<div class="project-content-num">2,173</div>
</div>
<div class="project-content-item">
<div class="project-content-desc">产值</div>
<div class="project-content-num">2,173</div>
</div>
</div>
</div>
</div>
</template>
<script>
import * as echarts from 'echarts'
import datas from '../../utils/data'
export default {
name: 'Project',
data() {
return {}
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.project-wrap {
height: 11.71vh;
flex-wrap: wrap;
justify-content: space-between;
.project-item {
width: 49.6%;
background: #0b0e31;
.project-left {
width: 2vw;
height: 5.61vh;
background: #2436b7;
text-align: center;
.project-title {
color: #e8e8e8;
font-size: 10px;
line-height: 12px;
margin-top: 0.4vh;
}
.project-icon {
width: 1.25vw;
height: 1.22vh;
margin: 0 auto;
}
}
.project-right {
flex: 1;
.project-content-item {
&:first-child {
width: 28%;
}
&:nth-child(2) {
width: 18%;
}
&:nth-child(3) {
width: 18%;
}
&:nth-child(4) {
width: 18%;
}
&:nth-child(5) {
width: 18%;
}
padding-left: 0.5vw;
.project-content-desc {
font-size: 9px;
color: #dddddd;
}
.project-content-num {
font-weight: 700;
font-size: 12px;
color: #ffffff;
}
}
}
}
}
</style>