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,19 +678,21 @@ export class XxlScene extends Scene { ...@@ -678,19 +678,21 @@ export class XxlScene extends Scene {
// type: 1 // type: 1
// } // }
async gameOver() { async gameOver() {
this.isGameEnd = true if (!this.isGameEnd) {
const prizeInfo = await sendTbNet(TbNetName.getPrizeInfo) this.isGameEnd = true
if (this.userInfo.win) { const prizeInfo = await sendTbNet(TbNetName.getPrizeInfo)
//胜利 if (this.userInfo.win) {
const prize = prizeInfo.data //胜利
if (prize.type > 3) { const prize = prizeInfo.data
showPanel(SuccessPanel, prize) if (prize.type < 3) {
showPanel(SuccessPanel, prize)
} else {
showPanel(SuccessNoAwardPanel, prize)
}
} else { } else {
showPanel(SuccessNoAwardPanel, prize) //失败
showPanel(FailedPanel)
} }
} else {
//失败
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