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");
// fs.readFileSync("./output.js")
// )
// 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);
......
......@@ -157,8 +157,8 @@ export class Main {
await this.loadImageTexturesCsd01(resCanvasList)
await this.loadImageTexturesCsd02(resCanvasList)
changeScene(CsdScene)
// changeScene(XxlScene)
// changeScene(CsdScene)
changeScene(XxlScene)
})
await InitLottie.initLottieList(resLottieList);
......
......@@ -678,19 +678,21 @@ export class XxlScene extends Scene {
// type: 1
// }
async gameOver() {
this.isGameEnd = true
const prizeInfo = await sendTbNet(TbNetName.getPrizeInfo)
if (this.userInfo.win) {
//胜利
const prize = prizeInfo.data
if (prize.type > 3) {
showPanel(SuccessPanel, prize)
if (!this.isGameEnd) {
this.isGameEnd = true
const prizeInfo = await sendTbNet(TbNetName.getPrizeInfo)
if (this.userInfo.win) {
//胜利
const prize = prizeInfo.data
if (prize.type < 3) {
showPanel(SuccessPanel, prize)
} else {
showPanel(SuccessNoAwardPanel, prize)
}
} 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