Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
湖
湖南口味王-520猜数游戏-20250409
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
湖南口味王-520猜数游戏-20250409
Commits
e3cbf5f1
Commit
e3cbf5f1
authored
Apr 09, 2025
by
徐士卿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
buchong
parent
d40aca90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
rankpage.jsx
src/pages/rankpage/rankpage.jsx
+10
-1
index.js
src/store/index.js
+1
-1
No files found.
src/pages/rankpage/rankpage.jsx
View file @
e3cbf5f1
...
...
@@ -3,19 +3,28 @@
import
React
from
'react'
;
import
{
observer
}
from
'mobx-react'
;
import
'./rankpage.less'
;
import
{
Button
}
from
'@src/components/Button'
;
import
{
_asyncThrottle
}
from
'@src/utils/utils'
;
import
store
from
'@src/store'
;
import
{
PAGE_MAP
}
from
'@src/utils/constants'
;
@
observer
class
Rankpage
extends
React
.
Component
{
constructor
(
props
)
{
super
(
props
);
}
back
=
_asyncThrottle
(()
=>
{
store
.
changePage
(
PAGE_MAP
.
HOME_PAGE
)
})
render
()
{
return
(
<
div
className=
"rankpage modal_center"
>
<
span
className=
"bg"
></
span
>
<
span
className=
"headnline"
></
span
>
<
span
className=
"tip"
>
该成绩仅为游戏当日分数
</
span
>
<
span
className=
"back"
></
span
>
<
Button
className=
"back"
onClick=
{
this
.
back
}
/
>
<
div
className=
"list"
>
<
span
className=
"border"
></
span
>
<
span
className=
"l_bg"
></
span
>
...
...
src/store/index.js
View file @
e3cbf5f1
...
...
@@ -20,7 +20,7 @@ const store = makeAutoObservable({
myPrize
:
"myPrize"
,
// TODO 举例子 新宿台奖品页
index
:
PAGE_MAP
.
LOADING_PAGE
,
}[
skinId
]
||
PAGE_MAP
.
DETAIL
_PAGE
,
}[
skinId
]
||
PAGE_MAP
.
RANK
_PAGE
,
pageData
:
{},
...
...
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