Commit 45ab0317 authored by wildfirecode's avatar wildfirecode

1

parent 6f9889a7
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"blood2","version":5,"files":["../assets/blood2/blood2按钮 副本1.png","../assets/blood2/blood2按钮 副本.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"exchange","version":5,"files":["../assets/buy2/购买炸弹.png"]}
\ No newline at end of file
...@@ -75,6 +75,10 @@ ...@@ -75,6 +75,10 @@
{ {
"keys": "blood2按钮 副本1_png,blood2按钮 副本_png", "keys": "blood2按钮 副本1_png,blood2按钮 副本_png",
"name": "blood2" "name": "blood2"
},
{
"keys": "购买炸弹_png",
"name": "exchange"
} }
], ],
"resources": [ "resources": [
......
...@@ -2,11 +2,9 @@ ...@@ -2,11 +2,9 @@
"skins": {}, "skins": {},
"autoGenerateExmlsList": true, "autoGenerateExmlsList": true,
"exmls": [ "exmls": [
"resource/skins/SignSkin.exml",
"resource/skins/SignPrizeSkin.exml",
"resource/skins/AlertSkin.exml", "resource/skins/AlertSkin.exml",
"resource/skins/BloodSkin.exml",
"resource/skins/Blood2Skin.exml", "resource/skins/Blood2Skin.exml",
"resource/skins/BloodSkin.exml",
"resource/skins/Box2Skin.exml", "resource/skins/Box2Skin.exml",
"resource/skins/BoxSkin.exml", "resource/skins/BoxSkin.exml",
"resource/skins/Buy1Skin.exml", "resource/skins/Buy1Skin.exml",
...@@ -35,6 +33,8 @@ ...@@ -35,6 +33,8 @@
"resource/skins/ShareSkin.exml", "resource/skins/ShareSkin.exml",
"resource/skins/ShopSkin.exml", "resource/skins/ShopSkin.exml",
"resource/skins/ShowOffSkin.exml", "resource/skins/ShowOffSkin.exml",
"resource/skins/SignPrizeSkin.exml",
"resource/skins/SignSkin.exml",
"resource/skins/StarSkin.exml", "resource/skins/StarSkin.exml",
"resource/skins/StartPanelSkin.exml", "resource/skins/StartPanelSkin.exml",
"resource/skins/StartSkin.exml", "resource/skins/StartSkin.exml",
......
...@@ -4,7 +4,7 @@ interface IHomeData { ...@@ -4,7 +4,7 @@ interface IHomeData {
totalStars; totalStars;
canReceiveTreasureBoxNum; canReceiveTreasureBoxNum;
isGetAllTreasureBox; isGetAllTreasureBox;
countdown; refectionCountdown;
wealth; wealth;
remainEnargy; remainEnargy;
nextRangeStarsNum; nextRangeStarsNum;
......
...@@ -274,7 +274,7 @@ export default class MapScene extends Scene { ...@@ -274,7 +274,7 @@ export default class MapScene extends Scene {
this._countDown.stop(); this._countDown.stop();
this['countdown'].visible = false; this['countdown'].visible = false;
} else { } else {
const left = data.countdown - Math.floor(new Date().getTime() / 1000); const left = data.refectionCountdown - Math.floor(new Date().getTime() / 1000);
this._countDown.reset(left); this._countDown.reset(left);
this['countdown'].visible = true; this['countdown'].visible = true;
} }
......
...@@ -45,7 +45,7 @@ this['price1Txt'].text = window['price1']; ...@@ -45,7 +45,7 @@ this['price1Txt'].text = window['price1'];
this['countdownTxt'].visible=false; this['countdownTxt'].visible=false;
}else { }else {
this['countdownTxt'].visible=true; this['countdownTxt'].visible=true;
const left = data.countdown - Math.floor(new Date().getTime() / 1000); const left = data.refectionCountdown - Math.floor(new Date().getTime() / 1000);
this._countDown.reset(left); this._countDown.reset(left);
} }
} }
......
...@@ -45,7 +45,7 @@ this['price1Txt'].text = window['price1']; ...@@ -45,7 +45,7 @@ this['price1Txt'].text = window['price1'];
this['countdownTxt'].visible=false; this['countdownTxt'].visible=false;
}else { }else {
this['countdownTxt'].visible=true; this['countdownTxt'].visible=true;
const left = data.countdown - Math.floor(new Date().getTime() / 1000); const left = data.refectionCountdown - Math.floor(new Date().getTime() / 1000);
this._countDown.reset(left); this._countDown.reset(left);
} }
} }
......
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