Commit af9925be by 胡悦

修改样式

1 parent 6e5d2aa7
...@@ -148,38 +148,42 @@ ...@@ -148,38 +148,42 @@
} }
.mold-tips { .mold-tips {
padding: 0 20px 0; padding: 0 22px 0 38px;
font-weight: 500; font-weight: 500;
font-size: 28px; font-size: 26px;
color: #CD5D26; color: #CD5D26;
text-align: left; text-align: left;
margin-top: 40px;
}
.qr-box {
display: flex;
margin-right: 80px;
}
.qr-left {
flex: 1;
} }
.qr-code { .qr-code {
width: 300px; width: 228px;
height: 300px; height: 228px;
margin: 24px auto;
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
} }
.code-tips { .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-weight: 500;
font-size: 24px; font-size: 24px;
color: #CD5D26; color: #944213;
text-align: center; text-align: left;
margin-bottom: 70px; margin-bottom: 70px;
padding: 0 22px 0 38px;
margin-top: 28px;
} }
} }
.wrapper-box { .wrapper-box {
position: relative; position: relative;
padding-bottom: 107px; padding-bottom: 184px;
} }
.logo { .logo {
position: absolute; position: absolute;
...@@ -189,14 +193,12 @@ ...@@ -189,14 +193,12 @@
} }
.morning-footer { .morning-footer {
position: absolute; position: absolute;
bottom: 33px; bottom: 39px;
width: 100%; width: 100%;
height: 126px; height: 126px;
} }
.ribbon { .ribbon {
position: absolute; margin-top: -90px;
top: 178px;
left: 0;
width: 100%; width: 100%;
height: 122px; height: 122px;
} }
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-10-10 10:54:14 * @Date: 2022-10-10 10:54:14
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-04-06 14:20:58 * @LastEditTime: 2023-04-07 14:23:47
*/ */
const fetchConfig1 = function (isEnv = true) { 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('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('https://oss-config.test.glsx.com.cn/mock/618cb9331072f92988f05a23/wx/djposter-config', {}).then(res => res.json())
} }
// const $mockConfig = await fetchConfig() // const $mockConfig = await fetchConfig()
export default fetchConfig1 export default fetchConfig1
\ 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: 2023-04-03 14:13:32 * @Date: 2023-04-03 14:13:32
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-04-06 17:11:00 * @LastEditTime: 2023-04-07 14:23:38
--> -->
<template> <template>
<div class="wrapper-box"> <div class="wrapper-box">
...@@ -125,22 +125,20 @@ ...@@ -125,22 +125,20 @@
</div> </div>
</div> </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="" /> <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> </div>
<img class="icon-ribbon" :src="getImageUrl('icon-ribbon')" alt="" /> <img class="icon-ribbon" :src="getImageUrl('icon-ribbon')" alt="" />
<img class="logo" :src="getImageUrl('logo')" alt="" /> <img class="logo" :src="getImageUrl('logo')" alt="" />
...@@ -160,6 +158,7 @@ const data = reactive<Partial<DataInfo>>({ ...@@ -160,6 +158,7 @@ const data = reactive<Partial<DataInfo>>({
posterInfo: { posterInfo: {
customerInvitationList: [], customerInvitationList: [],
monthlyOrderMoneyTotalGrowth: 0, monthlyOrderMoneyTotalGrowth: 0,
waitToInviteNum: 0,
}, },
}); });
const getInfo = async () => { const getInfo = async () => {
......
...@@ -13,7 +13,7 @@ export interface PosterInfo { ...@@ -13,7 +13,7 @@ export interface PosterInfo {
yesterdayInvitationNum?: number; yesterdayInvitationNum?: number;
monthlyOrderMoneyTotalGrowth: number; monthlyOrderMoneyTotalGrowth: number;
monthAveragePrice?: number; monthAveragePrice?: number;
waitToInviteNum?: number; waitToInviteNum: number;
monthlyUpgradeRate?: number; monthlyUpgradeRate?: number;
yesterdayDate?: string; yesterdayDate?: string;
yesterdayOrderMoneyTotal?: number; yesterdayOrderMoneyTotal?: number;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!