Commit 1aaa90fb authored by 邱旭's avatar 邱旭

放大兑换item

parent 64f07581
......@@ -46,10 +46,9 @@
<select />
</component>
<component name="ChangeListManager">
<list default="true" id="91d65b22-e37e-4b17-b43e-cdc81b9fe6ff" name="Default Changelist" comment="去掉水稻的免费送到家牌子">
<list default="true" id="91d65b22-e37e-4b17-b43e-cdc81b9fe6ff" 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$/egret/resource/skins/MainUISkin.exml" beforeDir="false" afterPath="$PROJECT_DIR$/egret/resource/skins/MainUISkin.exml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/egret/src/Scenes/MainScene/MainUI.ts" beforeDir="false" afterPath="$PROJECT_DIR$/egret/src/Scenes/MainScene/MainUI.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/egret/src/Panels/ExchangePanel.ts" beforeDir="false" afterPath="$PROJECT_DIR$/egret/src/Panels/ExchangePanel.ts" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -126,7 +125,7 @@
<recent name="$PROJECT_DIR$/egret" />
</key>
</component>
<component name="RunManager" selected="npm.build">
<component name="RunManager" selected="npm.dev">
<configuration name="banner.html" type="JavascriptDebugType" temporary="true" nameIsGenerated="true" uri="http://localhost:63342/JoyousManor/banner.html" useBuiltInWebServerPort="true">
<method v="2" />
</configuration>
......@@ -172,8 +171,8 @@
</configuration>
<recent_temporary>
<list>
<item itemvalue="npm.build" />
<item itemvalue="npm.dev" />
<item itemvalue="npm.build" />
<item itemvalue="npm.buildTS" />
<item itemvalue="npm.buildExml" />
</list>
......@@ -306,14 +305,8 @@
<workItem from="1616726563592" duration="2909000" />
<workItem from="1617241624365" duration="1077000" />
<workItem from="1617791003651" duration="1089000" />
<workItem from="1618222309726" duration="1717000" />
</task>
<task id="LOCAL-00011" summary="新人刷新道具">
<created>1603854998590</created>
<option name="number" value="00011" />
<option name="presentableId" value="LOCAL-00011" />
<option name="project" value="LOCAL" />
<updated>1603854998590</updated>
<workItem from="1618222309726" duration="1740000" />
<workItem from="1618284659291" duration="605000" />
</task>
<task id="LOCAL-00012" summary="新人刷新道具">
<created>1603855053198</created>
......@@ -651,7 +644,14 @@
<option name="project" value="LOCAL" />
<updated>1617791224279</updated>
</task>
<option name="localTasksCounter" value="60" />
<task id="LOCAL-00060" summary="修改轮播文案,并且变大一点">
<created>1618224046825</created>
<option name="number" value="00060" />
<option name="presentableId" value="LOCAL-00060" />
<option name="project" value="LOCAL" />
<updated>1618224046825</updated>
</task>
<option name="localTasksCounter" value="61" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
......@@ -672,7 +672,6 @@
<component name="VcsManagerConfiguration">
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
<option name="CHECK_NEW_TODO" value="false" />
<MESSAGE value="新人刷新道具" />
<MESSAGE value="对svga videoItem做缓存" />
<MESSAGE value="优化仓库" />
<MESSAGE value="优化" />
......@@ -697,6 +696,7 @@
<MESSAGE value="Default Changelist" />
<MESSAGE value="去掉鸡的免费送到家牌子" />
<MESSAGE value="去掉水稻的免费送到家牌子" />
<option name="LAST_COMMIT_MESSAGE" value="去掉水稻的免费送到家牌子" />
<MESSAGE value="修改轮播文案,并且变大一点" />
<option name="LAST_COMMIT_MESSAGE" value="修改轮播文案,并且变大一点" />
</component>
</project>
\ No newline at end of file
......@@ -132,8 +132,10 @@ export default class ExchangePanel extends Panel {
const group = this[`${v}_group`];
const label = this[`${v}_label`];
group.scaleX = 1.5;
group.scaleY = 1.5;
group.visible = true;
group.x = 80 * i;
group.x = 90 * i;
label.textFlow = <Array<egret.ITextElement>>[
{
text: products[v].toString(),
......@@ -146,6 +148,7 @@ export default class ExchangePanel extends Panel {
// 显示+号
for(let i = 1; i < showList.length; i++) {
this[`add${i}`].visible = true;
this[`add${i}`].x += i * 10;
}
}
......
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