Commit 08718e42 authored by 张华挺's avatar 张华挺

brige

parent 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
This diff is collapsed.
This diff is collapsed.
......@@ -48,6 +48,7 @@ export default class PrizePanel extends Panel {
start(data) {
super.start();
console.log('initscreen')
this.initTTScreen()
this._level = parseInt(data.level + '');
this['lvTxt'].text = `关卡${this._level}`
......@@ -124,7 +125,7 @@ export default class PrizePanel extends Panel {
if (signConfigData[0].index === 0) {
window['bridge'] && window['bridge']["showGamerAd"] && window['bridge']["showGamerAd"](window["TTPauseScreen"], 3)
} else if (signConfigData[0].index === 1) {
window['bridge'] && window['bridge']["showGamerAd"] && window['bridge']["showGamerAd"](window["TAPauseScreen"], 3)
window['bridge'] && window['bridge']["showGamerAd"] && window['bridge']["showGamerAd"](window["TAPauseScreen"], 4)
}
}
}
......
......@@ -942,7 +942,7 @@ export default class MainScene extends Scene {
if (signConfigData[0].index === 0) {
window['bridge'] && window['bridge']["showGamerAd"] && window['bridge']["showGamerAd"](window["TTPauseScreen"], 3)
} else if (signConfigData[0].index === 1) {
window['bridge'] && window['bridge']["showGamerAd"] && window['bridge']["showGamerAd"](window["TAPauseScreen"], 3)
window['bridge'] && window['bridge']["showGamerAd"] && window['bridge']["showGamerAd"](window["TAPauseScreen"], 4)
}
wait(300).then(() => {
PanelCtrl.instance.show("quit", { level: this.chapter });
......
......@@ -65,7 +65,7 @@ export default class SignPanel extends Panel {
const configDetData = configData.data.list ? configData.data.list : configData.data
let signConfigData = configDetData.filter(item => item.id === 6)
if (signConfigData.length && signConfigData[0].index === 1) {
window['bridge'] && window['bridge']["showGamerAd"] && window['bridge']["showGamerAd"](window["TASignScreen"], 3)
window['bridge'] && window['bridge']["showGamerAd"] && window['bridge']["showGamerAd"](window["TASignScreen"], 8)
window["finishScreenShowSignPrize"] = window['bridge']["finishScreenShowSignPrize"] = PanelCtrl.instance.addToShowPanels('signPrize');
} else {
PanelCtrl.instance.addToShowPanels('signPrize');
......
......@@ -3,7 +3,8 @@
"code": "0000000000",
"desc": "OK",
"timestamp": 1582701970753,
"data":[
"data":{
"list": [
{
"id":1,
"index":2
......@@ -24,5 +25,7 @@
"id":6,
"index":1
}
]
],
"num": 0
}
}
\ No newline at end of file
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