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 d7d2c0b7
authored
Aug 09, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交权益喜报
1 parent
6d82a1e2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
11 deletions
src/assets/styles/dj/warReport.scss
src/assets/styles/equity/goodNews.scss
src/views/equity/goodNews.vue
src/views/equity/interface/goodNew.ts
src/assets/styles/dj/warReport.scss
View file @
d7d2c0b
...
...
@@ -11,13 +11,13 @@
.header-time
{
position
:
absolute
;
right
:
0
;
top
:
3
0px
;
padding
:
3px
16
px
;
height
:
22
px
;
line-height
:
22
px
;
top
:
6
0px
;
padding
:
6px
32
px
;
height
:
44
px
;
line-height
:
44
px
;
background-image
:
linear-gradient
(
90deg
,
#F95A2E
0%
,
#F97E2E
100%
);
border-radius
:
12px
0
0
12
px
;
font-size
:
11
px
;
border-radius
:
24px
0
0
24
px
;
font-size
:
22
px
;
color
:
#FFFFFF
;
}
.service-name
{
...
...
src/assets/styles/equity/goodNews.scss
View file @
d7d2c0b
...
...
@@ -28,7 +28,7 @@
width
:
calc
(
100%
-
34px
);
padding
:
20px
17px
;
border-radius
:
10px
;
background
:
linear-gradient
(
-180deg
,
rgba
(
255
,
249
,
235
,
100
)
,
rgba
(
255
,
240
,
196
,
100
))
;
background
:
#FFF9EA
;
.title
{
width
:
100%
;
text-align
:
center
;
...
...
@@ -43,7 +43,7 @@
.order-list
{
margin
:
20px
;
border-radius
:
10px
10px
10px
10px
;
background
:
linear-gradient
(
0deg
,
#ffe9c8
ff
,
#fff3e0
ff
)
;
background
:
#FFEFDB
;
padding
:
40px
;
.order-item
{
display
:
flex
;
...
...
@@ -77,5 +77,46 @@
}
}
}
.goods
{
margin
:
20px
;
&
-title
{
background
:
#FFEFDB
;
border-radius
:
10px
10px
0
0
;
font-size
:
22px
;
color
:
#3A3A3A
;
line-height
:
32px
;
padding
:
10px
24px
;
}
&
-list
{
padding
:
24px
40px
;
font-size
:
22px
;
color
:
#3A3A3A
;
line-height
:
32px
;
background
:
#FFE6CC
;
border-radius
:
0
0
10px
10px
;
}
&
-item
{
display
:
flex
;
justify-content
:
space-between
;
margin-bottom
:
12px
;
&
:last-child
{
margin-bottom
:
0
;
}
}
&
-name
{
max-width
:
361px
;
}
&
-price
{
font-weight
:
500
;
font-size
:
24px
;
color
:
#F2383B
;
font-weight
:
600
;
}
&
-unit
{
display
:
inline-block
;
margin-left
:
6px
;
font-weight
:
normal
;
}
}
}
}
src/views/equity/goodNews.vue
View file @
d7d2c0b
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-10-10 15:26:23
* @LastEditors: huyue
* @LastEditTime: 2023-0
5-24 15:07:55
* @LastEditTime: 2023-0
8-08 17:54:26
-->
<
template
>
<div
class=
"wrapper-good equity-box"
>
...
...
@@ -71,6 +71,15 @@
<div
class=
"order-value"
><span>
{{
data
.
newInfo
!
.
monthTurnover
?.
toLocaleString
()
}}
</span><span
class=
"order-unit"
>
元
</span></div>
</div>
</div>
<div
class=
"goods"
>
<div
class=
"goods-title"
>
升级商品
</div>
<div
class=
"goods-list"
>
<div
class=
"goods-item"
v-for=
"(item, index) in data.newInfo!.goodsInfoDTOList"
:key=
"index"
>
<div
class=
"goods-name"
>
{{
item
.
goodsName
.
toLocaleString
()
}}
</div>
<div
class=
"goods-price"
>
{{
item
.
goodsPrice
.
toLocaleString
()
}}
<span
class=
"goods-unit"
>
元
</span></div>
</div>
</div>
</div>
</div>
</div>
<img
class=
"icon-bottom"
:src=
"getImageUrl('icon-bottom')"
alt=
""
/>
...
...
@@ -82,6 +91,7 @@
import
{
reactive
,
onMounted
,
inject
}
from
"vue"
;
import
{
djReq
}
from
"../../utils/request"
;
import
{
useRoute
}
from
"vue-router"
;
import
common
from
"../../utils/common"
import
{
DataInfo
,
Params
}
from
"./interface/goodNew"
;
const
route
=
useRoute
();
...
...
@@ -90,7 +100,9 @@ const global: any = inject("global");
let
query
:
Params
=
{};
const
data
=
reactive
<
Partial
<
DataInfo
>>
({
newInfo
:
{},
newInfo
:
{
goodsInfoDTOList
:
[]
},
});
const
getInfo
=
async
()
=>
{
...
...
src/views/equity/interface/goodNew.ts
View file @
d7d2c0b
...
...
@@ -31,4 +31,10 @@ export interface NewsData {
referrerWeChatAvatar
?:
string
;
referrer
?:
string
;
reportName
?:
string
;
}
\ No newline at end of file
goodsInfoDTOList
:
GoodsInfo
[];
}
interface
GoodsInfo
{
goodsName
:
string
;
goodsPrice
:
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