Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
DuibaGameTemplate
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
钱根
DuibaGameTemplate
Commits
e8f0cb64
Commit
e8f0cb64
authored
Jun 20, 2022
by
Master Q
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页埋点
parent
8899b1df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
IndexScene.ts
src/scenes/IndexScene/IndexScene.ts
+3
-1
No files found.
src/scenes/IndexScene/IndexScene.ts
View file @
e8f0cb64
...
@@ -4,7 +4,7 @@ import { Scene } from "../../../module/views/Scene";
...
@@ -4,7 +4,7 @@ import { Scene } from "../../../module/views/Scene";
import
{
RuleModal
}
from
"../../panels/RulePanel"
;
import
{
RuleModal
}
from
"../../panels/RulePanel"
;
import
{
Tools
}
from
"../../tools/Tools"
;
import
{
Tools
}
from
"../../tools/Tools"
;
import
UI
from
"../../tools/UI"
;
import
UI
from
"../../tools/UI"
;
import
{
getWebData
,
sendWebNet
,
WebNetName
}
from
"../../tools/WebNet"
;
import
{
getWebData
,
LOG_TYPE
,
sendLog
,
sendWebNet
,
WebNetName
}
from
"../../tools/WebNet"
;
import
{
ParkourScene
}
from
"../ParkourGameScene"
;
import
{
ParkourScene
}
from
"../ParkourGameScene"
;
import
{
PromiseAwait
}
from
"../utils"
;
import
{
PromiseAwait
}
from
"../utils"
;
...
@@ -46,6 +46,8 @@ export class IndexScene extends Scene {
...
@@ -46,6 +46,8 @@ export class IndexScene extends Scene {
const
startBtnCont
=
UI
.
Ctn
(
this
,
(
750
-
374
)
/
2
,
1150
)
const
startBtnCont
=
UI
.
Ctn
(
this
,
(
750
-
374
)
/
2
,
1150
)
this
.
startBtn
=
UI
.
Btn
(
startBtnCont
,
'startBtn.png'
,
this
.
onJump2Scene
,
this
)
this
.
startBtn
=
UI
.
Btn
(
startBtnCont
,
'startBtn.png'
,
this
.
onJump2Scene
,
this
)
UI
.
Txt
(
startBtnCont
,
`消耗
${
this
.
IndexSceneData
.
needTikectCount
}
门票`
,
24
,
'#000000'
,
FYGE
.
TEXT_ALIGN
.
CENTER
,
374
,
0
,
120
)
UI
.
Txt
(
startBtnCont
,
`消耗
${
this
.
IndexSceneData
.
needTikectCount
}
门票`
,
24
,
'#000000'
,
FYGE
.
TEXT_ALIGN
.
CENTER
,
374
,
0
,
120
)
sendLog
(
LOG_TYPE
.
EXPOSURE
,
1
)
}
}
@
PromiseAwait
@
PromiseAwait
...
...
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