Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
2
20250310_人保春游
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
20250310_人保春游
Commits
e2a7f21d
Commit
e2a7f21d
authored
Mar 12, 2025
by
俞嘉婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 我的奖品页
parent
0b9cd985
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
55 additions
and
34 deletions
+55
-34
prize.js
mock/project/prize.js
+1
-0
bg.png
src/assets/PrizePage/bg.png
+0
-0
bg2.png
src/assets/PrizePage/bg2.png
+0
-0
empty.png
src/assets/PrizePage/empty.png
+0
-0
stick.png
src/assets/PrizePage/stick.png
+0
-0
prizepage.jsx
src/pages/prizepage/prizepage.jsx
+5
-2
prizepage.less
src/pages/prizepage/prizepage.less
+49
-32
No files found.
mock/project/prize.js
View file @
e2a7f21d
...
...
@@ -414,6 +414,7 @@ module.exports = {
"projectId"
:
"p8a32cdec"
},
],
// "records": [],
"success"
:
true
,
"nextPage"
:
false
,
"projectTabList"
:
[
...
...
src/assets/PrizePage/bg.png
View replaced file @
0b9cd985
View file @
e2a7f21d
249 KB
|
W:
|
H:
115 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/PrizePage/bg2.png
deleted
100644 → 0
View file @
0b9cd985
249 KB
src/assets/PrizePage/empty.png
0 → 100644
View file @
e2a7f21d
170 KB
src/assets/PrizePage/stick.png
deleted
100644 → 0
View file @
0b9cd985
148 Bytes
src/pages/prizepage/prizepage.jsx
View file @
e2a7f21d
...
...
@@ -16,7 +16,7 @@ import API from "../../api";
import
store
from
"../../store"
;
import
{
_throttle
,
dateFormatter
,
getUrlParam
,
isMiniprogram
}
from
"../../utils/utils"
;
import
shareStore
from
"@src/store/share"
;
// wzjTODO 换皮
@
observer
class
Prizepage
extends
React
.
Component
{
constructor
(
props
)
{
...
...
@@ -267,7 +267,10 @@ class Prizepage extends React.Component {
);
})
)
:
(
<
span
className=
"empty"
>
暂无数据
</
span
>
<
div
className=
"empty_wrap"
>
<
span
className=
"empty_img"
></
span
>
<
span
className=
"empty"
>
暂无数据
</
span
>
</
div
>
)
}
</
div
>
<
Button
className=
"back md43"
onClick=
{
this
.
back
}
></
Button
>
...
...
src/pages/prizepage/prizepage.less
View file @
e2a7f21d
...
...
@@ -24,7 +24,7 @@
left: 0px;
top: 0px;
position: absolute;
.sparkBg("PrizePage/bg
2
.png");
.sparkBg("PrizePage/bg.png");
}
.all_tab {
...
...
@@ -32,7 +32,7 @@
height: 80px;
position: absolute;
left: 40px;
top: 3
6
7px;
top: 3
4
7px;
overflow-x: auto;
display: flex;
flex-direction: row;
...
...
@@ -41,26 +41,26 @@
.tab_item {
width: 122px;
height:
8
0px;
height:
7
0px;
text-align: center;
left: 0;
top: 0;
position: relative;
margin-right: 40px;
flex-shrink: 0;
font-size:
30
px;
font-size:
29
px;
color: #fff;
font-weight: 700;
line-height:
8
0px;
line-height:
7
0px;
.lineClamp1();
.stick {
position: absolute;
left:
0
px;
top:
7
0px;
width:
121
px;
height:
4
px;
.sparkBg("PrizePage/stick.png"
);
left:
31
px;
top:
6
0px;
width:
59
px;
height:
5
px;
background-color: rgb(255, 255, 254
);
}
}
...
...
@@ -73,9 +73,9 @@
.list {
width: 683px;
height: calc(50vh + 3
0
0px);
height: calc(50vh + 3
4
0px);
left: 31px;
top: 4
8
3px;
top: 4
4
3px;
// bottom: 20px;
position: absolute;
overflow-y: scroll;
...
...
@@ -98,22 +98,22 @@
}
.img {
width: 11
0
px;
height: 11
0
px;
width: 11
2
px;
height: 11
2
px;
left: 26px;
top:
24
px;
top:
19
px;
position: absolute;
// border: 1px solid #e5c362;
border-radius: 1
5
px;
border-radius: 1
0
px;
}
.name {
width: 350px;
// height: 28px;
left: 160px;
top: 2
4
px;
top: 2
0
px;
position: absolute;
font-size:
30
px;
font-size:
26
px;
// line-height: 28px;
color: #262626;
.lineClamp1();
...
...
@@ -162,25 +162,42 @@
.sparkBg("PrizePage/gray_btn.png");
}
}
.empty {
width: 100%
;
height: 3
0px;
line-height: 3
0px;
top: 300
px;
.empty
_wrap
{
left: 44px
;
top: 11
0px;
width: 60
0px;
height: 378
px;
position: absolute;
left: 0;
text-align: center;
font-size: 30px;
color: #fff5d3;
.empty_img {
opacity: 0.569;
left: 0px;
top: 0px;
width: 600px;
height: 378px;
position: absolute;
.sparkBg("PrizePage/empty.png");
}
.empty {
width: 100%;
font-weight: bold;
height: 30px;
line-height: 30px;
top: 360px;
position: absolute;
left: 0;
text-align: center;
font-size: 30px;
color: rgb(70, 136, 22);
}
}
}
.back {
left:
29
px;
top: 2
62
px;
width: 5
8
px;
height: 5
8
px;
left:
31
px;
top: 2
43
px;
width: 5
6
px;
height: 5
6
px;
transform-origin: left center;
position: absolute;
.sparkBg("PrizePage/back.png");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment