Commit e59d1620 by 前端

style:样式调整

1 parent 71530f14
......@@ -219,6 +219,14 @@
&:nth-child(1) {
margin-right: 13px;
}
.box-rate-title {
width: 203px;
height: 56px;
background: linear-gradient(90deg, #ff353a 0%, #ffb186 99%);
border-radius: 10px;
// position: relative;
color:#ff353a;
}
}
.box-body-details {
margin: 0 35px;
......@@ -226,30 +234,71 @@
margin-bottom: 34px;
display: flex;
align-items: center;
justify-content: space-around;
.info-text {
min-width: 109px;
font-size: 22px;
font-weight: 400;
color: #333333;
line-height: 18px;
text-align:left;
text-align: left;
white-space: nowrap;
}
span {
margin-left: 36px;
font-size: 36px;
font-family: PingFang SC;
font-weight: 600;
font-style: italic;
color: #ff333a;
line-height: 32px;
min-width: 130px;
text-align:left;
label {
font-size: 22px;
font-weight: 400;
color: #ff343a;
line-height: 32px;
margin-left: 8px;
}
}
label {
font-size: 22px;
font-weight: 400;
color: #ff343a;
line-height: 32px;
margin-left:8px;
}
}
.icon {
width: 8px;
height: 8px;
background: #ff664b;
border-radius: 50%;
margin-right: 11px;
}
.statistical-text {
font-size: 20px;
font-weight: 400;
color: #333333;
align-items: center;
width:70%;
text-align: left;
margin:2px auto 19px auto;
}
}
}
.box-body-summary {
text-align: center;
margin-top: 50px;
.title {
font-size: 30px;
font-weight: 600;
color: #333333;
line-height: 30px;
margin-bottom: 14px;
}
.content {
font-size: 22px;
font-weight: 400;
color: #333333;
// line-height: 34px;
text-align: center;
white-space: nowrap;
}
}
......@@ -19,5 +19,11 @@
transform: translateX(-50%);
}
.mrg-22{
margin:0
margin:0 22px;
}
.flex{
display:flex;
}
.mgb19{
margin-bottom:19px;
}
\ No newline at end of file
......@@ -424,7 +424,7 @@
<!-- <div class="box-body">
<div ref="main" style="width: 100%; height: 400px"></div>
</div> -->
<div class="box-body mrg-22">
<div class="box-body">
<div class="box-body-head">
<div>客户数占比</div>
<div>车型占比</div>
......@@ -435,11 +435,11 @@
<div class="box-body-details">
<div class="info">
<div class="info-text">基盘客户数</div>
<span>6000</span><label>个</label>
<span>6000<label>个</label></span>
</div>
<div class="info">
<div class="info-text">访客总数</div>
<span>60000</span><label>个</label>
<span>600<label>个</label></span>
</div>
<div class="info">
<div class="info-text">基盘覆盖率</div>
......@@ -452,6 +452,248 @@
<div></div>
</div>
</div>
<div class="box-body-summary">
<div class="title">总结</div>
<div class="content">
本次活动基盘覆盖率为26%,下单最多的车型为雅阁<br />
建议使用企微将用户线上化,下次活动时通过标签<br />
自动识别用户,避免二次营销,提升精准转化率!
</div>
</div>
</div>
<div class="box-footer">
<img src="@/assets/images/activityReport/box-footer.png" alt="" />
</div>
</div>
<!-- 触达通道分析 -->
<div class="wrapper-output">
<div class="box-header">
<img
class="box-header-bg"
src="@/assets/images/activityReport/box-header.png"
alt=""
/>
<div class="box-header-text x-center">
<img src="@/assets/images/activityReport/title-left.png" alt="" />
<span class="box-header-title">触达通道分析</span>
<img src="@/assets/images/activityReport/title-right.png" alt="" />
</div>
</div>
<div class="box-body">
<div class="legend-list">
<div class="legend-item">
<span
class="legend-dot"
:style="{ 'background-color': data.colorList[0] }"
></span>
个微
</div>
<div class="legend-item">
<span
class="legend-dot"
:style="{ 'background-color': data.colorList[1] }"
></span>
个微
</div>
<div class="legend-item">
<span
class="legend-dot"
:style="{ 'background-color': data.colorList[2] }"
></span>
个微
</div>
</div>
<div class="funnel-box">
<div class="funnel-list">
<div class="funnel-item width0">
<div
class="funnel-bg"
:style="{
'background-color': data.colorList[0],
width: (data.custemData[0] / data.total) * 400 + 'px',
}"
>
<span class="funnel-value">{{ data.custemData[0] }}</span>
</div>
<div
class="funnel-bg"
style="width: 100px"
:style="{
'background-color': data.colorList[1],
width: (data.custemData[1] / data.total) * 400 + 'px',
}"
>
<span class="funnel-value">{{ data.custemData[1] }}</span>
</div>
<div
class="funnel-bg"
style="width: 100px"
:style="{
'background-color': data.colorList[2],
flex: 1,
}"
>
<span class="funnel-value">{{ data.custemData[2] }}</span>
</div>
</div>
<div class="funnel-item width1">
<div
class="funnel-bg"
:style="{
'background-color': data.colorList[0],
width: (data.custemData[0] / data.total) * 400 + 'px',
}"
>
<span class="funnel-value">{{ data.custemData[0] }}</span>
</div>
<div
class="funnel-bg"
style="width: 100px"
:style="{
'background-color': data.colorList[1],
width: (data.custemData[1] / data.total) * 400 + 'px',
}"
>
<span class="funnel-value">{{ data.custemData[1] }}</span>
</div>
<div
class="funnel-bg"
style="width: 100px"
:style="{
'background-color': data.colorList[2],
flex: 1,
}"
>
<span class="funnel-value">{{ data.custemData[2] }}</span>
</div>
</div>
<div class="funnel-item width2">
<div
class="funnel-bg"
:style="{
'background-color': data.colorList[0],
width: (data.custemData[0] / data.total) * 400 + 'px',
}"
>
<span class="funnel-value">{{ data.custemData[0] }}</span>
</div>
<div
class="funnel-bg"
style="width: 100px"
:style="{
'background-color': data.colorList[1],
width: (data.custemData[1] / data.total) * 400 + 'px',
}"
>
<span class="funnel-value">{{ data.custemData[1] }}</span>
</div>
<div
class="funnel-bg"
style="width: 100px"
:style="{
'background-color': data.colorList[2],
flex: 1,
}"
>
<span class="funnel-value">{{ data.custemData[2] }}</span>
</div>
</div>
<div class="funnel-item width3">
<div
class="funnel-bg"
:style="{
'background-color': data.colorList[0],
width: (data.custemData[0] / data.total) * 400 + 'px',
}"
>
<span class="funnel-value">{{ data.custemData[0] }}</span>
</div>
<div
class="funnel-bg"
style="width: 100px"
:style="{
'background-color': data.colorList[1],
width: (data.custemData[1] / data.total) * 400 + 'px',
}"
>
<span class="funnel-value">{{ data.custemData[1] }}</span>
</div>
<div
class="funnel-bg"
style="width: 100px"
:style="{
'background-color': data.colorList[2],
flex: 1,
}"
>
<span class="funnel-value">{{ data.custemData[2] }}</span>
</div>
</div>
<div class="arrow-left">
<img src="@/assets/images/activityReport/arrow-left.png" alt="" />
</div>
<div class="arrow-right">
<img src="@/assets/images/activityReport/arrow.png" alt="" />
</div>
</div>
<div class="funnel-right">
<div class="label-item">
<span class="icon icon-custom"></span>
<span class="label-name">目标客户数</span>
</div>
<div class="label-item">
<span class="icon icon-visite"></span>
<span class="label-name">目标客户数</span>
</div>
<div class="label-item">
<span class="icon icon-order"></span>
<span class="label-name">目标客户数</span>
</div>
<div class="label-item">
<span class="icon icon-conversion"></span>
<span class="label-name">目标客户数</span>
</div>
</div>
</div>
<div class="box-body-wrap">
<div class="box-body-wrap-vessel client">
<div class="box-rate-title">个微成交占比</div>
<echart-box id="client" :colors="colors"></echart-box>
<div class="box-body-details">
<div class="flex statistical-text">
<div class="icon"></div>
1V1或群访客数
</div>
<div class="flex statistical-text">
<div class="icon"></div>
朋友圈访客数朋友圈访客数
</div>
</div>
</div>
<div class="box-body-wrap-vessel vehicle">
<div class="box-rate-title">企微成交占比</div>
<echart-box id="vehicle" :colors="colors"></echart-box>
<div class="box-body-details">
<div class="flex statistical-text">
<div class="icon"></div>
1V1或群访客数
</div>
<div class="flex statistical-text">
<div class="icon"></div>
朋友圈访客数朋友圈访客数
</div>
</div>
</div>
</div>
<div class="box-body-summary">
<div class="title">总结</div>
<div class="content">
短信通道转化率最低,个微转化率次之,企微转化率最高,建议客户线<br/>
上化企微,提升转化率,同事可以分析更多纬度数据,如客户年龄、<br/>
占比、性别占比、购车年限占比等,具体营销方案可扫码咨询
</div>
</div>
</div>
<div class="box-footer">
<img src="@/assets/images/activityReport/box-footer.png" alt="" />
......@@ -471,41 +713,19 @@
</div>
</template>
<script lang="ts" setup>
import { ref, onMounted } from "vue";
import { ref, onMounted, reactive } from "vue";
// 按需引入 echarts
import * as echarts from "echarts";
const count = ref(50);
const progress = ref(50);
const colors = ref<string[]>(["#FFC154", "#FF9671"]);
onMounted(() => {
// init();
const data = reactive({
colorList: ["#F65A3F", "#FF8B64", "#FFBD55"],
widthList: [400, 350, 304, 258],
custemData: [100, 800, 6000],
total: 7200,
});
function init() {
var myChart = echarts.init(main.value);
// 指定图表的配置项和数据
var option = {
title: {
text: "ECharts 入门示例",
},
tooltip: {},
legend: {
data: ["销量"],
},
xAxis: {
data: ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"],
},
yAxis: {},
series: [
{
name: "销量",
type: "bar",
data: [5, 20, 36, 10, 10, 20],
},
],
};
// 使用刚指定的配置项和数据显示图表。
myChart.setOption(option);
}
onMounted(() => {});
</script>
<style lang="scss" scoped>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!