case_three.vue
4.79 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<template>
<div class="chart-container">
<div class="content_con">
<div class="box_wrap_con">
<div class="wrapper">
<div class="h3_title">案例1-广州某合资品牌丰田4S店</div>
<div class="h12_title margin_3">合作之前</div>
<div class="con2_widget margin_4">
<div class="text_label h5_title">太阳膜赠送成本:300元/车</div>
</div>
</div>
<div class="drive_line"></div>
<div class="wrapper_2">
<div class="h12_title">合作之后</div>
<div class="text_line_widget margin_4">
<div class="h5_title">
2020年6月份累计收益:
<span class="price">53400</span>
元
</div>
<div class="h5_title">
2020年度累计收益约:
<span class="price">65万</span>
元
</div>
</div>
<div class="h5_title margin_5">太阳膜新增升级收益23400元,节省赠送膜成本100*300=30000元</div>
<div class="table_widget margin_4">
<table>
<tr>
<th v-for="(item, index) in tableHeader1" :key="index">{{ item }}</th>
</tr>
<tr>
<td v-for="(item, index) in tableTD1" :key="index">{{ item }}</td>
</tr>
</table>
</div>
</div>
</div>
<div class="box_wrap_con">
<div class="wrapper">
<div class="h3_title">案例2-四川某经销商集团</div>
<div class="h3_title margin_3">合作之前</div>
<div class="con2_widget margin_4">
<div class="text_label h5_title">旗下门店数:28家</div>
<div class="text_label h5_title">太阳膜赠送成本:300元/车</div>
<div class="text_label h5_title">集团年度新车销量:26880</div>
<div class="text_label h5_title">单店年度新车销量:960</div>
</div>
</div>
<div class="drive_line"></div>
<div class="wrapper_2">
<div class="h3_title">合作之后</div>
<div class="text_line_widget margin_4">
<div class="h5_title">
2020年集团累计收益约:
<span class="price">2286.15万元</span>
元
</div>
<div class="h5_title">
平均单店收益约:
<span class="price">81万</span>
元
</div>
</div>
<div style="height: 10px;" class="margin_5"></div>
<div class="table_widget margin_4">
<table>
<tr>
<th v-for="(item, index) in tableHeader2" :key="index">{{ item }}</th>
</tr>
<tr>
<td v-for="(item, index) in tableTD2" :key="index">{{ item }}</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: '',
data() {
return {
tableHeader1: ['6月新增销量', '转化率', '转化量', '平均客单价', '增值产值', '分店分润'],
tableHeader2: ['门店年度新车销量', '年度转化率', '平均客单价', '门店年度产值', '集团年度产值'],
tableTD1: [100, '52%', 52, 2283, 118716, 23400],
tableTD2: [960, '63%', 1350, 816480, 22861440]
}
},
methods: {}
}
</script>
<style lang="scss" scoped>
.chart-container {
height: 100%;
position: relative;
box-sizing: border-box;
padding: 20px;
}
.content_con {
display: flex;
justify-content: space-between;
.box_wrap_con {
width: 48%;
}
.con2_widget {
display: flex;
flex-wrap: wrap;
padding-bottom: 15px;
height: 54px;
.text_label {
width: 50%;
margin-bottom: 5px;
}
}
.drive_line {
margin: 0 auto;
width: 100%;
height: 1px;
background: #e8e8ea;
margin-bottom: 19px;
}
.wrapper_2 {
.text_line_widget {
display: flex;
align-items: center;
justify-content: space-between;
.price {
font-size: 14px;
font-weight: 600;
}
}
.table_widget {
width: 100%;
height: 90px;
background: #f6f6f7;
// overflow: hidden;
td,
th {
border: 1px solid #e0e0e4;
font-size: 14px;
font-weight: 400;
color: #3a3a3a;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
th,
td {
height: 41px;
text-align: center;
line-height: 41px;
}
table {
width: 100%;
border-collapse: collapse;
}
}
}
.margin_3 {
margin-top: 20px;
}
.margin_4 {
margin-top: 10px;
}
.margin_5 {
margin-top: 25px;
}
}
</style>