Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
testspark115
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
testspark115
Commits
73f37bf5
Commit
73f37bf5
authored
Jan 15, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加了game页面
parent
674a7961
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
0 deletions
+32
-0
game_bg.png
project/src/assets/game_bg.png
+0
-0
game.jsx
project/src/pages/game/game.jsx
+20
-0
game.less
project/src/pages/game/game.less
+12
-0
No files found.
project/src/assets/game_bg.png
0 → 100644
View file @
73f37bf5
This diff is collapsed.
Click to expand it.
project/src/pages/game/game.jsx
0 → 100644
View file @
73f37bf5
'use strict'
;
import
React
,
{
Component
}
from
'react'
;
import
{
RES_PATH
}
from
'../../../sparkrc.js'
;
//import API from '../../api';
import
'./game.less'
;
class
Game
extends
Component
{
constructor
(
props
)
{
super
(
props
);
}
render
()
{
return
(
<
div
className=
"game "
uuid=
"1269dcc7-b692-4bc7-9b34-ec182ea647c6"
>
<
img
className=
"game_bg "
uuid=
"b70f558f-1730-4093-a716-cba5d4d596b9"
src=
{
RES_PATH
+
'game_bg.png'
}
/>
</
div
>
);
}
}
export
default
Game
;
project/src/pages/game/game.less
0 → 100644
View file @
73f37bf5
.game {
width: 2193px;
height: 5817px;
left: -593px;
top: -3658px;
position: absolute;
.game_bg {
width: 2193px;
height: 5817px;
position: absolute;
}
}
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