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
......@@ -2,155 +2,156 @@ $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;
.wrapper-good {
min-height: 100vh;
padding-bottom: 100px;
background-image: linear-gradient(180deg, #f46538 0%, #f92b36 100%);
}
.product-name {
.banner {
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;
width: 100%;
height: 688px;
}
&-text {
display: flex;
bottom: 7px;
color: $good-color;
font-size: 22px;
height: 30px;
line-height: 30px;
span {
.header-box {
width: 100%;
position: absolute;
top: 275px;
left: 50%;
.acitvity-box {
display: inline-block;
vertical-align: middle;
text-align: center;
transform: translateX(-50%);
// width: 100%;
font-size: 26px;
padding: 6px 30px;
color: #FEEACE;
border-radius: 44px 44px 44px 44px;
background: linear-gradient(-180deg, rgba(253,243,219,100), rgba(252,234,180,100));
.activity-name {
font-size: 26px;
color: #FEEACE;
background-image: -webkit-linear-gradient(bottom,#dd0719,#ee4831,#f76a3e);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}
}
span:first-child {
.merchant-name {
display: inline-block;
// transform: rotate(6deg);
transform: translateX(-50%);
font-size: 22px;
color: #F7432B;
margin-top: 14px;
}
span:last-child {
display: inline-block;
// transform: rotate(-6deg);
}
}
// 员工信息
.user-box {
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%);
}
.user-info {
position: absolute;
top: 420px;
display: flex;
align-items: baseline;
justify-content: center;
width: 100%;
color: rgba(254, 234, 206, 1);
font-weight: 500;
font-size: 26px;
height: 40px;
background-image:-webkit-linear-gradient(bottom,#e73507,#f6721b,#f57300);
-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;
}
}
&-other-text {
.user-order {
position: absolute;
bottom: 100px;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: baseline;
justify-content: center;
span {
display: inline-block;
max-width: 180px;
font-weight: 800;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
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;
}
}
&-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-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;
justify-content: center;
align-items: center;
font-size: 26px;
background-image:-webkit-linear-gradient(bottom,#e73507,#f6721b,#f57300);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
.icon-title {
width: 17px;
height: 10px;
}
.shop-name{
margin: 0 15px;
}
}
}
}
.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;
}
width: 100%;
}
.table {
&-box {
display: inline-block;
padding-top: 4px;
padding-top: 20px;
font-size: 20px;
min-height: 300px;
}
&-header {
display: flex;
align-items: center;
height: 45px;
opacity: 0.7;
height: 43px;
color: #A95E4A;
font-weight: 500;
border-radius: 21.5px 21.5px 21.5px 21.5px;
background: rgba(255,237,209,1);
}
&-th,
&-td {
......@@ -164,14 +165,12 @@ $good-color: #ffd2b2;
display: flex;
align-items: center;
height: 40px;
margin-bottom: 16px;
background-color: #830e13;
color: #A95E4A;
// margin-bottom: 16px;
height: 60px;
border: 1px solid rgba(253,231,207,1);
border-radius: 20px;
}
// &-item:nth-child(odd) {
// background-color: #830e13;
// border-radius: 20px;
// }
&-avatar {
width: 30px;
height: 30px;
......@@ -206,7 +205,7 @@ $good-color: #ffd2b2;
.ranking-bg {
width: 26px;
height: 26px;
background-color: #bf1c20;
background-color: #DF9866;
border-radius: 50%;
}
.ranking-number {
......@@ -214,6 +213,7 @@ $good-color: #ffd2b2;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #fff;
}
.bg-top-box {
height: 1060px;
......@@ -222,97 +222,9 @@ $good-color: #ffd2b2;
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 {
.icon-bottom {
position: absolute;
bottom: 0;
height: 150px;
width: 100%;
img {
width: 100%;
height: 100%;
}
height: 115px;
}
\ No newline at end of file
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-10-10 10:54:14
* @LastEditors: huyue
* @LastEditTime: 2023-02-09 14:57:03
* @LastEditTime: 2023-02-08 15:31:08
*/
import HelloWorld from 'comps/HelloWorld.vue'
......
......@@ -3,140 +3,153 @@
* @Author: huyue
* @Date: 2022-10-10 15:26:23
* @LastEditors: huyue
* @LastEditTime: 2023-02-07 15:33:05
* @LastEditTime: 2023-02-10 16:25:18
-->
<template>
<div class="bg-top-box">
<img class="bg-top" :src="getImageUrl('bg-top')" alt="" />
<div class="product-box x-center">
<div class="product-name">
<img
class="icon-left product-icon"
:src="getImageUrl('icon-left')"
alt=""
/>
<div>{{ data.storeInfo!.goodsName }}</div>
<img
class="icon-right product-icon"
:src="getImageUrl('icon-right')"
alt=""
/>
<div class="wrapper-good">
<div class="banner">
<img src="@/assets/images/goodNews/banner.png" alt="" />
<div class="header-box">
<div class="acitvity-box">
<div class="activity-name">活动名称活动名称活动名称活动名称活动</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 class="user-box">
<img class="user-avatar" :src="getImageUrl('icon-avatar')" alt="" />
<div class="user-info">
售后部
<div class="user-name">曾祥集</div>
为团队助力
</div>
<div class="user-order">
第
<div class="order-value">68</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 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 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>
</template>
</div>
</div>
</div>
</div>
<div class="sales x-center">
<div>第</div>
<div class="number">{{ data.storeInfo!.orderCount }}</div>
<div>单</div>
</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 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>360全景影像系统</div>
<div class="wrapper-content">
<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 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-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 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">
<img
class="table-avatar"
:src="item.avator || getImageUrl('icon-avatar')"
alt=""
/>
<span class="ranking-bg"></span>
<span class="ranking-number">{{ index + 1 }}</span>
</div>
<div class="table-td">{{ item.department }}</div>
<div class="table-td">{{ item.name }}</div>
<div class="table-td sales-number">{{ item.orderCount }}</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>
<div class="wrapper-footer">
<img src="@/assets/images/goodNews/ranking-footer.png" alt="" />
</div>
</div>
<div class="bg-footer">
<img
class="left-footer"
src="@/assets/images/goodNews/left-footer.jpg"
alt=""
/>
<img
class="right-footer"
src="@/assets/images/goodNews/right-footer.png"
alt=""
/>
</div>
</div>
</div>
<div class="long-ribbon">
<img src="@/assets/images/goodNews/long-ribbon.png" alt="" />
</div>
<div class="left-ribbon">
<img :src="getImageUrl('left-ribbon')" alt="" />
</div>
<div class="right-ribbon">
<img :src="getImageUrl('right-ribbon')" alt="" />
</div>
<div class="bottom-ribbon">
<img src="@/assets/images/goodNews/bottom-ribbon.png" alt="" />
</div>
<div class="logo x-center">
<img :src="getImageUrl('logo', 'common')" alt="" />
<img
class="icon-bottom"
src="@/assets/images/goodNews/icon-bottom.png"
alt=""
/>
</div>
</template>
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-10-11 17:41:38
* @LastEditors: huyue
* @LastEditTime: 2023-02-07 13:57:19
* @LastEditTime: 2023-02-10 16:37:10
-->
<template>
<div v-show="!data.loading">
......@@ -614,6 +614,268 @@
<img :src="getImageUrl('box-footer')" alt="" />
</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="code-bg">
......@@ -634,7 +896,7 @@
</template>
<script lang="ts" setup>
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 { DataInfo, Params, series } from "./activitingInterface";
import util from "../../utils/util";
......
......@@ -5,7 +5,7 @@ import exp from "constants";
* @Author: huyue
* @Date: 2022-11-16 18:25:15
* @LastEditors: huyue
* @LastEditTime: 2023-02-06 17:12:00
* @LastEditTime: 2023-02-13 15:18:21
*/
export interface Params {
activityId?: number | string;
......@@ -76,6 +76,7 @@ export interface Header {
}
export interface DataInfo {
currentValue: string
colorList: string[]
seriesRankColor: string[]
widthList: number[]
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-10-10 15:26:23
* @LastEditors: huyue
* @LastEditTime: 2023-02-07 17:41:50
* @LastEditTime: 2023-02-09 18:09:16
-->
<template>
<div class="bg-top-box">
......@@ -60,7 +60,6 @@
<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-header">
......@@ -174,5 +173,5 @@ onMounted(() => {
});
</script>
<style lang="scss" scoped>
@import "src/assets/styles/goodNews.scss";
@import "src/assets/styles/goldNews.scss";
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!