Commit 42848340 authored by 张华挺's avatar 张华挺

window["TAIsdk"].show()

parent 610bcd82
......@@ -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
......@@ -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()
}
......
......@@ -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) {
......
......@@ -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"])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment