Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bjz1014
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
wildfirecode13
bjz1014
Commits
bfe5afd9
Commit
bfe5afd9
authored
Oct 15, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
cd278ae8
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
125 additions
and
2 deletions
+125
-2
prize_again.png
src/assets/prize/prize_again.png
+0
-0
prize_bg.png
src/assets/prize/prize_bg.png
+0
-0
prize_close.png
src/assets/prize/prize_close.png
+0
-0
prize_placeholder.png
src/assets/prize/prize_placeholder.png
+0
-0
noprize.less
src/components/noprize/noprize.less
+0
-1
prize.jsx
src/components/prize/prize.jsx
+32
-0
prize.less
src/components/prize/prize.less
+90
-0
modal.jsx
src/modal/modal.jsx
+3
-1
No files found.
src/assets/prize/prize_again.png
0 → 100644
View file @
bfe5afd9
8.63 KB
src/assets/prize/prize_bg.png
0 → 100644
View file @
bfe5afd9
104 KB
src/assets/prize/prize_close.png
0 → 100644
View file @
bfe5afd9
7.53 KB
src/assets/prize/prize_placeholder.png
0 → 100644
View file @
bfe5afd9
749 Bytes
src/components/noprize/noprize.less
View file @
bfe5afd9
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
top: 50%;
top: 50%;
transform: translateY(-50%);
transform: translateY(-50%);
position: absolute;
position: absolute;
position: absolute;
.noprize_bg {
.noprize_bg {
width: 657px;
width: 657px;
height: 526px;
height: 526px;
...
...
src/components/prize/prize.jsx
0 → 100644
View file @
bfe5afd9
'use strict'
;
import
React
from
'react'
;
import
{
RES_PATH
}
from
'../../../sparkrc.js'
;
import
{
observer
}
from
'mobx-react'
;
import
store
from
'../../store/index'
;
import
modalStore
from
'@src/store/modal'
;
import
API
from
'../../api'
;
import
'./prize.less'
;
@
observer
class
Prize
extends
React
.
Component
{
constructor
(
props
)
{
super
(
props
);
}
render
()
{
return
(
<
div
className=
"prize"
>
<
span
className=
"prize_again"
></
span
>
<
span
className=
"prize_bg"
></
span
>
<
span
className=
"prize_placeholder"
></
span
>
<
span
className=
"prize_tips"
>
恭喜你获得*** 可在【我的奖品】中查看
</
span
>
<
span
className=
"prize_close"
></
span
>
<
span
className=
"prize_score2"
>
58889
</
span
>
<
span
className=
"prize_tips1"
>
历史最佳
</
span
>
<
span
className=
"prize_score1"
>
12800
</
span
>
<
span
className=
"prize_tips2"
>
本局得分
</
span
>
</
div
>
);
}
}
export
default
Prize
;
src/components/prize/prize.less
0 → 100644
View file @
bfe5afd9
@import "../../res.less";
.prize {
width: 658px;
height: 919px;
left: 47px;
top: 50%;
transform: translateY(-50%);
position: absolute;
.prize_again {
width: 415px;
height: 101px;
left: 121px;
top: 818px;
position: absolute;
.sparkBg("prize/prize_again.png");
}
.prize_bg {
width: 655px;
height: 790px;
left: 0px;
top: 0px;
position: absolute;
.sparkBg("prize/prize_bg.png");
}
.prize_placeholder {
width: 241px;
height: 240px;
left: 208px;
top: 498px;
position: absolute;
.sparkBg("prize/prize_placeholder.png");
}
.prize_tips {
width: 334px;
height: 69px;
left: 166px;
top: 405px;
position: absolute;
font-size: 30px;
color: rgba(255, 255, 255, 1);
}
.prize_close {
width: 82px;
height: 82px;
left: 576px;
top: 30px;
position: absolute;
.sparkBg("prize/prize_close.png");
}
.prize_score2 {
width: 186px;
height: 47px;
left: 374px;
top: 270px;
position: absolute;
font-size: 60px;
line-height: 47px;
color: rgba(107, 41, 62, 1);
}
.prize_tips1 {
width: 119px;
height: 26px;
left: 407px;
top: 215px;
position: absolute;
font-size: 28px;
line-height: 26px;
color: rgba(107, 41, 57, 1);
}
.prize_score1 {
width: 183px;
height: 47px;
left: 107px;
top: 270px;
position: absolute;
font-size: 60px;
line-height: 47px;
color: rgba(107, 41, 62, 1);
}
.prize_tips2 {
width: 118px;
height: 26px;
left: 138px;
top: 215px;
position: absolute;
font-size: 28px;
line-height: 26px;
color: rgba(107, 41, 57, 1);
}
}
src/modal/modal.jsx
View file @
bfe5afd9
import
React
,
{
Component
}
from
"react"
;
import
React
,
{
Component
}
from
"react"
;
import
Prize
from
"../components/prize/prize"
;
import
Noprize
from
"../components/noprize/noprize"
;
import
Noprize
from
"../components/noprize/noprize"
;
import
Noprize_history
from
"../components/noprize_history/noprize_history"
;
import
Noprize_history
from
"../components/noprize_history/noprize_history"
;
import
Alert
from
"../components/alert/alert"
;
import
Alert
from
"../components/alert/alert"
;
...
@@ -11,7 +12,8 @@ export const cfg = {
...
@@ -11,7 +12,8 @@ export const cfg = {
Rule
:
Rule
,
Rule
:
Rule
,
Alert
:
Alert
,
Alert
:
Alert
,
Noprize_history
:
Noprize_history
,
Noprize_history
:
Noprize_history
,
Noprize
:
Noprize
Noprize
:
Noprize
,
Prize
:
Prize
};
};
@
observer
@
observer
...
...
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