Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MingSnake_241120
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
MingSnake_241120
Commits
1add4ae7
Commit
1add4ae7
authored
Jan 08, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
25年新迭代
parent
96794d2a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
HomeScene.ts
assets/Scripts/Scenes/HomeScene.ts
+7
-1
WebNet.ts
assets/Scripts/Utils/WebNet/WebNet.ts
+1
-0
avatarGuide.json
preview-template/mock/home/avatarGuide.json
+7
-0
No files found.
assets/Scripts/Scenes/HomeScene.ts
View file @
1add4ae7
...
...
@@ -21,7 +21,7 @@ import RulePanel from "../Panels/RulePanel";
import
RankPrizePanel
from
"../Panels/RankPrizePanel"
;
import
SnakeSkin
from
"../Panels/SnakeSkin"
;
import
shareStore
from
"../store/shareStore"
;
import
{
LOG_TYPE
,
sendLog
,
sendWebNetWithToken
,
WebNetName
}
from
"../Utils/WebNet/WebNet"
;
import
{
LOG_TYPE
,
sendLog
,
sendWebNet
,
sendWebNet
WithToken
,
WebNetName
}
from
"../Utils/WebNet/WebNet"
;
import
{
getUrlParams
}
from
"../Utils/WebNet/web/webTools"
;
import
FirstSkinPanel
from
"../Panels/FirstSkinPanel"
;
import
{
isType1
}
from
"../AppTool"
;
...
...
@@ -233,6 +233,12 @@ export class HomeScene extends Scene {
});
clickUserInfo
=
_asyncThrottle
(
async
()
=>
{
if
(
store
.
homeInfo
.
avatarGuide
)
{
sendWebNet
(
WebNetName
.
avatarGuide
,
null
,
{
hideMsg
:
true
,
});
store
.
homeInfo
.
avatarGuide
=
false
;
}
// @ts-ignore
wx
.
miniProgram
.
navigateTo
({
url
:
"/package/pages/user-info/index"
,
...
...
assets/Scripts/Utils/WebNet/WebNet.ts
View file @
1add4ae7
...
...
@@ -29,6 +29,7 @@ export enum WebNetName {
finalSubmit
=
"game/finalSubmit.do"
,
queryReviveData
=
"game/queryReviveData.do"
,
reviveGame
=
"game/reviveGame.do"
,
avatarGuide
=
"game/avatarGuide.do"
,
/**
* 获取QrCode
...
...
preview-template/mock/home/avatarGuide.json
0 → 100644
View file @
1add4ae7
{
"success"
:
true
,
"code"
:
null
,
"desc"
:
null
,
"timestamp"
:
1733715385646
,
"data"
:
true
}
\ No newline at end of file
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