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 414a4767
authored
Feb 14, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
众筹战报
1 parent
7e84ec16
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
85 deletions
src/assets/styles/goodNews.scss
src/views/crowdfunding/goodNews.vue
src/views/crowdfunding/interface.ts
src/views/dj/goodNews.vue
src/assets/styles/goodNews.scss
View file @
414a476
...
@@ -14,14 +14,14 @@ $good-color: #ffd2b2;
...
@@ -14,14 +14,14 @@ $good-color: #ffd2b2;
height
:
688px
;
height
:
688px
;
}
}
.header-box
{
.header-box
{
width
:
100%
;
position
:
absolute
;
position
:
absolute
;
top
:
275px
;
top
:
275px
;
left
:
50%
;
left
:
50%
;
width
:
100%
;
transform
:
translateX
(
-50%
);
text-align
:
center
;
.acitvity-box
{
.acitvity-box
{
display
:
inline-block
;
display
:
inline-block
;
transform
:
translateX
(
-50%
);
// width: 100%;
font-size
:
26px
;
font-size
:
26px
;
padding
:
6px
30px
;
padding
:
6px
30px
;
color
:
#FEEACE
;
color
:
#FEEACE
;
...
@@ -36,8 +36,7 @@ $good-color: #ffd2b2;
...
@@ -36,8 +36,7 @@ $good-color: #ffd2b2;
}
}
}
}
.merchant-name
{
.merchant-name
{
display
:
inline-block
;
text-align
:
center
;
transform
:
translateX
(
-50%
);
font-size
:
22px
;
font-size
:
22px
;
color
:
#F7432B
;
color
:
#F7432B
;
margin-top
:
14px
;
margin-top
:
14px
;
...
@@ -57,6 +56,7 @@ $good-color: #ffd2b2;
...
@@ -57,6 +56,7 @@ $good-color: #ffd2b2;
position
:
absolute
;
position
:
absolute
;
width
:
160px
;
width
:
160px
;
height
:
160px
;
height
:
160px
;
border-radius
:
50%
;
top
:
216px
;
top
:
216px
;
left
:
50%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
...
...
src/views/crowdfunding/goodNews.vue
View file @
414a476
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2022-10-10 15:26:23
* @Date: 2022-10-10 15:26:23
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2023-02-1
0 16:25:18
* @LastEditTime: 2023-02-1
3 18:30:52
-->
-->
<
template
>
<
template
>
<div
class=
"wrapper-good"
>
<div
class=
"wrapper-good"
>
...
@@ -11,25 +11,35 @@
...
@@ -11,25 +11,35 @@
<img
src=
"@/assets/images/goodNews/banner.png"
alt=
""
/>
<img
src=
"@/assets/images/goodNews/banner.png"
alt=
""
/>
<div
class=
"header-box"
>
<div
class=
"header-box"
>
<div
class=
"acitvity-box"
>
<div
class=
"acitvity-box"
>
<div
class=
"activity-name"
>
活动名称活动名称活动名称活动名称活动
</div>
<div
class=
"activity-name"
>
{{
data
.
storeInfo
!
.
activityName
}}
</div>
</div>
</div>
<div
class=
"merchant-name"
>
深圳鹏峰本田深圳鹏峰本田
</div>
<div
class=
"merchant-name"
>
{{
data
.
storeInfo
!
.
merchantName
}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"user-box"
>
<div
class=
"user-box"
>
<img
class=
"user-avatar"
:src=
"getImageUrl('icon-avatar')"
alt=
""
/>
<img
class=
"user-avatar"
:src=
"data.storeInfo!.avatar || getImageUrl('icon-avatar')"
alt=
""
/>
<div
class=
"user-info"
>
<div
class=
"user-info"
>
售后部
<span
v-if=
"data.storeInfo!.type == 2"
>
{{
<div
class=
"user-name"
>
曾祥集
</div>
data
.
storeInfo
!
.
department
}}
</span>
<div
class=
"user-name"
>
{{
data
.
storeInfo
!
.
name
}}
</div>
为团队助力
为团队助力
</div>
</div>
<div
class=
"user-order"
>
<div
class=
"user-order"
>
第
第
<div
class=
"order-value"
>
68
</div>
<div
class=
"order-value"
>
{{
data
.
storeInfo
!
.
orderCount
}}
</div>
单
单
</div>
</div>
</div>
</div>
<div
class=
"ranking-box"
>
<div
class=
"ranking-box"
v-for=
"(i, ind) in data.storeInfo!.orderRankList"
:key=
"ind"
>
<div
class=
"ranking-list"
>
<div
class=
"ranking-list"
>
<div
class=
"shop-title"
>
<div
class=
"shop-title"
>
<img
<img
...
@@ -37,7 +47,7 @@
...
@@ -37,7 +47,7 @@
src=
"@/assets/images/goodNews/icon-title.png"
src=
"@/assets/images/goodNews/icon-title.png"
alt=
""
alt=
""
/>
/>
<div
class=
"shop-name"
>
360全景影像系统
</div>
<div
class=
"shop-name"
>
{{
i
.
goodsName
}}
</div>
<img
<img
class=
"icon-title"
class=
"icon-title"
src=
"@/assets/images/goodNews/icon-title.png"
src=
"@/assets/images/goodNews/icon-title.png"
...
@@ -53,11 +63,7 @@
...
@@ -53,11 +63,7 @@
<div
class=
"table-th"
>
单量
</div>
<div
class=
"table-th"
>
单量
</div>
</div>
</div>
<div
class=
"table-body"
>
<div
class=
"table-body"
>
<div
<div
class=
"table-item"
v-for=
"(j, index) in i.rank"
:key=
"index"
>
class=
"table-item"
v-for=
"(item, index) in data.storeInfo!.orderRankList"
:key=
"index"
>
<template
v-if=
"index
< 3
"
>
<template
v-if=
"index
< 3
"
>
<div
class=
"table-td first-ranking"
>
<div
class=
"table-td first-ranking"
>
<img
:src=
"getImageUrl(data.medals![index])"
alt=
""
/>
<img
:src=
"getImageUrl(data.medals![index])"
alt=
""
/>
...
@@ -75,71 +81,13 @@
...
@@ -75,71 +81,13 @@
<div
class=
"table-td"
>
<div
class=
"table-td"
>
<img
<img
class=
"table-avatar"
class=
"table-avatar"
:src=
"
item
.avator || getImageUrl('icon-avatar')"
:src=
"
j
.avator || getImageUrl('icon-avatar')"
alt=
""
alt=
""
/>
/>
</div>
</div>
<div
class=
"table-td"
>
{{ item.department }}
</div>
<div
class=
"table-td"
>
{{ j.department }}
</div>
<div
class=
"table-td"
>
{{ item.name }}
</div>
<div
class=
"table-td"
>
{{ j.name }}
</div>
<div
class=
"table-td sales-number"
>
{{ item.orderCount }}
</div>
<div
class=
"table-td sales-number"
>
{{ j.orderCount }}
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"ranking-box"
>
<div
class=
"ranking-list"
>
<div
class=
"shop-title"
>
<img
class=
"icon-title"
src=
"@/assets/images/goodNews/icon-title.png"
alt=
""
/>
<div
class=
"shop-name"
>
360全景影像系统
</div>
<img
class=
"icon-title"
src=
"@/assets/images/goodNews/icon-title.png"
alt=
""
/>
</div>
<div
class=
"table-box ranking"
>
<div
class=
"table-header"
>
<div
class=
"table-th"
>
排名
</div>
<div
class=
"table-th"
>
头像
</div>
<div
class=
"table-th"
>
部门
</div>
<div
class=
"table-th"
>
姓名
</div>
<div
class=
"table-th"
>
单量
</div>
</div>
<div
class=
"table-body"
>
<div
class=
"table-item"
v-for=
"(item, index) in data.storeInfo!.orderRankList"
:key=
"index"
>
<
template
v-if=
"index < 3"
>
<div
class=
"table-td first-ranking"
>
<img
:src=
"getImageUrl(data.medals![index])"
alt=
""
/>
<span
class=
"ranking-number"
style=
"top: 44%"
>
{{
index
+
1
}}
</span>
</div>
</
template
>
<
template
v-else
>
<div
class=
"table-td"
>
<span
class=
"ranking-bg"
></span>
<span
class=
"ranking-number"
>
{{
index
+
1
}}
</span>
</div>
</
template
>
<div
class=
"table-td"
>
<img
class=
"table-avatar"
:src=
"item.avator || getImageUrl('icon-avatar')"
alt=
""
/>
</div>
<div
class=
"table-td"
>
{{ item.department }}
</div>
<div
class=
"table-td"
>
{{ item.name }}
</div>
<div
class=
"table-td sales-number"
>
{{ item.orderCount }}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/views/crowdfunding/interface.ts
View file @
414a476
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2022-11-16 18:18:59
* @Date: 2022-11-16 18:18:59
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 202
2-11-21 10:11:27
* @LastEditTime: 202
3-02-13 18:21:34
*/
*/
export
interface
OrderInfo
{
export
interface
OrderInfo
{
avator
:
string
;
avator
:
string
;
...
@@ -11,15 +11,20 @@ export interface OrderInfo {
...
@@ -11,15 +11,20 @@ export interface OrderInfo {
name
:
string
;
name
:
string
;
orderCount
:
number
;
orderCount
:
number
;
}
}
export
interface
OrderRank
{
goodsName
:
string
;
rank
:
OrderInfo
[]
}
export
interface
StoreInfo
{
export
interface
StoreInfo
{
merchantName
?:
string
;
merchantName
?:
string
;
goodsName
?:
string
;
goodsName
?:
string
;
orderCount
?:
string
;
orderCount
?:
string
;
name
?:
string
;
name
?:
string
;
orderRankList
?:
OrderInfo
[];
department
?:
string
;
department
?:
string
;
avatar
?:
string
;
avatar
?:
string
;
type
?:
number
;
type
?:
number
;
activityName
?:
string
;
orderRankList
:
OrderRank
[]
}
}
export
interface
DataInfo
{
export
interface
DataInfo
{
medals
:
string
[];
medals
:
string
[];
...
...
src/views/dj/goodNews.vue
View file @
414a476
...
@@ -3,14 +3,14 @@
...
@@ -3,14 +3,14 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-02-07 16:36:16
* @Date: 2023-02-07 16:36:16
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2023-02-13 1
7:19:27
* @LastEditTime: 2023-02-13 1
8:06:18
-->
-->
<
template
>
<
template
>
<div
class=
"wrapper-box"
>
<div
class=
"wrapper-box"
>
<div
class=
"header-box"
>
<div
class=
"header-box"
>
<img
class=
"header-bg"
src=
"@/assets/images/dj/header-bg.png"
alt=
""
/>
<img
class=
"header-bg"
src=
"@/assets/images/dj/header-bg.png"
alt=
""
/>
<img
class=
"time-bg"
src=
"@/assets/images/dj/time-bg.png"
alt=
""
/>
<img
class=
"time-bg"
src=
"@/assets/images/dj/time-bg.png"
alt=
""
/>
<div
class=
"time"
>
{{
data
.
reportInfo
.
time
}}
</div>
<div
class=
"time"
>
{{
data
.
reportInfo
!
.
time
}}
</div>
</div>
</div>
<div
class=
"content-box"
>
<div
class=
"content-box"
>
<img
class=
"reel"
src=
"@/assets/images/dj/reel.png"
alt=
""
/>
<img
class=
"reel"
src=
"@/assets/images/dj/reel.png"
alt=
""
/>
...
...
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