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
e8df816a
Commit
e8df816a
authored
Mar 13, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
b75e0fdd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
38 deletions
+24
-38
home.js
mock/project/home.js
+1
-1
bg.png
src/assets/RankNoPrizePop/bg.png
+0
-0
btn.png
src/assets/RankNoPrizePop/btn.png
+0
-0
RankNoPrizePop.jsx
src/components/RankNoPrizePop/RankNoPrizePop.jsx
+4
-7
RankNoPrizePop.less
src/components/RankNoPrizePop/RankNoPrizePop.less
+19
-30
No files found.
mock/project/home.js
View file @
e8df816a
...
@@ -15,7 +15,7 @@ module.exports = {
...
@@ -15,7 +15,7 @@ module.exports = {
newAssistUser
:
0
,
newAssistUser
:
0
,
carvePop
:
false
,
carvePop
:
false
,
rankPopInfo
:
{
rankPopInfo
:
{
boolReward
:
tru
e
,
boolReward
:
fals
e
,
rank
:
1
,
rank
:
1
,
prizeName
:
"奖品名称"
,
prizeName
:
"奖品名称"
,
prizeImg
:
"奖品名称"
prizeImg
:
"奖品名称"
...
...
src/assets/RankNoPrizePop/bg.png
View replaced file @
b75e0fdd
View file @
e8df816a
123 KB
|
W:
|
H:
116 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/RankNoPrizePop/btn.png
0 → 100644
View file @
e8df816a
12.3 KB
src/components/RankNoPrizePop/RankNoPrizePop.jsx
View file @
e8df816a
...
@@ -3,7 +3,6 @@ import {observer} from "mobx-react";
...
@@ -3,7 +3,6 @@ import {observer} from "mobx-react";
import
"./RankNoPrizePop.less"
;
import
"./RankNoPrizePop.less"
;
import
{
Button
}
from
"@src/components/Button"
;
import
{
Button
}
from
"@src/components/Button"
;
import
modalStore
from
"@src/store/modal"
;
import
modalStore
from
"@src/store/modal"
;
import
store
from
"@src/store"
;
@
observer
@
observer
class
RankNoPrizePop
extends
React
.
Component
{
class
RankNoPrizePop
extends
React
.
Component
{
...
@@ -15,13 +14,11 @@ class RankNoPrizePop extends React.Component {
...
@@ -15,13 +14,11 @@ class RankNoPrizePop extends React.Component {
render
()
{
render
()
{
const
{
data
}
=
this
.
props
.
popData
;
const
{
data
}
=
this
.
props
.
popData
;
return
<
div
className=
"RankNoPrizePop modal_center"
>
return
<
div
className=
"RankNoPrizePop modal_center"
>
<
div
className=
"light"
/>
<
div
className=
"bg"
/>
<
div
className=
"bg"
>
<
div
className=
"rankText"
>
<
div
className=
"rankText"
>
最终排名为
{
+
data
.
rank
==
-
1
?
"3000+"
:
data
.
rank
}
最终排名为
{
+
data
.
rank
==
-
1
?
"500+"
:
data
.
rank
}
</
div
>
</
div
>
</
div
>
<
Button
className=
"know
md41
"
onClick=
{
this
.
clickClose
}
/>
<
Button
className=
"know"
onClick=
{
this
.
clickClose
}
/>
<
Button
className=
"close"
onClick=
{
this
.
clickClose
}
/>
<
Button
className=
"close"
onClick=
{
this
.
clickClose
}
/>
</
div
>;
</
div
>;
}
}
...
...
src/components/RankNoPrizePop/RankNoPrizePop.less
View file @
e8df816a
...
@@ -8,53 +8,42 @@
...
@@ -8,53 +8,42 @@
top: 0;
top: 0;
width: 750px;
width: 750px;
height: 1624px;
height: 1624px;
.light {
position: absolute;
left: 79px;
top: 275px;
width: 593px;
height: 593px;
// .sparkBg("common/light.png");
}
.bg {
.bg {
position: absolute;
position: absolute;
left:
110
px;
left:
99
px;
top:
482
px;
top:
358
px;
width: 5
29
px;
width: 5
53
px;
height:
52
0px;
height:
61
0px;
.sparkBg("RankNoPrizePop/bg.png")
.sparkBg("RankNoPrizePop/bg.png")
}
}
.rankText {
.rankText {
font-size: 30px;
font-size: 35px;
color: rgb(239, 125, 30);
color: rgb(51, 51, 51);
text-transform: uppercase;
line-height: 1;
position: absolute;
left: 15px;
top: 267px;
text-align: center;
text-align: center;
width: 490px;
position: absolute;
left: 0;
top: 670px;
width: 750px;
.lineClamp1()
.lineClamp1()
}
}
.know {
.know {
position: absolute;
position: absolute;
left:
180
px;
left:
221
px;
top:
829
px;
top:
784
px;
width: 3
73
px;
width: 3
10
px;
height:
110
px;
height:
94
px;
.sparkBg("RankNoPrizePop/
know
.png")
.sparkBg("RankNoPrizePop/
btn
.png")
}
}
.close {
.close {
position: absolute;
position: absolute;
left: 345px;
left: 345px;
top: 10
82
px;
top: 10
46
px;
width: 6
1
px;
width: 6
0
px;
height: 6
1
px;
height: 6
0
px;
.sparkBg("common/closeBtn.png")
.sparkBg("common/closeBtn.png")
}
}
}
}
\ No newline at end of file
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