Commit 1ef891b2 by 胡悦

膨胀金战报,众筹喜报调整页面

1 parent 7e3ce946
$imgUrl: 'https://img02.glsx.com.cn/weapp/resource/miniprogram/h5-posters/';
$v: '1.0.2';
$good-color: #ffd2b2;
.product-box {
top: 395px;
display: inline-block;
background: url("#{$imgUrl}goodNews/line-bg.png?v=#{$v}");
background-repeat: repeat-x;
background-size: 4px 57px;
width: auto;
// margin: 0 43px;
font-size: 23px;
color: $good-color;
line-height: 30px;
}
.product-name {
position: relative;
padding: 14px 0;
box-sizing: border-box;
div {
// width: 100%;
box-sizing: border-box;
max-width: 425px;
white-space: nowrap;
padding: 0 15px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.product-icon {
position: absolute;
width: 30px;
height: 57px;
}
.icon-left {
left: -29px;
top: 0;
}
.icon-right {
right: -29px;
top: 0;
}
.store-name {
top: 466px;
color: $good-color;
font-size: 22px;
font-weight: 500;
width: 100%;
text-align: center;
}
.employee-avatar {
top: 700px;
width: 124px;
height: 124px;
border-radius: 50%;
}
.ribbon {
top: 775px;
img {
width: 610px;
height: 70px;
}
&-content {
position: relative;
}
&-text {
display: flex;
bottom: 7px;
color: $good-color;
font-size: 22px;
height: 30px;
line-height: 30px;
span {
display: inline-block;
vertical-align: middle;
text-align: center;
}
span:first-child {
display: inline-block;
// transform: rotate(6deg);
}
span:last-child {
display: inline-block;
// transform: rotate(-6deg);
}
}
&-other-text {
display: flex;
justify-content: center;
span {
display: inline-block;
max-width: 180px;
font-weight: 800;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
&-name {
flex: 1;
vertical-align: -webkit-baseline-middle;
// line-height: 46px;
padding: 0 12px;
font-weight: 800;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.ranking {
top: 1123px;
color: $good-color;
width: 405px;
background-color: #860a0f;
}
.sales {
display: flex;
align-items: baseline;
top: 850px;
color: $good-color;
font-size: 30px;
font-weight: 600;
// text-shadow: 0px 2px 5px rgba(50, 0, 0, 0.3);
div {
background-image: linear-gradient(-18deg, #ffb376 0%, #ffe6af 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.number {
display: inline-block;
font-size: 100px;
flex: 1;
padding: 0 16px;
font-weight: 800;
font-style: italic;
}
}
.table {
&-box {
display: inline-block;
padding-top: 4px;
font-size: 20px;
min-height: 300px;
}
&-header {
display: flex;
align-items: center;
height: 45px;
opacity: 0.7;
}
&-th,
&-td {
width: 20%;
text-align: center;
}
&-body {
width: 100%;
}
&-item {
display: flex;
align-items: center;
height: 40px;
margin-bottom: 16px;
background-color: #830e13;
border-radius: 20px;
}
// &-item:nth-child(odd) {
// background-color: #830e13;
// border-radius: 20px;
// }
&-avatar {
width: 30px;
height: 30px;
border-radius: 50%;
}
&-td {
&:first-child {
display: flex;
align-items: center;
justify-content: center;
}
position: relative;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.sales-number {
font-size: 32px;
font-weight: 600;
}
.first-ranking {
position: relative;
img {
width: 40px;
height: 33px;
}
.ranking-number {
color: #ffffff;
}
}
.ranking-bg {
width: 26px;
height: 26px;
background-color: #bf1c20;
border-radius: 50%;
}
.ranking-number {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.bg-top-box {
height: 1060px;
.bg-top {
width: 100%;
height: 100%;
}
}
.wrapper-bg {
position: relative;
background-color: #860a0f;
padding-bottom: 90px;
}
.wrapper-table {
// padding-top: 40px;
background: url("#{$imgUrl}goodNews/bg-line.png?v=#{$v}");
background-repeat: repeat-y;
background-size: 100% 10px;
text-align: center;
// margin-bottom: 90px;
margin-top: -1px;
.wrapper-header {
top: 1131px;
width: 100%;
img {
width: 100%;
}
}
.wrapper-footer {
width: 100%;
height: 110px;
img {
width: 100%;
height: 100%;
}
}
}
.table-bg {
background: url("@/assets/images/goodNews/ranking-line.png");
background-repeat: repeat-y;
background-size: 100% 10px;
}
.bg-footer {
width: 100%;
// position: relative;
// bottom: 0;
// left: 0;
// right: 0;
// height: 500px;
// z-index: -1;
.left-footer,
.right-footer {
width: 107px;
height: 500px;
position: absolute;
bottom: 0;
}
.left-footer {
left: 0;
}
.right-footer {
right: 0;
}
}
.long-ribbon {
position: absolute;
top: 222px;
width: 100%;
img {
width: 100%;
}
}
.left-ribbon {
position: absolute;
left: -4px;
top: 1070px;
width: 100%;
img {
width: 100%;
}
}
.right-ribbon {
position: absolute;
right: 0;
top: 1270px;
width: 100%;
img {
width: 100%;
}
}
.bottom-ribbon {
position: absolute;
bottom: 0;
height: 150px;
width: 100%;
img {
width: 100%;
height: 100%;
}
}
\ No newline at end of file \ No newline at end of file
...@@ -2,155 +2,156 @@ $imgUrl: 'https://img02.glsx.com.cn/weapp/resource/miniprogram/h5-posters/'; ...@@ -2,155 +2,156 @@ $imgUrl: 'https://img02.glsx.com.cn/weapp/resource/miniprogram/h5-posters/';
$v: '1.0.2'; $v: '1.0.2';
$good-color: #ffd2b2; $good-color: #ffd2b2;
.product-box { .wrapper-good {
top: 395px; min-height: 100vh;
display: inline-block; padding-bottom: 100px;
background: url("#{$imgUrl}goodNews/line-bg.png?v=#{$v}"); background-image: linear-gradient(180deg, #f46538 0%, #f92b36 100%);
background-repeat: repeat-x;
background-size: 4px 57px;
width: auto;
// margin: 0 43px;
font-size: 23px;
color: $good-color;
line-height: 30px;
} }
.product-name { .banner {
position: relative; position: relative;
padding: 14px 0; img {
box-sizing: border-box; width: 100%;
div { height: 688px;
// width: 100%;
box-sizing: border-box;
max-width: 425px;
white-space: nowrap;
padding: 0 15px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
} .header-box {
.product-icon { width: 100%;
position: absolute; position: absolute;
width: 30px; top: 275px;
height: 57px; left: 50%;
} .acitvity-box {
.icon-left { display: inline-block;
left: -29px; transform: translateX(-50%);
top: 0; // width: 100%;
} font-size: 26px;
.icon-right { padding: 6px 30px;
right: -29px; color: #FEEACE;
top: 0; border-radius: 44px 44px 44px 44px;
} background: linear-gradient(-180deg, rgba(253,243,219,100), rgba(252,234,180,100));
.store-name { .activity-name {
top: 466px; font-size: 26px;
color: $good-color; color: #FEEACE;
background-image: -webkit-linear-gradient(bottom,#dd0719,#ee4831,#f76a3e);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}
}
.merchant-name {
display: inline-block;
transform: translateX(-50%);
font-size: 22px; font-size: 22px;
font-weight: 500; color: #F7432B;
width: 100%; margin-top: 14px;
text-align: center; }
}
.employee-avatar {
top: 700px;
width: 124px;
height: 124px;
border-radius: 50%;
}
.ribbon {
top: 775px;
img {
width: 610px;
height: 70px;
} }
&-content { }
// 员工信息
.user-box {
position: relative; position: relative;
width: 100%;
height: 719px;
margin-top: -120px;
background: url("@/assets/images/goodNews/user-bg.png") no-repeat;
background-size: 100%;
z-index: 1;
.user-avatar {
position: absolute;
width: 160px;
height: 160px;
top: 216px;
left: 50%;
transform: translateX(-50%);
} }
&-text { .user-info {
position: absolute;
top: 420px;
display: flex; display: flex;
bottom: 7px; align-items: baseline;
color: $good-color; justify-content: center;
font-size: 22px; width: 100%;
height: 30px; color: rgba(254, 234, 206, 1);
line-height: 30px; font-weight: 500;
span { font-size: 26px;
display: inline-block; height: 40px;
vertical-align: middle; background-image:-webkit-linear-gradient(bottom,#e73507,#f6721b,#f57300);
text-align: center; -webkit-background-clip:text;
-webkit-text-fill-color:transparent;
.user-name {
color: rgba(254, 234, 206, 1);
font-weight: 600;
font-size: 32px;
margin: 0 16px;
} }
span:first-child {
display: inline-block;
// transform: rotate(6deg);
} }
span:last-child { .user-order {
display: inline-block; position: absolute;
// transform: rotate(-6deg); bottom: 100px;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: baseline;
justify-content: center;
font-size: 36px;
background-image:-webkit-linear-gradient(bottom,#e73507,#f6721b,#f57300);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
.order-value {
font-style: italic;
font-size: 120px;
padding: 0 20px;
} }
} }
&-other-text { }
.ranking-box {
box-sizing: border-box;
width: calc(100% - 100px);
margin: 40px 50px 0;
padding: 16px;
border-radius: 10px 10px 10px 10px;
background: linear-gradient(-180deg, rgba(255,169,105,100), rgba(255,137,85,100));
.ranking-list {
width: calc(100% - 34px);
padding: 20px 17px;
border-radius: 10px 10px 10px 10px;
background: linear-gradient(-180deg, rgba(255,249,235,100), rgba(255,240,196,100));
.shop-title {
display: flex; display: flex;
justify-content: center; justify-content: center;
span { align-items: center;
display: inline-block; font-size: 26px;
max-width: 180px; background-image:-webkit-linear-gradient(bottom,#e73507,#f6721b,#f57300);
font-weight: 800; -webkit-background-clip:text;
white-space: nowrap; -webkit-text-fill-color:transparent;
overflow: hidden; .icon-title {
text-overflow: ellipsis; width: 17px;
height: 10px;
}
.shop-name{
margin: 0 15px;
} }
} }
&-name {
flex: 1;
vertical-align: -webkit-baseline-middle;
// line-height: 46px;
padding: 0 12px;
font-weight: 800;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
} }
.ranking { .ranking {
top: 1123px;
color: $good-color;
width: 405px;
background-color: #860a0f;
}
.sales {
display: flex;
align-items: baseline;
top: 850px;
color: $good-color; color: $good-color;
font-size: 30px; width: 100%;
font-weight: 600;
// text-shadow: 0px 2px 5px rgba(50, 0, 0, 0.3);
div {
background-image: linear-gradient(-18deg, #ffb376 0%, #ffe6af 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.number {
display: inline-block;
font-size: 100px;
flex: 1;
padding: 0 16px;
font-weight: 800;
font-style: italic;
}
} }
.table { .table {
&-box { &-box {
display: inline-block; display: inline-block;
padding-top: 4px; padding-top: 20px;
font-size: 20px; font-size: 20px;
min-height: 300px; min-height: 300px;
} }
&-header { &-header {
display: flex; display: flex;
align-items: center; align-items: center;
height: 45px; height: 43px;
color: #A95E4A;
opacity: 0.7; font-weight: 500;
border-radius: 21.5px 21.5px 21.5px 21.5px;
background: rgba(255,237,209,1);
} }
&-th, &-th,
&-td { &-td {
...@@ -164,14 +165,12 @@ $good-color: #ffd2b2; ...@@ -164,14 +165,12 @@ $good-color: #ffd2b2;
display: flex; display: flex;
align-items: center; align-items: center;
height: 40px; height: 40px;
margin-bottom: 16px; color: #A95E4A;
background-color: #830e13; // margin-bottom: 16px;
height: 60px;
border: 1px solid rgba(253,231,207,1);
border-radius: 20px; border-radius: 20px;
} }
// &-item:nth-child(odd) {
// background-color: #830e13;
// border-radius: 20px;
// }
&-avatar { &-avatar {
width: 30px; width: 30px;
height: 30px; height: 30px;
...@@ -206,7 +205,7 @@ $good-color: #ffd2b2; ...@@ -206,7 +205,7 @@ $good-color: #ffd2b2;
.ranking-bg { .ranking-bg {
width: 26px; width: 26px;
height: 26px; height: 26px;
background-color: #bf1c20; background-color: #DF9866;
border-radius: 50%; border-radius: 50%;
} }
.ranking-number { .ranking-number {
...@@ -214,6 +213,7 @@ $good-color: #ffd2b2; ...@@ -214,6 +213,7 @@ $good-color: #ffd2b2;
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
color: #fff;
} }
.bg-top-box { .bg-top-box {
height: 1060px; height: 1060px;
...@@ -222,97 +222,9 @@ $good-color: #ffd2b2; ...@@ -222,97 +222,9 @@ $good-color: #ffd2b2;
height: 100%; height: 100%;
} }
} }
.wrapper-bg { .icon-bottom {
position: relative;
background-color: #860a0f;
padding-bottom: 90px;
}
.wrapper-table {
// padding-top: 40px;
background: url("#{$imgUrl}goodNews/bg-line.png?v=#{$v}");
background-repeat: repeat-y;
background-size: 100% 10px;
text-align: center;
// margin-bottom: 90px;
margin-top: -1px;
.wrapper-header {
top: 1131px;
width: 100%;
img {
width: 100%;
}
}
.wrapper-footer {
width: 100%;
height: 110px;
img {
width: 100%;
height: 100%;
}
}
}
.table-bg {
background: url("@/assets/images/goodNews/ranking-line.png");
background-repeat: repeat-y;
background-size: 100% 10px;
}
.bg-footer {
width: 100%;
// position: relative;
// bottom: 0;
// left: 0;
// right: 0;
// height: 500px;
// z-index: -1;
.left-footer,
.right-footer {
width: 107px;
height: 500px;
position: absolute;
bottom: 0;
}
.left-footer {
left: 0;
}
.right-footer {
right: 0;
}
}
.long-ribbon {
position: absolute;
top: 222px;
width: 100%;
img {
width: 100%;
}
}
.left-ribbon {
position: absolute;
left: -4px;
top: 1070px;
width: 100%;
img {
width: 100%;
}
}
.right-ribbon {
position: absolute;
right: 0;
top: 1270px;
width: 100%;
img {
width: 100%;
}
}
.bottom-ribbon {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
height: 150px;
width: 100%; width: 100%;
img { height: 115px;
width: 100%;
height: 100%;
}
} }
\ No newline at end of file \ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-10-10 10:54:14 * @Date: 2022-10-10 10:54:14
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-02-09 14:57:03 * @LastEditTime: 2023-02-08 15:31:08
*/ */
import HelloWorld from 'comps/HelloWorld.vue' import HelloWorld from 'comps/HelloWorld.vue'
......
...@@ -3,65 +3,47 @@ ...@@ -3,65 +3,47 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-10-10 15:26:23 * @Date: 2022-10-10 15:26:23
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-02-07 15:33:05 * @LastEditTime: 2023-02-10 16:25:18
--> -->
<template> <template>
<div class="bg-top-box"> <div class="wrapper-good">
<img class="bg-top" :src="getImageUrl('bg-top')" alt="" /> <div class="banner">
<div class="product-box x-center"> <img src="@/assets/images/goodNews/banner.png" alt="" />
<div class="product-name"> <div class="header-box">
<img <div class="acitvity-box">
class="icon-left product-icon" <div class="activity-name">活动名称活动名称活动名称活动名称活动</div>
:src="getImageUrl('icon-left')"
alt=""
/>
<div>{{ data.storeInfo!.goodsName }}</div>
<img
class="icon-right product-icon"
:src="getImageUrl('icon-right')"
alt=""
/>
</div> </div>
<div class="merchant-name">深圳鹏峰本田深圳鹏峰本田</div>
</div> </div>
<div class="store-name x-center">{{ data.storeInfo!.merchantName }}</div>
<img
class="employee-avatar x-center"
:src="data.storeInfo!.avatar || getImageUrl('icon-avatar')"
alt=""
/>
<div class="ribbon x-center">
<div class="ribbon-content">
<img :src="getImageUrl('ribbon')" alt="" />
<div class="ribbon-text x-center">
<template v-if="data.storeInfo!.type == 2">
{{ data.storeInfo!.department }}
<span class="ribbon-name">{{ data.storeInfo!.name }}</span>
为团队助力
</template>
<template v-if="data.storeInfo!.type == 1">
<div class="ribbon-other-text">
<span>{{ data.storeInfo!.name }}</span
>为团队助力
</div>
</template>
</div> </div>
<div class="user-box">
<img class="user-avatar" :src="getImageUrl('icon-avatar')" alt="" />
<div class="user-info">
售后部
<div class="user-name">曾祥集</div>
为团队助力
</div> </div>
<div class="user-order">
第
<div class="order-value">68</div>
单
</div> </div>
<div class="sales x-center">
<div>第</div>
<div class="number">{{ data.storeInfo!.orderCount }}</div>
<div>单</div>
</div> </div>
<div class="ranking-box">
<div class="ranking-list">
<div class="shop-title">
<img
class="icon-title"
src="@/assets/images/goodNews/icon-title.png"
alt=""
/>
<div class="shop-name">360全景影像系统</div>
<img
class="icon-title"
src="@/assets/images/goodNews/icon-title.png"
alt=""
/>
</div> </div>
<div class="wrapper-bg">
<div class="wrapper-table">
<div class="table-bg">
<div class="wrapper-header">
<img src="@/assets/images/goodNews/ranking-header.png" alt="" />
</div>
<div>360全景影像系统</div>
<div class="wrapper-content">
<div class="table-box ranking"> <div class="table-box ranking">
<div class="table-header"> <div class="table-header">
<div class="table-th">排名</div> <div class="table-th">排名</div>
...@@ -104,39 +86,70 @@ ...@@ -104,39 +86,70 @@
</div> </div>
</div> </div>
</div> </div>
<div class="wrapper-footer">
<img src="@/assets/images/goodNews/ranking-footer.png" alt="" />
</div>
</div> </div>
<div class="bg-footer"> <div class="ranking-box">
<div class="ranking-list">
<div class="shop-title">
<img <img
class="left-footer" class="icon-title"
src="@/assets/images/goodNews/left-footer.jpg" src="@/assets/images/goodNews/icon-title.png"
alt="" alt=""
/> />
<div class="shop-name">360全景影像系统</div>
<img <img
class="right-footer" class="icon-title"
src="@/assets/images/goodNews/right-footer.png" src="@/assets/images/goodNews/icon-title.png"
alt="" alt=""
/> />
</div> </div>
<div class="table-box ranking">
<div class="table-header">
<div class="table-th">排名</div>
<div class="table-th">头像</div>
<div class="table-th">部门</div>
<div class="table-th">姓名</div>
<div class="table-th">单量</div>
</div> </div>
<div class="table-body">
<div
class="table-item"
v-for="(item, index) in data.storeInfo!.orderRankList"
:key="index"
>
<template v-if="index < 3">
<div class="table-td first-ranking">
<img :src="getImageUrl(data.medals![index])" alt="" />
<span class="ranking-number" style="top: 44%">{{
index + 1
}}</span>
</div>
</template>
<template v-else>
<div class="table-td">
<span class="ranking-bg"></span>
<span class="ranking-number">{{ index + 1 }}</span>
</div>
</template>
<div class="table-td">
<img
class="table-avatar"
:src="item.avator || getImageUrl('icon-avatar')"
alt=""
/>
</div>
<div class="table-td">{{ item.department }}</div>
<div class="table-td">{{ item.name }}</div>
<div class="table-td sales-number">{{ item.orderCount }}</div>
</div> </div>
<div class="long-ribbon">
<img src="@/assets/images/goodNews/long-ribbon.png" alt="" />
</div> </div>
<div class="left-ribbon">
<img :src="getImageUrl('left-ribbon')" alt="" />
</div> </div>
<div class="right-ribbon">
<img :src="getImageUrl('right-ribbon')" alt="" />
</div> </div>
<div class="bottom-ribbon">
<img src="@/assets/images/goodNews/bottom-ribbon.png" alt="" />
</div> </div>
<div class="logo x-center"> <img
<img :src="getImageUrl('logo', 'common')" alt="" /> class="icon-bottom"
src="@/assets/images/goodNews/icon-bottom.png"
alt=""
/>
</div> </div>
</template> </template>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-10-11 17:41:38 * @Date: 2022-10-11 17:41:38
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-02-07 13:57:19 * @LastEditTime: 2023-02-10 16:37:10
--> -->
<template> <template>
<div v-show="!data.loading"> <div v-show="!data.loading">
...@@ -614,6 +614,268 @@ ...@@ -614,6 +614,268 @@
<img :src="getImageUrl('box-footer')" alt="" /> <img :src="getImageUrl('box-footer')" alt="" />
</div> </div>
</div> </div>
<!-- 触达通道分析 -->
<!-- <div class="wrapper-output">
<div class="box-header">
<img
class="box-header-bg"
:src="getImageUrl('box-header')"
alt=""
/>
<div class="box-header-text x-center">
<img :src="getImageUrl('title-left')" alt="" />
<span class="box-header-title">触达通道分析</span>
<img :src="getImageUrl('title-right')" 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" v-if="data.activitedInfo.touchVisitorCount[2]">
<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
v-if="data.activitedInfo.touchVisitorCount[0] != 0"
class="funnel-bg"
:style="{
'background-color': data.colorList[0],
width:
(data.activitedInfo.touchVisitorCount[0] /
data.activitedInfo.touchVisitorCount[3]) *
100 +
'%',
}"
>
<span class="funnel-value">{{
data.activitedInfo.touchVisitorCount[0]
}}</span>
</div>
<div
v-if="data.activitedInfo.touchVisitorCount[1] != 0"
class="funnel-bg"
:style="{
'background-color': data.colorList[1],
width:
(data.activitedInfo.touchVisitorCount[1] /
data.activitedInfo.touchVisitorCount[3]) *
100 +
'%',
}"
>
<span class="funnel-value">{{
data.activitedInfo.touchVisitorCount[1]
}}</span>
</div>
<div
v-if="data.activitedInfo.touchVisitorCount[2]"
class="funnel-bg"
:style="{
'background-color': data.colorList[2],
flex: 1,
}"
>
<span class="funnel-value">{{
data.activitedInfo.touchVisitorCount[2]
}}</span>
</div>
</div>
<div class="funnel-item width1">
<div
v-if="data.activitedInfo.touchOrderCount[0] != 0"
class="funnel-bg"
:style="{
'background-color': data.colorList[0],
width:
(data.activitedInfo.touchOrderCount[0] /
data.activitedInfo.touchOrderCount[3]) *
100 +
'%',
}"
>
<span class="funnel-value">{{
data.activitedInfo.touchOrderCount[0]
}}</span>
</div>
<div
v-if="data.activitedInfo.touchOrderCount[1] != 0"
class="funnel-bg"
:style="{
'background-color': data.colorList[1],
width:
(data.activitedInfo.touchOrderCount[1] /
data.activitedInfo.touchOrderCount[3]) *
100 +
'%',
}"
>
<span class="funnel-value">{{
data.activitedInfo.touchOrderCount[1]
}}</span>
</div>
<div
v-if="data.activitedInfo.touchOrderCount[2]"
class="funnel-bg"
:style="{
'background-color': data.colorList[2],
flex: 1,
}"
>
<span class="funnel-value">{{
data.activitedInfo.touchOrderCount[2]
}}</span>
</div>
</div>
<div class="funnel-item width2">
<div
v-if="data.activitedInfo.touchConversionRate[0] != '0.00'"
class="funnel-bg"
:style="{
'background-color': data.colorList[0],
width:
(data.activitedInfo.touchConversionRate[0] /
data.activitedInfo.touchConversionRate[3]) *
100 +
'%',
}"
>
<span class="funnel-value"
>{{ data.activitedInfo.touchConversionRate[0] }}%</span
>
</div>
<div
v-if="data.activitedInfo.touchConversionRate[1] != '0.00'"
class="funnel-bg"
:style="{
'background-color': data.colorList[1],
width:
(data.activitedInfo.touchConversionRate[1] /
data.activitedInfo.touchConversionRate[3]) *
100 +
'%',
}"
>
<span class="funnel-value"
>{{ data.activitedInfo.touchConversionRate[1] }}%</span
>
</div>
<div
v-if="+data.activitedInfo.touchConversionRate[2]"
class="funnel-bg"
:style="{
'background-color': data.colorList[2],
flex: 1,
}"
>
<span class="funnel-value"
>{{ data.activitedInfo.touchConversionRate[2] }}%</span
>
</div>
</div>
<div class="arrow-left">
<img :src="getImageUrl('arrow-left')" alt="" />
</div>
<div class="arrow-right">
<img :src="getImageUrl('arrow')" alt="" />
</div>
</div>
<div class="funnel-right">
<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
v-if="data.activitedInfo.WechatRate"
class="box-body-wrap-vessel client"
>
<div class="box-rate">
<img :src="getImageUrl('micro')" alt="" />
</div>
<echart-box
id="clientVis"
:value="data.activitedInfo.WechatRate"
:colors="colors"
></echart-box>
<div class="box-body-details">
<div class="flex statistical-text">
<div class="icon"></div>
<span>1V1或群访客数</span>
</div>
<div class="flex statistical-text">
<div class="icon color_f"></div>
<span>朋友圈访客数</span>
</div>
</div>
</div>
<div
v-if="data.activitedInfo.workWechatRate"
class="box-body-wrap-vessel vehicle"
>
<div class="box-rate">
<img :src="getImageUrl('qw')" alt="" />
</div>
<echart-box
id="vehicleVis"
:value="data.activitedInfo.workWechatRate"
:colors="colors"
></echart-box>
<div class="box-body-details">
<div class="flex statistical-text">
<div class="icon"></div>
<span>1V1或群访客数</span>
</div>
<div class="flex statistical-text">
<div class="icon color_f"></div>
<span>朋友圈访客数</span>
</div>
</div>
</div>
</div>
<div class="box-body-summary">
<div class="title">总结</div>
<div class="content" v-if="data.activitedInfo.touchPassageSummary">
{{ data.activitedInfo.touchPassageSummary }}
</div>
<div class="content" v-else>
个微转化率低于企微转化率,建议将客户企微线上化,提升转化率,同时可以分析更多经纬度数据,如客户年龄,占比,性别,占比,购车年限占比等,具体营销方案可扫码咨询
</div>
</div>
</div>
<div class="box-footer">
<img :src="getImageUrl('box-footer')" alt="" />
</div>
</div> -->
<!-- 专属海报 --> <!-- 专属海报 -->
<div class="wrapper-code"> <div class="wrapper-code">
<div class="code-bg"> <div class="code-bg">
...@@ -634,7 +896,7 @@ ...@@ -634,7 +896,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, onMounted, reactive, nextTick, inject } from "vue"; import { ref, onMounted, reactive, nextTick, inject } from "vue";
import { req, djReq } from "../../utils/request"; import { req } from "../../utils/request";
import { useRoute } from "vue-router"; import { useRoute } from "vue-router";
import { DataInfo, Params, series } from "./activitingInterface"; import { DataInfo, Params, series } from "./activitingInterface";
import util from "../../utils/util"; import util from "../../utils/util";
......
...@@ -5,7 +5,7 @@ import exp from "constants"; ...@@ -5,7 +5,7 @@ import exp from "constants";
* @Author: huyue * @Author: huyue
* @Date: 2022-11-16 18:25:15 * @Date: 2022-11-16 18:25:15
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-02-06 17:12:00 * @LastEditTime: 2023-02-13 15:18:21
*/ */
export interface Params { export interface Params {
activityId?: number | string; activityId?: number | string;
...@@ -76,6 +76,7 @@ export interface Header { ...@@ -76,6 +76,7 @@ export interface Header {
} }
export interface DataInfo { export interface DataInfo {
currentValue: string
colorList: string[] colorList: string[]
seriesRankColor: string[] seriesRankColor: string[]
widthList: number[] widthList: number[]
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-10-10 15:26:23 * @Date: 2022-10-10 15:26:23
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-02-07 17:41:50 * @LastEditTime: 2023-02-09 18:09:16
--> -->
<template> <template>
<div class="bg-top-box"> <div class="bg-top-box">
...@@ -60,7 +60,6 @@ ...@@ -60,7 +60,6 @@
<div class="wrapper-header"> <div class="wrapper-header">
<img src="@/assets/images/goodNews/ranking-header.png" alt="" /> <img src="@/assets/images/goodNews/ranking-header.png" alt="" />
</div> </div>
<div>360全景影像系统</div>
<div class="wrapper-content"> <div class="wrapper-content">
<div class="table-box ranking"> <div class="table-box ranking">
<div class="table-header"> <div class="table-header">
...@@ -174,5 +173,5 @@ onMounted(() => { ...@@ -174,5 +173,5 @@ onMounted(() => {
}); });
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "src/assets/styles/goodNews.scss"; @import "src/assets/styles/goldNews.scss";
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!