Commit 22e44821 authored by haiyoucuv's avatar haiyoucuv

1

parent c79a7f79
......@@ -3,10 +3,6 @@
<component name="ChangeListManager">
<list default="true" id="9cef0552-af3c-4a1c-be1f-dc41ebe5b6db" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mock/miniTb/babycare.getGameInfo.json" beforeDir="false" afterPath="$PROJECT_DIR$/mock/miniTb/babycare.getGameInfo.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json" beforeDir="false" afterPath="$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/res.json" beforeDir="false" afterPath="$PROJECT_DIR$/resource/res.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ResJson.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/ResJson.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/map/MapUI.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapUI.ts" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
......@@ -132,7 +128,7 @@
<workItem from="1596079283722" duration="2448000" />
<workItem from="1596185145914" duration="75000" />
<workItem from="1596187812585" duration="636000" />
<workItem from="1596418925126" duration="5389000" />
<workItem from="1596418925126" duration="7132000" />
</task>
<task id="LOCAL-00001" summary="111">
<created>1594122339119</created>
......@@ -479,10 +475,10 @@
<screen x="31" y="23" width="1889" height="1177" />
</state>
<state x="82" y="353" key="IDE.errors.dialog/31.23.1889.1177@31.23.1889.1177" timestamp="1594777965326" />
<state x="209" y="320" key="RollbackChangesDialog" timestamp="1596434350752">
<state x="209" y="320" key="RollbackChangesDialog" timestamp="1596435067937">
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state x="209" y="320" key="RollbackChangesDialog/30.23.1890.1177@30.23.1890.1177" timestamp="1596434350752" />
<state x="209" y="320" key="RollbackChangesDialog/30.23.1890.1177@30.23.1890.1177" timestamp="1596435067937" />
<state x="210" y="320" key="RollbackChangesDialog/31.23.1889.1177@31.23.1889.1177" timestamp="1594173186663" />
<state x="289" y="314" key="SettingsEditor" timestamp="1596079390860">
<screen x="30" y="23" width="1890" height="1177" />
......
......@@ -268,6 +268,7 @@ class PrizeBox extends Button {
private initUi(data) {
this.position.set(553, 289);
// this.position.set(503, 289);
this.scale.set(1.2, 1.2);
this.checkTip = this.addChild(Tools.getText(
......@@ -285,12 +286,12 @@ class PrizeBox extends Button {
this.prizeImg = this.addChild(Tools.getSprite('map_star_enable.png', 39, 150));
// 490*180
this.prizeImg.width = 98;
this.prizeImg.height = 36;
this.prizeImg.width = 125;
this.prizeImg.height = 46;
this.prizeImg.scale.set(1.2, 1.2);
this.prizeImg.x = (this.width - 98) / 2 - 15;
this.prizeImg.x = (this.width - 98) / 2 - 28;
// this.prizeImg.anchorTexture.x = 0.5;
this.prizeImg.y -= 11;
this.prizeImg.y -= 12;
const prizes = Tools.gameData.prizes;
if (prizes.length <= 0) {
......@@ -318,9 +319,16 @@ class PrizeBox extends Button {
const index = getTbData(TbNetName.getIndex).data
this.checkTip.text = index.topAward.openPrizeStatus
? '已开奖' : '等待开奖';
this.tip.text = `8月28日10点`;
this.prizeImg.y += 4;
? '已开奖' : '8月31日10点';
this.checkTip.size = 18;
// ? '已开奖' : '等待开奖';
// this.tip.text = `8月31日10点`;
this.tip.text = ``;
this.prizeImg.y -= 28;
this.prizeImg.width = 204;
this.prizeImg.height = 80;
this.prizeImg.x = (this.width - 98) / 2 - 70;
this.prizeImg.texture = Texture.fromUrl(Tools.baseInfo.levelPrize['level_120']);
this.addEventListener(FYGE.MouseEvent.CLICK, () => {
//有需要,到时再改
......
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