Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaoleTuia
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
王剑峰
xiaoxiaoleTuia
Commits
42848340
Commit
42848340
authored
Mar 05, 2020
by
张华挺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
window["TAIsdk"].show()
parent
610bcd82
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
build.js
build.js
+2
-2
NetManager.ts
egret/libs/tw/manager/NetManager.ts
+2
-0
MainScene.ts
egret/src/mainScene/MainScene.ts
+1
-0
MapScene.ts
egret/src/mapScene/MapScene.ts
+2
-0
No files found.
build.js
View file @
42848340
...
...
@@ -23,6 +23,6 @@ else if (cmd === 'build' && process.argv[3] === 'prod2') {
if
(
process
.
argv
[
4
]
===
'exml'
)
cmd
=
'buildProdEXML'
;
}
//
build[cmd]('egret');
build
[
'notinypng'
](
'egret'
);
build
[
cmd
](
'egret'
);
//
build['notinypng']('egret');
console
.
log
();
\ No newline at end of file
egret/libs/tw/manager/NetManager.ts
View file @
42848340
...
...
@@ -133,6 +133,8 @@ export class NetManager extends ABNetManager {
window
[
"TAIsdk"
].
updateOpts
({
slotId
})
}
}
// 打开激励互动的时候暂时关闭首页banner
window
[
'bridge'
]
&&
window
[
'bridge'
][
"showGamerAd"
]
&&
window
[
'bridge'
][
"showGamerAd"
](
window
[
"TTIndexBanner"
],
7
)
window
[
"TAIsdk"
].
show
()
}
...
...
egret/src/mainScene/MainScene.ts
View file @
42848340
...
...
@@ -935,6 +935,7 @@ export default class MainScene extends Scene {
onTap_quitBtn
()
{
// 两个版本的二次判断
const
configData
=
DataManager
.
ins
.
getData
(
'getConfig'
)
console
.
log
(
123
)
if
(
!
configData
.
data
.
list
)
{
let
signConfigData
=
configData
.
data
.
filter
(
item
=>
item
.
id
===
5
)
if
(
signConfigData
.
length
)
{
...
...
egret/src/mapScene/MapScene.ts
View file @
42848340
...
...
@@ -311,6 +311,8 @@ export default class MapScene extends Scene {
// })
// window['TAIsdk'].closeBtn.style.display = 'none'
},
()
=>
{
// 关闭激励互动的时候重新请求首页banner
window
[
'bridge'
]
&&
window
[
'bridge'
][
"showGamerAd"
]
&&
window
[
'bridge'
][
"showGamerAd"
](
window
[
"TTIndexBanner"
],
5
)
//上面没回调过。就显示toast
if
(
!
this
[
'tuiaRewardMark'
])
showToast
(
"活动未完成,无法领取奖励"
);
},
window
[
"TAInspireAct"
])
...
...
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