Commit bff8126a authored by wjf's avatar wjf

l

parent 7e745786
...@@ -234,7 +234,7 @@ export default class MainBase extends eui.UILayer { ...@@ -234,7 +234,7 @@ export default class MainBase extends eui.UILayer {
// tslint:disable-next-line: cyclomatic-complexity // tslint:disable-next-line: cyclomatic-complexity
private async runGame() { private async runGame() {
await this.loadResource(); await this.loadResource();
RES.getResAsync('mapBg_mp3'); RES.getResAsync('mapBg_mp3');
RES.getResAsync('sharefriend_jpg'); RES.getResAsync('sharefriend_jpg');
RES.getResAsync(`nums_png`); RES.getResAsync(`nums_png`);
...@@ -263,7 +263,11 @@ export default class MainBase extends eui.UILayer { ...@@ -263,7 +263,11 @@ export default class MainBase extends eui.UILayer {
RES.getResAsync('maplight2_png'); RES.getResAsync('maplight2_png');
RES.getResAsync('main_mapbottom_png'); RES.getResAsync('main_mapbottom_png');
RES.getResAsync('lightani_png'); RES.getResAsync('lightani_png');
//新增情人节元素,四张图片
for (var i = 0; i < 4; i++) {
RES.getResAsync("chocolate" + i + "_png")
}
for (var i = 1; i < 19; i++) { for (var i = 1; i < 19; i++) {
RES.getResAsync("boom" + i + "_png") RES.getResAsync("boom" + i + "_png")
...@@ -436,7 +440,7 @@ export default class MainBase extends eui.UILayer { ...@@ -436,7 +440,7 @@ export default class MainBase extends eui.UILayer {
RES.getResAsync('loading_jpg', (t) => { r(t) }, this) RES.getResAsync('loading_jpg', (t) => { r(t) }, this)
}) })
]); ]);
} }
catch (e) { catch (e) {
console.error(e); console.error(e);
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
"name": "signprize" "name": "signprize"
}, },
{ {
"keys": "turnnoprize再来一次2_png,toast_png,sharenums_png,sharenums_fnt,share_btn2_png,share_btn1_png,prizePanelbg_png,nums3_png,nums3_fnt,nums2_png,nums2_fnt,nums_png,nums_fnt,lightani_png,exchangebtn_png,cutTimeFont_png,cutTimeFont_fnt,common_yuanbao_png,common_prop3_png,common_prop2_png,common_prop1_png,common_prizelight_png,common_money_png,common_blood_png,common_adbg_png,commmon_okbtn1_png,closeCommonBtn_png,btn_png,alertbg_png,朋友圈中间分享蒙层1_jpg,按钮 副本 4_png,按钮 副本 3_png,common_block_png,common_block_front_png,common_block_bg_yellow_png,common_block_bg_red_png,common_block_bg_blue_png", "keys": "turnnoprize再来一次2_png,toast_png,sharenums_png,sharenums_fnt,share_btn2_png,share_btn1_png,prizePanelbg_png,nums3_png,nums3_fnt,nums2_png,nums2_fnt,nums_png,nums_fnt,lightani_png,exchangebtn_png,cutTimeFont_png,cutTimeFont_fnt,common_yuanbao_png,common_prop3_png,common_prop2_png,common_prop1_png,common_prizelight_png,common_money_png,common_blood_png,common_adbg_png,commmon_okbtn1_png,closeCommonBtn_png,btn_png,alertbg_png,朋友圈中间分享蒙层1_jpg,按钮 副本 4_png,按钮 副本 3_png,common_block_png,common_block_front_png,common_block_bg_yellow_png,common_block_bg_red_png,common_block_bg_blue_png,chocolate3_png,chocolate1_png,chocolate0_png,chocolate2_png",
"name": "common" "name": "common"
}, },
{ {
...@@ -4287,6 +4287,26 @@ ...@@ -4287,6 +4287,26 @@
"url": "assets/redbombtips/redbagtips_elexx.png", "url": "assets/redbombtips/redbagtips_elexx.png",
"type": "image", "type": "image",
"name": "redbagtips_elexx_png" "name": "redbagtips_elexx_png"
},
{
"url": "assets/common/chocolate1.png",
"type": "image",
"name": "chocolate1_png"
},
{
"url": "assets/common/chocolate0.png",
"type": "image",
"name": "chocolate0_png"
},
{
"url": "assets/common/chocolate3.png",
"type": "image",
"name": "chocolate3_png"
},
{
"url": "assets/common/chocolate2.png",
"type": "image",
"name": "chocolate2_png"
} }
] ]
} }
\ No newline at end of file
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