Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
崔立强
db-game-template
Commits
02624900
Commit
02624900
authored
Nov 09, 2018
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
365e84d1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
showLog.ts
egret/libs/new_tw/ctrls/showLog.ts
+2
-2
submitAfterDostart.ts
egret/libs/new_tw/ctrls/submitAfterDostart.ts
+1
-1
getCountTxt.ts
egret/libs/new_tw/datas/getCountTxt.ts
+0
-1
No files found.
egret/libs/new_tw/ctrls/showLog.ts
View file @
02624900
import
{
LotteryData
}
from
"../../../libs/tw/data/common/lottery/LotteryData"
;
import
{
NetManager
}
from
"../../../libs/tw/manager/NetManager"
;
import
{
DataManager
}
from
"../../../libs/tw/manager/DataManager"
;
import
{
NetManager
}
from
"../../../libs/tw/manager/NetManager"
;
const
showLog
=
(
lottery
:
LotteryData
)
=>
{
const
showLog
=
(
lottery
:
LotteryData
)
:
void
=>
{
//曝光埋点
if
(
lottery
.
imgExposure
)
{
NetManager
.
ins
.
showLog
(
lottery
.
imgExposure
);
...
...
egret/libs/new_tw/ctrls/submitAfterDostart.ts
View file @
02624900
...
...
@@ -6,7 +6,7 @@ const submitAfterDostart = (cb, score) => {
()
=>
{
setTimeout
(()
=>
{
submit
(
cb
,
score
)
},
200
);
},
200
);
//延迟200ms,这是后端约定
}
)
}
...
...
egret/libs/new_tw/datas/getCountTxt.ts
View file @
02624900
import
{
DataManager
}
from
"../../tw/manager/DataManager"
;
/**
* 剩余次数
* 为了按钮字体的美观,不展示开始游戏之外的文案,非常规状态由业务文案代替展示。
...
...
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