Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsx-posters
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit af9925be
authored
Apr 07, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
6e5d2aa7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
38 deletions
src/assets/styles/morning.scss
src/utils/config1.ts
src/views/dj/morning.vue
src/views/dj/morningInterface.ts
src/assets/styles/morning.scss
View file @
af9925b
...
...
@@ -148,38 +148,42 @@
}
.mold-tips
{
padding
:
0
2
0px
0
;
padding
:
0
2
2px
0
38px
;
font-weight
:
500
;
font-size
:
2
8
px
;
font-size
:
2
6
px
;
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
:
1
07
px
;
padding-bottom
:
1
84
px
;
}
.logo
{
position
:
absolute
;
...
...
@@ -189,14 +193,12 @@
}
.morning-footer
{
position
:
absolute
;
bottom
:
3
3
px
;
bottom
:
3
9
px
;
width
:
100%
;
height
:
126px
;
}
.ribbon
{
position
:
absolute
;
top
:
178px
;
left
:
0
;
margin-top
:
-90px
;
width
:
100%
;
height
:
122px
;
}
...
...
src/utils/config1.ts
View file @
af9925b
...
...
@@ -3,11 +3,11 @@
* @Author: huyue
* @Date: 2022-10-10 10:54:14
* @LastEditors: huyue
* @LastEditTime: 2023-04-0
6 14:20:58
* @LastEditTime: 2023-04-0
7 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
src/views/dj/morning.vue
View file @
af9925b
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-04-03 14:13:32
* @LastEditors: huyue
* @LastEditTime: 2023-04-0
6 17:11:00
* @LastEditTime: 2023-04-0
7 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
()
=>
{
...
...
src/views/dj/morningInterface.ts
View file @
af9925b
...
...
@@ -13,7 +13,7 @@ export interface PosterInfo {
yesterdayInvitationNum
?:
number
;
monthlyOrderMoneyTotalGrowth
:
number
;
monthAveragePrice
?:
number
;
waitToInviteNum
?
:
number
;
waitToInviteNum
:
number
;
monthlyUpgradeRate
?:
number
;
yesterdayDate
?:
string
;
yesterdayOrderMoneyTotal
?:
number
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment