Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RB_StrongestBrain_250520
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
RB_StrongestBrain_250520
Commits
5f850df9
Commit
5f850df9
authored
May 21, 2025
by
徐士卿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge
parent
c7487e4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
15 deletions
+4
-15
HomePage.tsx
src/pages/HomePage/HomePage.tsx
+4
-2
drawpage.jsx
src/pages/drawpage/drawpage.jsx
+0
-13
No files found.
src/pages/HomePage/HomePage.tsx
View file @
5f850df9
...
...
@@ -26,6 +26,7 @@ class Homepage extends React.Component {
componentDidMount
()
{
store
.
updateIndex
()
}
handleButtonClick
=
_asyncThrottle
(
async
(
number
)
=>
{
// 活动时间判断
// 规则 奖品始终可以点击 我的排名结束可以点击 其余常规逻辑
...
...
@@ -39,12 +40,12 @@ class Homepage extends React.Component {
// 0 我的排名
case
0
:
// TODO 换成我的排名页面 记得引用
PageCtrl
.
changePage
(
RankPage
);
// PageCtrl.changePage();
break
;
// 1 抽奖
case
1
:
//
PageCtrl.changePage(DrawPage);
PageCtrl
.
changePage
(
DrawPage
);
break
;
// 2 做任务
...
...
@@ -52,6 +53,7 @@ class Homepage extends React.Component {
// TODO
ModalCtrl
.
showModal
(
Taskpop
);
break
;
// 3 答题
case
3
:
// TODO
...
...
src/pages/drawpage/drawpage.jsx
View file @
5f850df9
...
...
@@ -13,19 +13,6 @@ import { Button, Toast } from "@grace/ui";
import
{
PageCtrl
}
from
"@/core/ctrls/PageCtrl"
;
import
{
ModalCtrl
}
from
"@/core/ctrls/ModalCtrl"
;
<
<<<<<<
HEAD
=======
import
React
from
'
react
';
import
{
observer
}
from
'
mobx
-
react
';
import
'
.
/
DrawPage
.
less
';
import
{
_asyncThrottle
}
from
'
..
/
..
/
utils
/
utils
.
ts
';
import
store
from
'
..
/
..
/
store
/
store
.
ts
';
import
{
CHANNEL_PARAMS
}
from
'@/
utils
/
constants
';
import
{
CircleTurntable
}
from
'@
spark
/
circle
-
turntable
'
// import { Button } from '@src/components/Button';
// import { Marquee, Toast } from '@spark/ui';
// import { isWeChat } from '@src/utils/share';
>
>>>>>>
9220288db04479c19dd6c72d8df036f6453c36b0
// import { LOG_KEY, pageView, sensorLog } from '@src/utils/sensors';
@
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