Commit 5fde74bc authored by spc's avatar spc

modified: output.js.map

parent 490107ce
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -6,7 +6,8 @@ var fs = require("fs"); ...@@ -6,7 +6,8 @@ var fs = require("fs");
// fs.readFileSync("./output.js") // fs.readFileSync("./output.js")
// ) // )
// var endPath = 'D:/duibaGame/测试项目0527/taobaominiTest/client/pages/index1/'; // var endPath = 'D:/duibaGame/测试项目0527/taobaominiTest/client/pages/index1/';
var endPath = '/Applications/DUIBA-TAOBAO/YD/new_taobao/taobao_mini/client/pages/pagecanvas/'; var endPath = "C:/Users/Duiba/Desktop/work/雅顿/new_taobao/taobao_mini/client/pages/pagecanvas"
// var endPath = '/Applications/DUIBA-TAOBAO/YD/new_taobao/taobao_mini/client/pages/pagecanvas/';
var version = Math.round(new Date().getTime() / 1000); var version = Math.round(new Date().getTime() / 1000);
......
...@@ -157,8 +157,8 @@ export class Main { ...@@ -157,8 +157,8 @@ export class Main {
await this.loadImageTexturesCsd01(resCanvasList) await this.loadImageTexturesCsd01(resCanvasList)
await this.loadImageTexturesCsd02(resCanvasList) await this.loadImageTexturesCsd02(resCanvasList)
changeScene(CsdScene) // changeScene(CsdScene)
// changeScene(XxlScene) changeScene(XxlScene)
}) })
await InitLottie.initLottieList(resLottieList); await InitLottie.initLottieList(resLottieList);
......
...@@ -678,12 +678,13 @@ export class XxlScene extends Scene { ...@@ -678,12 +678,13 @@ export class XxlScene extends Scene {
// type: 1 // type: 1
// } // }
async gameOver() { async gameOver() {
if (!this.isGameEnd) {
this.isGameEnd = true this.isGameEnd = true
const prizeInfo = await sendTbNet(TbNetName.getPrizeInfo) const prizeInfo = await sendTbNet(TbNetName.getPrizeInfo)
if (this.userInfo.win) { if (this.userInfo.win) {
//胜利 //胜利
const prize = prizeInfo.data const prize = prizeInfo.data
if (prize.type > 3) { if (prize.type < 3) {
showPanel(SuccessPanel, prize) showPanel(SuccessPanel, prize)
} else { } else {
showPanel(SuccessNoAwardPanel, prize) showPanel(SuccessNoAwardPanel, prize)
...@@ -693,6 +694,7 @@ export class XxlScene extends Scene { ...@@ -693,6 +694,7 @@ export class XxlScene extends Scene {
showPanel(FailedPanel) showPanel(FailedPanel)
} }
} }
}
......
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