Commit 62891254 authored by 熊东起's avatar 熊东起

优化1

parent 051597b2
......@@ -4477,7 +4477,7 @@ exports.ResJson = {
}
}
],
"path": "https://yun.duiba.com.cn/db_games/activity/kickball-feile/1598514421/resource/"
"path": "https://yun.duiba.com.cn/db_games/activity/kickball-feile/1598528630/resource/"
};
......@@ -5198,27 +5198,6 @@ exports.default = (function (type) { return __awaiter(_this, void 0, void 0, fun
}); });
/***/ }),
/***/ "./src/ctrls/getCaixukunTime.ts":
/*!**************************************!*\
!*** ./src/ctrls/getCaixukunTime.ts ***!
\**************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var time = 1594178400000;
exports.default = (function () {
return time;
});
exports.getCaixukunName = function () {
return Date.now() > time ? '蔡徐坤' : '代言人';
};
/***/ }),
/***/ "./src/ctrls/getExtraPrize.ts":
......@@ -9709,7 +9688,7 @@ var Tip2Panel = (function (_super) {
TipPanel_1.centerImage(ruleBg);
this.addChild(ruleBg);
var _a = TaoBaoNet_1.getTbData(TaoBaoNet_1.TbNetName.filaStarGetActivityBaseInfoById).data, drawLimit = _a.drawLimit, image = _a.drawPrize.image;
var content = "\u6392\u540D\u524D" + drawLimit + "\uFF0C\u989D\u5916\u83B7\u5F97\u62BD\u8521\u5F90\u5764\u4EB2\u7B14\u7B7E\u540D\u7167\u673A\u4F1A\uFF01";
var content = "\u6392\u540D\u524D" + drawLimit + "\uFF0C\u989D\u5916\u83B7\u5F97\u62BD\u53D6\u661F\u8000\u6237\u5916\u978B\u7684\u673A\u4F1A\uFF01";
var text = Tools_1.Tool.getText(content, 30, '#091631', FYGE.TEXT_ALIGN.LEFT, 493);
text.lineType = FYGE.TEXT_lINETYPE.MULTI;
ruleBg.addChild(text);
......@@ -9785,7 +9764,6 @@ var Panel_1 = __webpack_require__(/*! ../../module/views/Panel */ "./module/view
var Tools_1 = __webpack_require__(/*! ../Tools */ "./src/Tools.ts");
var TipPanel_1 = __webpack_require__(/*! ./TipPanel */ "./src/panels/TipPanel.ts");
var ctrls_1 = __webpack_require__(/*! ../../module/ctrls */ "./module/ctrls/index.ts");
var getCaixukunTime_1 = __webpack_require__(/*! ../ctrls/getCaixukunTime */ "./src/ctrls/getCaixukunTime.ts");
var RecordScene_1 = __webpack_require__(/*! ../scenes/RecordScene */ "./src/scenes/RecordScene.ts");
var TipFailPanel = (function (_super) {
__extends(TipFailPanel, _super);
......@@ -9796,7 +9774,7 @@ var TipFailPanel = (function (_super) {
var ruleBg = Tools_1.Tool.getSprite("tipFailPanelBg.png");
TipPanel_1.centerImage(ruleBg);
this.addChild(ruleBg);
var content = "\u8FD0\u6C14\u5DEE\u4E86\u4E00\u4E22\u4E22\n\u4F60\u4E0E" + getCaixukunTime_1.getCaixukunName() + "\u4EB2\u7B14\u7B7E\u540D\u7167\u64E6\u80A9\u800C\u8FC7";
var content = "\u8FD0\u6C14\u5DEE\u4E86\u4E00\u4E22\u4E22\n\u4F60\u4E0E\u661F\u8000\u6237\u5916\u978B\u64E6\u80A9\u800C\u8FC7";
var text = Tools_1.Tool.getText(content, 30, '#091631', FYGE.TEXT_ALIGN.CENTER, ruleBg.width);
text.lineType = FYGE.TEXT_lINETYPE.MULTI;
ruleBg.addChild(text);
......@@ -9865,7 +9843,6 @@ var RES_1 = __webpack_require__(/*! ../../module/RES */ "./module/RES.ts");
var Panel_1 = __webpack_require__(/*! ../../module/views/Panel */ "./module/views/Panel.ts");
var TaoBaoNet_1 = __webpack_require__(/*! ../TaoBaoNet */ "./src/TaoBaoNet.ts");
var Tools_1 = __webpack_require__(/*! ../Tools */ "./src/Tools.ts");
var getCaixukunTime_1 = __webpack_require__(/*! ../ctrls/getCaixukunTime */ "./src/ctrls/getCaixukunTime.ts");
exports.centerImage = function (img) {
img.x = 750 / 2 - img.width / 2;
img.y = 1624 / 2 - img.height / 2;
......@@ -9888,7 +9865,7 @@ var TipPanel = (function (_super) {
exports.centerImage(ruleBg);
this.addChild(ruleBg);
var _a = TaoBaoNet_1.getTbData(TaoBaoNet_1.TbNetName.filaStarGetActivityBaseInfoById).data, drawLimit = _a.drawLimit, image = _a.drawPrize.image;
var content = "\u6D3B\u52A8\u7ED3\u675F\u6392\u540D\u8FBE\u5230\u524D" + drawLimit + "\u540D\u7684\u7528\u6237\uFF0C\n\u6709\u673A\u4F1A\u62BD" + getCaixukunTime_1.getCaixukunName() + "\u4EB2\u7B14\u7B7E\u540D\u7167\uFF01";
var content = "\u6D3B\u52A8\u7ED3\u675F\u6392\u540D\u8FBE\u5230\u524D" + drawLimit + "\u540D\u7684\u7528\u6237\uFF0C\n\u6709\u673A\u4F1A\u62BD\u53D6\u661F\u8000\u6237\u5916\u978B\uFF01";
var text = Tools_1.Tool.getText(content, 30, '#091631', FYGE.TEXT_ALIGN.CENTER, ruleBg.width);
text.lineType = FYGE.TEXT_lINETYPE.MULTI;
ruleBg.addChild(text);
......@@ -11514,7 +11491,7 @@ var StartScene = (function (_super) {
this.startBtnTewwn();
ruleBtn = new FYGE.Button(RES_1.RES.getRes("ruleBtn.png"));
ruleBtnY = 280;
if (layers_1.layers.stageHeight < 1206) {
if (layers_1.layers.stageHeight < 1334) {
ruleBtnY = layers_1.layers.stageOffsetY + 280;
}
ruleBtn.position.set(-1, ruleBtnY);
......
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