Commit af9925be by 胡悦

修改样式

1 parent 6e5d2aa7
......@@ -148,38 +148,42 @@
}
.mold-tips {
padding: 0 20px 0;
padding: 0 22px 0 38px;
font-weight: 500;
font-size: 28px;
font-size: 26px;
color: #CD5D26;
text-align: left;
margin-top: 40px;
}
.qr-box {
display: flex;
margin-right: 80px;
}
.qr-left {
flex: 1;
}
.qr-code {
width: 300px;
height: 300px;
margin: 24px auto;
width: 228px;
height: 228px;
img {
width: 100%;
height: 100%;
}
}
.code-tips {
display: inline-block;
width: 282px;
height: 44px;
line-height: 44px;
background-image: linear-gradient(180deg, #FFDCB5 0%, #FED3BE 100%);
border-radius: 8px;
font-weight: 500;
font-size: 24px;
color: #CD5D26;
text-align: center;
color: #944213;
text-align: left;
margin-bottom: 70px;
padding: 0 22px 0 38px;
margin-top: 28px;
}
}
.wrapper-box {
position: relative;
padding-bottom: 107px;
padding-bottom: 184px;
}
.logo {
position: absolute;
......@@ -189,14 +193,12 @@
}
.morning-footer {
position: absolute;
bottom: 33px;
bottom: 39px;
width: 100%;
height: 126px;
}
.ribbon {
position: absolute;
top: 178px;
left: 0;
margin-top: -90px;
width: 100%;
height: 122px;
}
......
......@@ -3,11 +3,11 @@
* @Author: huyue
* @Date: 2022-10-10 10:54:14
* @LastEditors: huyue
* @LastEditTime: 2023-04-06 14:20:58
* @LastEditTime: 2023-04-07 14:23:47
*/
const fetchConfig1 = function (isEnv = true) {
return window.fetch('http://oss-config.dev.glsx.com.cn/mock/618cb9331072f92988f05a23/wx/djposter-config', {}).then(res => res.json())
// return window.fetch('https://oss-config.test.glsx.com.cn/mock/618cb9331072f92988f05a23/wx/djposter-config', {}).then(res => res.json())
// return window.fetch('http://oss-config.dev.glsx.com.cn/mock/618cb9331072f92988f05a23/wx/djposter-config', {}).then(res => res.json())
return window.fetch('https://oss-config.test.glsx.com.cn/mock/618cb9331072f92988f05a23/wx/djposter-config', {}).then(res => res.json())
}
// const $mockConfig = await fetchConfig()
export default fetchConfig1
\ No newline at end of file
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-04-03 14:13:32
* @LastEditors: huyue
* @LastEditTime: 2023-04-06 17:11:00
* @LastEditTime: 2023-04-07 14:23:38
-->
<template>
<div class="wrapper-box">
......@@ -125,22 +125,20 @@
</div>
</div>
</div>
<div class="mold-tips">
截止目前待跟进预约单客户档案有{{
data.posterInfo!.waitToInviteNum
}}个,请尽快处理!
</div>
</div>
<div class="mold-box">
<div class="mold-title">
<img class="title-name" :src="getImageUrl('title-name')" alt="" />
<div class="merchant-name">小程序二维码</div>
</div>
<div class="qr-code">
<img src="@/assets/images/dj/qr-code.jpg" alt="" />
</div>
<img class="ribbon" :src="getImageUrl('ribbon')" alt="" />
<div class="code-tips">扫码进入小程序</div>
<div class="qr-box" v-if="data.posterInfo!.waitToInviteNum > 0">
<div class="qr-left">
<div class="mold-tips">
截止目前待跟进预约单客户档案有{{
data.posterInfo!.waitToInviteNum
}}个,请尽快处理!
</div>
<div class="code-tips">扫码进入小程序>></div>
</div>
<div class="qr-code">
<img :src="getImageUrl('qr-code')" alt="" />
</div>
</div>
</div>
<img class="icon-ribbon" :src="getImageUrl('icon-ribbon')" alt="" />
<img class="logo" :src="getImageUrl('logo')" alt="" />
......@@ -160,6 +158,7 @@ const data = reactive<Partial<DataInfo>>({
posterInfo: {
customerInvitationList: [],
monthlyOrderMoneyTotalGrowth: 0,
waitToInviteNum: 0,
},
});
const getInfo = async () => {
......
......@@ -13,7 +13,7 @@ export interface PosterInfo {
yesterdayInvitationNum?: number;
monthlyOrderMoneyTotalGrowth: number;
monthAveragePrice?: number;
waitToInviteNum?: number;
waitToInviteNum: number;
monthlyUpgradeRate?: number;
yesterdayDate?: string;
yesterdayOrderMoneyTotal?: number;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!