Commit 5e5a132c authored by haiyoucuv's avatar haiyoucuv

1

parent 0009e911
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -5,9 +5,10 @@ ...@@ -5,9 +5,10 @@
"data": { "data": {
"_id": "", "_id": "",
"name": "aaa", "name": "aaa",
"type": 1, "type": 6,
"image": "https://img.alicdn.com/imgextra/i1/2275046294/O1CN01xTeKMI1wMhRux48Y6_!!2275046294-2-miniprogram.png", "image": "https://img.alicdn.com/imgextra/i1/2275046294/O1CN01xTeKMI1wMhRux48Y6_!!2275046294-2-miniprogram.png",
"drawStatus": "", "drawStatus": "",
"level": "1" "level": "1",
"toolType": "booms"
} }
} }
\ No newline at end of file
...@@ -13326,6 +13326,7 @@ var TbNetName; ...@@ -13326,6 +13326,7 @@ var TbNetName;
TbNetName["receiveEnamePrize"] = "popmartXXL2c.receiveEnamePrize"; TbNetName["receiveEnamePrize"] = "popmartXXL2c.receiveEnamePrize";
TbNetName["drawLotteryPrize"] = "popmartXXL2c.drawLotteryPrize"; TbNetName["drawLotteryPrize"] = "popmartXXL2c.drawLotteryPrize";
TbNetName["getToolsInfo"] = "popmartXXL2c.getToolsInfo"; TbNetName["getToolsInfo"] = "popmartXXL2c.getToolsInfo";
TbNetName["getPower"] = "popmartXXL2c.getRemainTimes";
TbNetName["doHelp"] = "popmartXXL2c.doHelp"; TbNetName["doHelp"] = "popmartXXL2c.doHelp";
TbNetName["getActivityBaseInfoById"] = "popmartXXL2c.getActivityBaseInfoById"; TbNetName["getActivityBaseInfoById"] = "popmartXXL2c.getActivityBaseInfoById";
TbNetName["consumerTools"] = "popmartXXL2c.consumerTools"; TbNetName["consumerTools"] = "popmartXXL2c.consumerTools";
...@@ -18830,7 +18831,9 @@ var TaskItem = (function (_super) { ...@@ -18830,7 +18831,9 @@ var TaskItem = (function (_super) {
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateToOutside, { url: this.data.url }); TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateToOutside, { url: this.data.url });
break; break;
case TaskType.browseGoods: case TaskType.browseGoods:
console.log('去浏览页'); TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateTo, {
url: '/pages/goodsPage/goodsPage?taskType=browseGoods&itemIds=' + this.data.itemIds
});
break; break;
case TaskType.follow: case TaskType.follow:
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.favorShop, {}, function (fs, fr) { TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.favorShop, {}, function (fs, fr) {
...@@ -18843,7 +18846,9 @@ var TaskItem = (function (_super) { ...@@ -18843,7 +18846,9 @@ var TaskItem = (function (_super) {
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.showSharePanel, { openId: Tools_1.Tools.globalData.openId }); TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.showSharePanel, { openId: Tools_1.Tools.globalData.openId });
break; break;
case TaskType.orderGoods: case TaskType.orderGoods:
console.log('去下单页'); TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateTo, {
url: '/pages/goodsPage/goodsPage?taskType=orderGoods&itemIds=' + this.data.itemIds
});
break; break;
} }
}; };
...@@ -21997,6 +22002,8 @@ var Ease = FYGE.Ease; ...@@ -21997,6 +22002,8 @@ var Ease = FYGE.Ease;
var ctrls_1 = __webpack_require__(/*! ../../../module/ctrls */ "./module/ctrls/index.ts"); var ctrls_1 = __webpack_require__(/*! ../../../module/ctrls */ "./module/ctrls/index.ts");
var FreePowerPanel_1 = __webpack_require__(/*! ../../panels/FreePowerPanel */ "./src/panels/FreePowerPanel.ts"); var FreePowerPanel_1 = __webpack_require__(/*! ../../panels/FreePowerPanel */ "./src/panels/FreePowerPanel.ts");
var TaoBaoNet_1 = __webpack_require__(/*! ../../TaoBaoNet */ "./src/TaoBaoNet.ts"); var TaoBaoNet_1 = __webpack_require__(/*! ../../TaoBaoNet */ "./src/TaoBaoNet.ts");
var Main_1 = __webpack_require__(/*! ../../Main */ "./src/Main.ts");
var G_EVENT_1 = __webpack_require__(/*! ../../common/G_EVENT */ "./src/common/G_EVENT.ts");
var MapScene = (function (_super) { var MapScene = (function (_super) {
__extends(MapScene, _super); __extends(MapScene, _super);
function MapScene() { function MapScene() {
...@@ -22163,9 +22170,11 @@ var MapScene = (function (_super) { ...@@ -22163,9 +22170,11 @@ var MapScene = (function (_super) {
}; };
MapScene.prototype.initEvents = function () { MapScene.prototype.initEvents = function () {
_super.prototype.initEvents.call(this); _super.prototype.initEvents.call(this);
Main_1.GDispatcher.addEventListener(G_EVENT_1.G_EVENT.ON_SHOW, this.updateScene, this);
}; };
MapScene.prototype.removeEvents = function () { MapScene.prototype.removeEvents = function () {
_super.prototype.removeEvents.call(this); _super.prototype.removeEvents.call(this);
Main_1.GDispatcher.removeEventListener(G_EVENT_1.G_EVENT.ON_SHOW, this.updateScene, this);
}; };
MapScene.checkArr = []; MapScene.checkArr = [];
return MapScene; return MapScene;
...@@ -22377,7 +22386,13 @@ var MapUI = (function (_super) { ...@@ -22377,7 +22386,13 @@ var MapUI = (function (_super) {
this.energyBox = this.addChild(new EnergyBox({})); this.energyBox = this.addChild(new EnergyBox({}));
}; };
MapUI.prototype.updateUI = function () { MapUI.prototype.updateUI = function () {
this.energyBox.count = Tools_1.Tools.propInfo.power; var _this = this;
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.getPower, {}, function (success, res) {
_this.energyBox.count = Tools_1.Tools.propInfo.power;
if (!success)
return;
_this.energyBox.count = Tools_1.Tools.propInfo.power = res.data.power;
});
}; };
return MapUI; return MapUI;
}(Container)); }(Container));
This diff is collapsed.
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
"dev": "webpack-dev-server --open --config webpack.dev.js --host 0.0.0.0", "dev": "webpack-dev-server --open --config webpack.dev.js --host 0.0.0.0",
"buildTS": "webpack --config webpack.prod.js && node scripts/mergeJs && npm run copyJs", "buildTS": "webpack --config webpack.prod.js && node scripts/mergeJs && npm run copyJs",
"copyJs": "node scripts/copyJs", "copyJs": "node scripts/copyJs",
"lt": "node scripts/handleLotS.js" "lt": "node scripts/handleLotS.js && npm run flushRes"
}, },
"author": "MrKwon", "author": "MrKwon",
"license": "ISC" "license": "ISC"
......
resource/loadingScene/loadingBg.jpg

236 KB | W: | H:

resource/loadingScene/loadingBg.jpg

107 KB | W: | H:

resource/loadingScene/loadingBg.jpg
resource/loadingScene/loadingBg.jpg
resource/loadingScene/loadingBg.jpg
resource/loadingScene/loadingBg.jpg
  • 2-up
  • Swipe
  • Onion skin
resource/loadingScene/loadingPro1.png

19.2 KB | W: | H:

resource/loadingScene/loadingPro1.png

10.6 KB | W: | H:

resource/loadingScene/loadingPro1.png
resource/loadingScene/loadingPro1.png
resource/loadingScene/loadingPro1.png
resource/loadingScene/loadingPro1.png
  • 2-up
  • Swipe
  • Onion skin
resource/loadingScene/loadingPro10.png

19.3 KB | W: | H:

resource/loadingScene/loadingPro10.png

10.8 KB | W: | H:

resource/loadingScene/loadingPro10.png
resource/loadingScene/loadingPro10.png
resource/loadingScene/loadingPro10.png
resource/loadingScene/loadingPro10.png
  • 2-up
  • Swipe
  • Onion skin
resource/loadingScene/loadingPro11.png

19.4 KB | W: | H:

resource/loadingScene/loadingPro11.png

10.6 KB | W: | H:

resource/loadingScene/loadingPro11.png
resource/loadingScene/loadingPro11.png
resource/loadingScene/loadingPro11.png
resource/loadingScene/loadingPro11.png
  • 2-up
  • Swipe
  • Onion skin
resource/loadingScene/loadingPro2.png

19.3 KB | W: | H:

resource/loadingScene/loadingPro2.png

10.7 KB | W: | H:

resource/loadingScene/loadingPro2.png
resource/loadingScene/loadingPro2.png
resource/loadingScene/loadingPro2.png
resource/loadingScene/loadingPro2.png
  • 2-up
  • Swipe
  • Onion skin
resource/loadingScene/loadingPro3.png

19.3 KB | W: | H:

resource/loadingScene/loadingPro3.png

10.6 KB | W: | H:

resource/loadingScene/loadingPro3.png
resource/loadingScene/loadingPro3.png
resource/loadingScene/loadingPro3.png
resource/loadingScene/loadingPro3.png
  • 2-up
  • Swipe
  • Onion skin
resource/loadingScene/loadingPro4.png

19.5 KB | W: | H:

resource/loadingScene/loadingPro4.png

10.5 KB | W: | H:

resource/loadingScene/loadingPro4.png
resource/loadingScene/loadingPro4.png
resource/loadingScene/loadingPro4.png
resource/loadingScene/loadingPro4.png
  • 2-up
  • Swipe
  • Onion skin
resource/loadingScene/loadingPro5.png

19.5 KB | W: | H:

resource/loadingScene/loadingPro5.png

10.5 KB | W: | H:

resource/loadingScene/loadingPro5.png
resource/loadingScene/loadingPro5.png
resource/loadingScene/loadingPro5.png
resource/loadingScene/loadingPro5.png
  • 2-up
  • Swipe
  • Onion skin
resource/loadingScene/loadingPro6.png

19.4 KB | W: | H:

resource/loadingScene/loadingPro6.png

10.3 KB | W: | H:

resource/loadingScene/loadingPro6.png
resource/loadingScene/loadingPro6.png
resource/loadingScene/loadingPro6.png
resource/loadingScene/loadingPro6.png
  • 2-up
  • Swipe
  • Onion skin
resource/loadingScene/loadingPro7.png

19.6 KB | W: | H:

resource/loadingScene/loadingPro7.png

10.6 KB | W: | H:

resource/loadingScene/loadingPro7.png
resource/loadingScene/loadingPro7.png
resource/loadingScene/loadingPro7.png
resource/loadingScene/loadingPro7.png
  • 2-up
  • Swipe
  • Onion skin
resource/loadingScene/loadingPro8.png

19.6 KB | W: | H:

resource/loadingScene/loadingPro8.png

10.8 KB | W: | H:

resource/loadingScene/loadingPro8.png
resource/loadingScene/loadingPro8.png
resource/loadingScene/loadingPro8.png
resource/loadingScene/loadingPro8.png
  • 2-up
  • Swipe
  • Onion skin
resource/loadingScene/loadingPro9.png

19.5 KB | W: | H:

resource/loadingScene/loadingPro9.png

10.7 KB | W: | H:

resource/loadingScene/loadingPro9.png
resource/loadingScene/loadingPro9.png
resource/loadingScene/loadingPro9.png
resource/loadingScene/loadingPro9.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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