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 33b2f22b
authored
Aug 20, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v4.43.1' into 'master'
上线合并 See merge request
!50
2 parents
f18ff1fa
29ae22cc
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
103 additions
and
8 deletions
src/assets/styles/equity/goodNews.scss
src/assets/styles/personalGoodNews.scss
src/views/dj/gladNews.vue
src/views/dj/interface.ts
src/views/dj/personalGoodNews.vue
src/views/dj/personalInterface.ts
src/assets/styles/equity/goodNews.scss
View file @
33b2f22
...
...
@@ -19,10 +19,11 @@
// 订单统计
.order-box
{
box-sizing
:
border-box
;
width
:
calc
(
100%
-
1
.333333rem
);
margin
:
0
.2rem
0
.666667rem
;
padding
:
0
.213333rem
;
border-radius
:
0
.133333rem
0
.133333rem
0
.133333rem
0
.133333rem
;
width
:
calc
(
100%
-
96px
);
margin
:
36px
48px
;
padding
:
18px
;
border-radius
:
12px
;
border
:
1px
solid
#FFD894
;
background
:
linear-gradient
(
-180deg
,
rgb
(
255
,
169
,
105
)
,
rgb
(
255
,
137
,
85
));
.order-side
{
width
:
calc
(
100%
-
34px
);
...
...
src/assets/styles/personalGoodNews.scss
View file @
33b2f22
...
...
@@ -153,6 +153,7 @@
padding
:
20px
50px
;
background-image
:
linear-gradient
(
90deg
,
#FFB887
0%
,
#FFDDC0
30%
,
#FFDCB0
100%
);
word-wrap
:
break-word
;
border-radius
:
8px
;
.customer-item
{
display
:
flex
;
align-items
:
baseline
;
...
...
@@ -177,6 +178,7 @@
.shop-name
{
display
:
flex
;
align-items
:
baseline
;
flex-direction
:
column
;
.icon-star
{
display
:
inline-block
;
font-size
:
24px
;
...
...
@@ -224,4 +226,31 @@
bottom
:
0
;
width
:
100%
;
height
:
170px
;
}
.store-title
{
position
:
relative
;
width
:
100%
;
text-align
:
center
;
font-weight
:
600
;
font-size
:
24px
;
color
:
#6E2714
;
img
{
position
:
absolute
;
left
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
width
:
556px
;
height
:
18px
;
}
}
.store-item
{
font-size
:
24px
;
color
:
#AC603B
;
margin-top
:
16px
;
.store-label
{
display
:
inline-flex
;
width
:
144px
;
margin-right
:
20px
;
font-size
:
24px
;
}
}
\ No newline at end of file
src/views/dj/gladNews.vue
View file @
33b2f22
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-10-10 15:26:23
* @LastEditors: huyue
* @LastEditTime: 202
3-06-12 10:32:03
* @LastEditTime: 202
4-08-09 14:53:21
-->
<
template
>
<div
class=
"wrapper-good"
>
...
...
@@ -51,6 +51,15 @@
<div
class=
"shop-name"
v-if=
"data.goodsSwitch"
>
<div
class=
"name-item"
v-for=
"(it, ind) in data.dataInfo!.packageGoodsList"
:key=
"ind"
>
<div
class=
"name-item"
>
{{
it
.
packageName
}}
</div>
<div
class=
"name-item"
v-for=
"(itm, indx) in it.packageGoodsOrderList"
:key=
"indx"
>
*
{{
itm
.
upgradeGoodsAlias
||
itm
.
upgradeGoodsName
}}
</div>
</div>
<div
class=
"name-item"
v-for=
"(i, ind) in data.dataInfo!.goodsNameList"
:key=
"ind"
>
...
...
src/views/dj/interface.ts
View file @
33b2f22
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-11-16 18:18:59
* @LastEditors: huyue
* @LastEditTime: 202
3-08-08 14:01:32
* @LastEditTime: 202
4-08-09 14:48:56
*/
export
interface
ReportData
{
time
?:
string
;
...
...
@@ -62,12 +62,22 @@ export interface GladDataInfo {
export
interface
GladData
{
rankList
?:
RankItem
[];
goodsNameList
?:
string
[];
packageGoodsList
?:
PackageGoods
[];
totalPrice
?:
number
;
merchantName
?:
string
;
staff
:
StaffData
;
merchantUpgradeCount
:
number
;
switchList
:
SwitchType
[];
}
export
interface
PackageGoods
{
packageCode
:
string
;
packageName
:
string
;
packageGoodsOrderList
:
PackageGoodsOrder
[];
}
export
interface
PackageGoodsOrder
{
upgradeGoodsAlias
:
string
;
upgradeGoodsName
:
string
;
}
export
interface
RankItem
{
staffName
:
string
;
staffJob
:
string
;
...
...
src/views/dj/personalGoodNews.vue
View file @
33b2f22
...
...
@@ -43,6 +43,21 @@
<
div
class
=
"time"
>-
开单时间
{{
data
.
newsInfo
!
.
orderTime
}}
-<
/div>
<
/div>
<
div
class
=
"customer-info"
>
<
div
class
=
"store-title"
>
门店数据汇总
<
img
class
=
"store-title"
:
src
=
"getImageUrl('store-title')"
alt
=
""
/>
<
/div>
<
div
class
=
"store-item"
><
span
class
=
"store-label"
>
今日单量
<
/span>{{ data.newsInfo!.todayUpgradeCount
}}
单</
div
>
<
div
class
=
"store-item"
><
span
class
=
"store-label"
>
今日产值
<
/span>{{ data.newsInfo!.todayOrderMoney
}}
元</
div
>
<
div
class
=
"store-item"
><
span
class
=
"store-label"
>
本月累计单量
<
/span>{{ data.newsInfo!.monthUpgradeCount
}}
单</
div
>
<
div
class
=
"store-item"
><
span
class
=
"store-label"
>
本月累计产值
<
/span>{{ data.newsInfo!.monthOrderMoney
}}
元</
div
>
<
div
><
/div>
<
/div>
<
div
class
=
"customer-info"
>
<
div
class
=
"customer-item"
>
<
div
class
=
"label"
>
客户姓名
<
/div>
<
div
class
=
"value"
>
{{
data
.
newsInfo
!
.
customerName
}}
<
/div>
...
...
@@ -60,16 +75,31 @@
<
div
class
=
"value"
>
<
div
class
=
"shop-name"
v
-
for
=
"(i, index) in data.newsInfo!.packageGoodsList"
:
key
=
"index"
>
<
div
class
=
"name"
>
{{
i
.
packageName
}}
<
/div>
<
div
v
-
for
=
"(it, idx) in i.packageGoodsOrderList"
:
key
=
"idx"
>
<
div
class
=
"icon-star"
>*<
/div>
<
div
class
=
"name"
>
{{
it
.
upgradeGoodsAlias
||
it
.
upgradeGoodsName
}}
<
/div>
<
/div>
<
/div>
<
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
v
-
if
=
"data.scriptSwitch"
class
=
"customer-info html-info"
v
-
html
=
"data.content"
><
/div>
<
div
class
=
"tips-text"
>
感谢您前期的铺垫和大力支持,加油!
<
/div>
<
div
class
=
"logo"
>
<
img
class
=
"red-logo"
:
src
=
"getImageUrl('logo')"
alt
=
""
/>
...
...
src/views/dj/personalInterface.ts
View file @
33b2f22
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-03-23 10:48:13
* @LastEditors: huyue
* @LastEditTime: 202
3-06-09 15:53:57
* @LastEditTime: 202
4-08-16 10:54:05
*/
export
interface
Params
{
orderCode
?:
string
;
...
...
@@ -32,8 +32,24 @@ export interface NewsInfo {
orderTime
?:
string
;
sunshineInspiration
?:
string
;
goodsNames
?:
string
[];
packageGoodsList
?:
PackageGoods
[];
channelType
?:
number
;
switchList
:
SwitchType
[];
todayUpgradeCount
:
number
;
todayOrderMoney
:
number
;
monthUpgradeCount
:
number
;
monthOrderMoney
:
number
;
}
export
interface
PackageGoods
{
packageCode
:
string
;
packageName
:
string
;
packageGoodsOrderList
:
PackageGoodsOrder
[];
}
export
interface
PackageGoodsOrder
{
upgradeGoodsAlias
:
string
;
upgradeGoodsName
:
string
;
}
export
interface
StaffInfo
{
...
...
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