Commit 23522643 by 胡悦

修改触达通道分析样式

1 parent 8d8b4e4c
...@@ -505,7 +505,13 @@ ...@@ -505,7 +505,13 @@
transform: skewX(15deg); transform: skewX(15deg);
min-width: 60px; min-width: 60px;
&:last-child { &:last-child {
position: relative;
min-width: 105px; min-width: 105px;
span {
position: absolute;
top: 0;
left: -10px;
}
} }
.funnel-value { .funnel-value {
display: inline-flex; display: inline-flex;
...@@ -521,6 +527,7 @@ ...@@ -521,6 +527,7 @@
} }
} }
} }
.width0 { .width0 {
width: 400px; width: 400px;
} }
...@@ -549,15 +556,9 @@ ...@@ -549,15 +556,9 @@
} }
.arrow-right { .arrow-right {
position: absolute; position: absolute;
<<<<<<< HEAD
top: -19px;
right: 10px;
background-color: #fff6ea;
=======
top: -14px; top: -14px;
right: -20px; right: -20px;
background-color: #FFF6EA; background-color: #fff6ea;
>>>>>>> 8a7b26527bbe747a88f47e040a820b4051adbc4c
transform: skewX(-15deg); transform: skewX(-15deg);
width: 75px; width: 75px;
img { img {
...@@ -568,7 +569,9 @@ ...@@ -568,7 +569,9 @@
} }
} }
.funnel-right { .funnel-right {
margin-left: -10px; background-color: #fef7ec;
margin-left: -20px;
margin-top: 5px;
transform: skewX(-15deg); transform: skewX(-15deg);
.label-item { .label-item {
display: flex; display: flex;
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
* @Description: 战报 * @Description: 战报
* @Author: huyue * @Author: huyue
* @Date: 2022-10-11 17:41:38 * @Date: 2022-10-11 17:41:38
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: huyue
* @LastEditTime: 2022-10-19 18:00:24 * @LastEditTime: 2022-10-19 19:22:08
--> -->
<template> <template>
<!-- 战报产品 --> <!-- 战报产品 -->
...@@ -659,7 +659,6 @@ ...@@ -659,7 +659,6 @@
</div> </div>
<div <div
class="funnel-bg" class="funnel-bg"
style="width: 100px"
:style="{ :style="{
'background-color': data.colorList[1], 'background-color': data.colorList[1],
width: width:
...@@ -674,10 +673,15 @@ ...@@ -674,10 +673,15 @@
}}</span> }}</span>
</div> </div>
<div <div
v-if="data.activitedInfo.touchVisitorCount[2]"
class="funnel-bg" class="funnel-bg"
:style="{ :style="{
'background-color': data.colorList[2], 'background-color': data.colorList[2],
flex: 1, width:
(data.activitedInfo.touchVisitorCount[2] /
data.activitedInfo.touchVisitorCount[3]) *
400 +
'px',
}" }"
> >
<span class="funnel-value">{{ <span class="funnel-value">{{
...@@ -693,7 +697,7 @@ ...@@ -693,7 +697,7 @@
width: width:
(data.activitedInfo.touchOrderCount[0] / (data.activitedInfo.touchOrderCount[0] /
data.activitedInfo.touchOrderCount[3]) * data.activitedInfo.touchOrderCount[3]) *
400 + data.widthList[1] +
'px', 'px',
}" }"
> >
...@@ -703,13 +707,12 @@ ...@@ -703,13 +707,12 @@
</div> </div>
<div <div
class="funnel-bg" class="funnel-bg"
style="width: 100px"
:style="{ :style="{
'background-color': data.colorList[1], 'background-color': data.colorList[1],
width: width:
(data.activitedInfo.touchOrderCount[1] / (data.activitedInfo.touchOrderCount[1] /
data.activitedInfo.touchOrderCount[3]) * data.activitedInfo.touchOrderCount[3]) *
400 + data.widthList[1] +
'px', 'px',
}" }"
> >
...@@ -718,8 +721,8 @@ ...@@ -718,8 +721,8 @@
}}</span> }}</span>
</div> </div>
<div <div
v-if="data.activitedInfo.touchOrderCount[2]"
class="funnel-bg" class="funnel-bg"
style="width: 100px"
:style="{ :style="{
'background-color': data.colorList[2], 'background-color': data.colorList[2],
flex: 1, flex: 1,
...@@ -737,8 +740,8 @@ ...@@ -737,8 +740,8 @@
'background-color': data.colorList[0], 'background-color': data.colorList[0],
width: width:
(data.activitedInfo.touchConversionRate[0] / (data.activitedInfo.touchConversionRate[0] /
data.activitedInfo.touchConversionRate[2]) * data.activitedInfo.touchConversionRate[3]) *
400 + data.widthList[2] +
'px', 'px',
}" }"
> >
...@@ -748,13 +751,12 @@ ...@@ -748,13 +751,12 @@
</div> </div>
<div <div
class="funnel-bg" class="funnel-bg"
style="width: 100px"
:style="{ :style="{
'background-color': data.colorList[1], 'background-color': data.colorList[1],
width: width:
(data.activitedInfo.touchConversionRate[1] / (data.activitedInfo.touchConversionRate[1] /
data.activitedInfo.touchConversionRate[2]) * data.activitedInfo.touchConversionRate[3]) *
400 + data.widthList[2] +
'px', 'px',
}" }"
> >
...@@ -763,8 +765,8 @@ ...@@ -763,8 +765,8 @@
> >
</div> </div>
<div <div
v-if="+data.activitedInfo.touchConversionRate[2]"
class="funnel-bg" class="funnel-bg"
style="width: 100px"
:style="{ :style="{
'background-color': data.colorList[2], 'background-color': data.colorList[2],
flex: 1, flex: 1,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!