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
b820a2e1
Commit
b820a2e1
authored
Oct 15, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
2c044eeb
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
176 additions
and
1 deletion
+176
-1
noprize_again.png
src/assets/noprize/noprize_again.png
+0
-0
noprize_bg.png
src/assets/noprize/noprize_bg.png
+0
-0
noprize_close.png
src/assets/noprize/noprize_close.png
+0
-0
noprize_history_again.png
src/assets/noprize_history/noprize_history_again.png
+0
-0
noprize_history_bg.png
src/assets/noprize_history/noprize_history_bg.png
+0
-0
noprize_history_close.png
src/assets/noprize_history/noprize_history_close.png
+0
-0
noprize.jsx
src/components/noprize/noprize.jsx
+27
-0
noprize.less
src/components/noprize/noprize.less
+42
-0
noprize_history.jsx
src/components/noprize_history/noprize_history.jsx
+30
-0
noprize_history.less
src/components/noprize_history/noprize_history.less
+72
-0
modal.jsx
src/modal/modal.jsx
+5
-1
No files found.
src/assets/noprize/noprize_again.png
0 → 100644
View file @
b820a2e1
8.63 KB
src/assets/noprize/noprize_bg.png
0 → 100644
View file @
b820a2e1
101 KB
src/assets/noprize/noprize_close.png
0 → 100644
View file @
b820a2e1
7.54 KB
src/assets/noprize_history/noprize_history_again.png
0 → 100644
View file @
b820a2e1
8.63 KB
src/assets/noprize_history/noprize_history_bg.png
0 → 100644
View file @
b820a2e1
98.2 KB
src/assets/noprize_history/noprize_history_close.png
0 → 100644
View file @
b820a2e1
7.54 KB
src/components/noprize/noprize.jsx
0 → 100644
View file @
b820a2e1
'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
'./noprize.less'
;
@
observer
class
Noprize
extends
React
.
Component
{
constructor
(
props
)
{
super
(
props
);
}
render
()
{
return
(
<
div
className=
"noprize"
>
<
span
className=
"noprize_bg"
></
span
>
<
span
className=
"noprize_score"
>
12800
</
span
>
<
span
className=
"noprize_again"
></
span
>
<
span
className=
"noprize_close"
></
span
>
</
div
>
);
}
}
export
default
Noprize
;
src/components/noprize/noprize.less
0 → 100644
View file @
b820a2e1
@import "../../res.less";
.noprize {
width: 659px;
height: 667px;
left: 46px;
top: 497px;
position: absolute;
.noprize_bg {
width: 657px;
height: 526px;
left: 0px;
top: 0px;
position: absolute;
.sparkBg("noprize/noprize_bg.png");
}
.noprize_score {
width: 235px;
height: 63px;
left: 217px;
top: 275px;
position: absolute;
font-size: 80px;
line-height: 63px;
color: rgba(107, 41, 62, 1);
}
.noprize_again {
width: 415px;
height: 101px;
left: 122px;
top: 566px;
position: absolute;
.sparkBg("noprize/noprize_again.png");
}
.noprize_close {
width: 82px;
height: 82px;
left: 577px;
top: 30px;
position: absolute;
.sparkBg("noprize/noprize_close.png");
}
}
src/components/noprize_history/noprize_history.jsx
0 → 100644
View file @
b820a2e1
'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
'./noprize_history.less'
;
@
observer
class
Noprize_history
extends
React
.
Component
{
constructor
(
props
)
{
super
(
props
);
}
render
()
{
return
(
<
div
className=
"noprize_history"
>
<
span
className=
"noprize_history_bg"
></
span
>
<
span
className=
"noprize_history_again"
></
span
>
<
span
className=
"noprize_history_close"
></
span
>
<
span
className=
"noprize_history_score"
>
58889
</
span
>
<
span
className=
"noprize_history_tips2"
>
历史最佳
</
span
>
<
span
className=
"noprize_history_score1"
>
12800
</
span
>
<
span
className=
"noprize_history_tips1"
>
本局得分
</
span
>
</
div
>
);
}
}
export
default
Noprize_history
;
src/components/noprize_history/noprize_history.less
0 → 100644
View file @
b820a2e1
@import "../../res.less";
.noprize_history {
width: 659px;
height: 667px;
left: 46px;
top: 497px;
position: absolute;
.noprize_history_bg {
width: 657px;
height: 526px;
left: 0px;
top: 0px;
position: absolute;
.sparkBg("noprize_history/noprize_history_bg.png");
}
.noprize_history_again {
width: 415px;
height: 101px;
left: 122px;
top: 566px;
position: absolute;
.sparkBg("noprize_history/noprize_history_again.png");
}
.noprize_history_close {
width: 82px;
height: 82px;
left: 577px;
top: 30px;
position: absolute;
.sparkBg("noprize_history/noprize_history_close.png");
}
.noprize_history_score {
width: 186px;
height: 47px;
left: 375px;
top: 290px;
position: absolute;
font-size: 60px;
line-height: 47px;
color: rgba(107, 41, 62, 1);
}
.noprize_history_tips2 {
width: 119px;
height: 26px;
left: 408px;
top: 235px;
position: absolute;
font-size: 28px;
line-height: 26px;
color: rgba(107, 41, 57, 1);
}
.noprize_history_score1 {
width: 183px;
height: 47px;
left: 108px;
top: 290px;
position: absolute;
font-size: 60px;
line-height: 47px;
color: rgba(107, 41, 62, 1);
}
.noprize_history_tips1 {
width: 118px;
height: 26px;
left: 139px;
top: 235px;
position: absolute;
font-size: 28px;
line-height: 26px;
color: rgba(107, 41, 57, 1);
}
}
src/modal/modal.jsx
View file @
b820a2e1
import
React
,
{
Component
}
from
"react"
;
import
Noprize
from
"../components/noprize/noprize"
;
import
Noprize_history
from
"../components/noprize_history/noprize_history"
;
import
Alert
from
"../components/alert/alert"
;
import
Rule
from
"../components/rule/rule"
;
import
'./modal.less'
;
...
...
@@ -7,7 +9,9 @@ import modalStore from '../store/modal';
import
{
toJS
}
from
'mobx'
;
export
const
cfg
=
{
Rule
:
Rule
,
Alert
:
Alert
Alert
:
Alert
,
Noprize_history
:
Noprize_history
,
Noprize
:
Noprize
};
@
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