Commit f8f08e63 by 前端

Merge branch 'saas+v4.20.0' into 'master'

合并Saas+v4.20.0

See merge request !33
2 parents 2626469e 8b4f0b73
......@@ -3,22 +3,10 @@
width: 100%;
height: 328px;
text-align: center;
margin-bottom: 74px;
img {
width: 100%;
height: 100%;
}
.service-merchant {
display: inline-block;
line-height: 42px;
height: 42px;
background: #F13E00;
border-radius: 22px;
font-weight: 500;
font-size: 24px;
color: #FFC4A2;
padding: 4px 36px;
}
.header-time {
position: absolute;
right: 40px;
......@@ -39,6 +27,7 @@
background-image: linear-gradient(180deg, #FDECD2 1%, #FFE6C2 99%);
box-shadow: 0 10px 16px 4px #e5361099, inset 2px 2px 10px 0 #FFFFFF;
border-radius: 32px;
padding: 0 14px;
.title-name {
width: 280px;
height: 56px;
......@@ -47,6 +36,7 @@
position: relative;
width: 100%;
text-align: center;
margin-bottom: 18px;
.merchant-img {
width: 617px;
height: 56px;
......@@ -60,7 +50,7 @@
font-size: 28px;
color: #944213;
&.name {
width: 560px;
width: 100%;
}
}
}
......@@ -68,7 +58,7 @@
display: flex;
width: 100%;
box-sizing: border-box;
padding: 50px 14px 0;
padding: 10px 0 36px;
&:last-child {
padding-bottom: 50px;
}
......@@ -112,6 +102,12 @@
}
}
}
.mold-border {
margin-bottom: 18px;
border-bottom: 3px dashed #F0CBB9;
background: linear-gradient(white, white) padding-box,
repeating-linear-gradient(-45deg,#F0CBB9 0, #F0CBB9 0.5em, white 0, white 0.75em);
}
.mold-follow {
margin: 40px 16px 32px;
width: calc(100% - 72px);
......@@ -220,7 +216,7 @@
}
.icon-ribbon {
position: absolute;
top: 870px;
top: 1180px;
right: 20px;
width: 200px;
height: 116px;
......
......@@ -129,6 +129,15 @@
font-size: 92px;
color: #FC4614;
}
.sun-money {
position: absolute;
bottom: 98px;
text-align: center;
width: 100%;
font-weight: 600;
font-size: 24px;
color: #FC4614;
}
.time {
position: absolute;
bottom: 40px;
......@@ -145,6 +154,7 @@
background-image: linear-gradient(90deg, #FFB887 0%, #FFDDC0 30%, #FFDCB0 100%);
.customer-item {
display: flex;
align-items: baseline;
width: 100%;
line-height: 34px;
font-weight: 400;
......@@ -153,7 +163,7 @@
margin-bottom: 0;
}
.label {
width: 96px;
width: 100px;
font-size: 24px;
color: #AC603B;
}
......@@ -162,6 +172,24 @@
margin-left: 52px;
font-size: 24px;
color: #3B0000;
opacity: 0.72;
.shop-name {
display: flex;
align-items: baseline;
.icon-star {
display: inline-block;
font-size: 24px;
color: #3B0000;
margin-right: 5px;
}
.name {
display: inline-block;
font-weight: 400;
font-size: 24px;
color: #3B0000;
line-height: 44px;
}
}
}
}
}
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-04-03 14:13:32
* @LastEditors: huyue
* @LastEditTime: 2023-04-19 16:03:21
* @LastEditTime: 2023-04-24 11:00:14
-->
<!--
* @Description:
......@@ -16,9 +16,6 @@
<div class="wrapper-box">
<div class="morning-header">
<img :src="getImageUrl('morning-header')" alt="" />
<div class="service-merchant">
{{ data.posterInfo!.partnerMerchantName }}
</div>
<div class="header-time">
数据生成时间为{{ data.posterInfo!.yesterdayDate }}
</div>
......@@ -38,21 +35,32 @@
</div>
</div>
<div class="mold-item">
<div class="item-title">昨日单量/单</div>
<div class="item-value">{{ data.posterInfo!.yesterdayOrderNum }}</div>
<div class="item-title">昨日升级/单</div>
<div class="item-value">
{{ data.posterInfo!.yesterdayOrderNum }}
</div>
</div>
<div class="mold-item">
<div class="item-title">日均客单价</div>
<div class="item-title">昨日战败/单</div>
<div class="item-value">
¥{{ data.posterInfo!.dailyAveragePrice }}
{{ data.posterInfo!.yesterdayNotUpgradeOrderNum }}
</div>
</div>
</div>
<div class="mold-content">
<div class="mold-item">
<div class="item-title">日均客单价</div>
<div class="item-value">
¥{{ data.posterInfo!.dailyAveragePrice }}
</div>
</div>
<div class="mold-item">
<div class="item-title">昨日转化率</div>
<div class="item-value">{{ data.posterInfo!.dailyUpgradeRate }}%</div>
</div>
</div>
<div class="mold-border"></div>
<div class="mold-content">
<div class="mold-item">
<div class="item-title">月累计营业额/元</div>
<div class="item-value">
......@@ -60,17 +68,19 @@
</div>
</div>
<div class="mold-item">
<div class="item-title">月累计单量/单</div>
<div class="item-value">{{ data.posterInfo!.monthlyOrderNum }}</div>
<div class="item-title">月累计升级/单</div>
<div class="item-value">
{{ data.posterInfo!.monthlyOrderNum }}
</div>
</div>
</div>
<div class="mold-content">
<div class="mold-item">
<div class="item-title">月转化率</div>
<div class="item-title">月战败/单</div>
<div class="item-value">
{{ data.posterInfo!.monthlyUpgradeRate }}%
{{ data.posterInfo!.monthlyNotUpgradeOrderNum }}
</div>
</div>
</div>
<div class="mold-content">
<div class="mold-item">
<div class="item-title">月均客户价</div>
<div class="item-value">
......@@ -78,6 +88,15 @@
</div>
</div>
<div class="mold-item">
<div class="item-title">月转化率</div>
<div class="item-value">
{{ data.posterInfo!.monthlyUpgradeRate }}%
</div>
</div>
</div>
<div class="mold-border"></div>
<div class="mold-content">
<div class="mold-item">
<div class="item-title">环比上月同期产值</div>
<div class="item-value">
<template v-if="data.posterInfo!.monthlyOrderMoneyTotalGrowthExist">
......
/*
* @Description:
* @Author: huyue
* @Date: 2023-04-19 11:48:06
* @LastEditors: huyue
* @LastEditTime: 2023-04-24 10:20:43
*/
export interface Params {
merchantId?: number | string;
}
......@@ -23,6 +30,8 @@ export interface PosterInfo {
yesterdayCouponNum?: number;
partnerMerchantName?: string;
monthlyOrderMoneyTotalGrowthExist?: boolean;
yesterdayNotUpgradeOrderNum?: number;
monthlyNotUpgradeOrderNum?: number;
}
export interface CustomerList {
......
......@@ -37,6 +37,9 @@
}}
</div>
<div class="price-number">{{ data.newsInfo!.totalPrice }}元</div>
<div class="sun-money" v-if="data.newsInfo!.sunshineInspiration">
阳光激励:¥{{ data.newsInfo!.sunshineInspiration }}
</div>
<div class="time">- 开单时间 {{ data.newsInfo!.orderTime }} -</div>
</div>
<div class="customer-info">
......@@ -52,6 +55,19 @@
{{ data.newsInfo!.carSeriesName }}
</div>
</div>
<div class="customer-item">
<div class="label">开单商品</div>
<div class="value">
<div
class="shop-name"
v-for="item in data.newsInfo!.goodsNames"
:key="item"
>
<div class="icon-star">*</div>
<div class="name">{{ item }}</div>
</div>
</div>
</div>
</div>
<div class="tips-text">感谢您前期的铺垫和大力支持,加油!</div>
<div class="logo">
......@@ -70,18 +86,6 @@ const route = useRoute();
// 获取全局对象
const global: any = inject("global");
let query: Params = {};
const numberObj = {
0: 0,
2: "二",
3: "三",
4: "四",
5: "五",
6: "六",
7: "七",
8: "八",
9: "九",
10: "十",
};
const data = reactive<Partial<DataInfo>>({
newsInfo: <NewsInfo>{
staff: <StaffInfo>{},
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-03-23 10:48:13
* @LastEditors: huyue
* @LastEditTime: 2023-04-06 11:13:36
* @LastEditTime: 2023-04-21 16:47:24
*/
export interface Params {
orderCode?: string;
......@@ -24,6 +24,8 @@ export interface NewsInfo {
merchantName?: string;
carSeriesName?: string;
orderTime?: string;
sunshineInspiration?: string;
goodsNames?: string[];
}
export interface StaffInfo {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!