Commit b6fe80d1 authored by spc's avatar spc

modified: project/src/canvas/game/src/xiaoxiaole/XxlScene.ts

parent 50d67c3b
...@@ -672,11 +672,16 @@ export class XxlScene extends Scene { ...@@ -672,11 +672,16 @@ export class XxlScene extends Scene {
} }
// {
// name: '一碗热翔',
// image: '//yun.duiba.com.cn/spark/assets/赚门票.21d8c2fd01dffd454116bb6c1189ba6bb74306f4.png',
// type: 1
// }
async gameOver() { async gameOver() {
this.isGameEnd = true this.isGameEnd = true
const prizeInfo = await sendTbNet(TbNetName.getPrizeInfo)
if (this.userInfo.win) { if (this.userInfo.win) {
//胜利 //胜利
const prizeInfo = await sendTbNet(TbNetName.getPrizeInfo)
const prize = prizeInfo.data const prize = prizeInfo.data
if (prize.type > 3) { if (prize.type > 3) {
showPanel(SuccessPanel, prize) showPanel(SuccessPanel, prize)
......
{ {
"name": "yd11_20200922",
"version": "1.0.0", "version": "1.0.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
"dependencies": { "dependencies": {
"@tbmp/mp-cloud-sdk": "*", "@tbmp/mp-cloud-sdk": "*",
"fyge-tbmini": "^1.3.7", "fyge-tbmini": "^1.3.7",
"tans_lottie": "^1.0.4" "tans_lottie": "^1.0.4",
"svga-parser": "^1.1.0"
} }
} }
This source diff could not be displayed because it is too large. You can view the blob instead.
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