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

window["TAIsdk"].show()

parent 610bcd82
...@@ -23,6 +23,6 @@ else if (cmd === 'build' && process.argv[3] === 'prod2') { ...@@ -23,6 +23,6 @@ else if (cmd === 'build' && process.argv[3] === 'prod2') {
if (process.argv[4] === 'exml') if (process.argv[4] === 'exml')
cmd = 'buildProdEXML'; cmd = 'buildProdEXML';
} }
// build[cmd]('egret'); build[cmd]('egret');
build['notinypng']('egret'); // build['notinypng']('egret');
console.log(); console.log();
\ No newline at end of file
...@@ -133,6 +133,8 @@ export class NetManager extends ABNetManager { ...@@ -133,6 +133,8 @@ export class NetManager extends ABNetManager {
window["TAIsdk"].updateOpts({ slotId }) window["TAIsdk"].updateOpts({ slotId })
} }
} }
// 打开激励互动的时候暂时关闭首页banner
window['bridge'] && window['bridge']["showGamerAd"] && window['bridge']["showGamerAd"](window["TTIndexBanner"], 7)
window["TAIsdk"].show() window["TAIsdk"].show()
} }
......
...@@ -935,6 +935,7 @@ export default class MainScene extends Scene { ...@@ -935,6 +935,7 @@ export default class MainScene extends Scene {
onTap_quitBtn() { onTap_quitBtn() {
// 两个版本的二次判断 // 两个版本的二次判断
const configData = DataManager.ins.getData('getConfig') const configData = DataManager.ins.getData('getConfig')
console.log(123)
if (!configData.data.list) { if (!configData.data.list) {
let signConfigData = configData.data.filter(item => item.id === 5) let signConfigData = configData.data.filter(item => item.id === 5)
if (signConfigData.length) { if (signConfigData.length) {
......
...@@ -311,6 +311,8 @@ export default class MapScene extends Scene { ...@@ -311,6 +311,8 @@ export default class MapScene extends Scene {
// }) // })
// window['TAIsdk'].closeBtn.style.display = 'none' // window['TAIsdk'].closeBtn.style.display = 'none'
}, () => { }, () => {
// 关闭激励互动的时候重新请求首页banner
window['bridge'] && window['bridge']["showGamerAd"] && window['bridge']["showGamerAd"](window["TTIndexBanner"], 5)
//上面没回调过。就显示toast //上面没回调过。就显示toast
if (!this['tuiaRewardMark']) showToast("活动未完成,无法领取奖励"); if (!this['tuiaRewardMark']) showToast("活动未完成,无法领取奖励");
}, window["TAInspireAct"]) }, 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