Commit e0d945f7 authored by wildfirecode's avatar wildfirecode

1

parent c23039ce
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"globalBackgroundY": 0, "globalBackgroundY": 0,
"globalBackgroundWidth": -1, "globalBackgroundWidth": -1,
"globalBackgroundHeight": -1, "globalBackgroundHeight": -1,
"globalBackgroundColor": "#c1c1c1", "globalBackgroundColor": "#cecece",
"globalBackgroundImage": "", "globalBackgroundImage": "",
"globalAutoLayerMarkEnable": false, "globalAutoLayerMarkEnable": false,
"gridColor": 13238148, "gridColor": 13238148,
...@@ -169,7 +169,9 @@ ...@@ -169,7 +169,9 @@
"16c95475a4e": { "16c95475a4e": {
"backgroundType": "user", "backgroundType": "user",
"useBgImage": false, "useBgImage": false,
"useBgColor": true "useBgColor": true,
"backgroundColor": "#cecece",
"backgroundAlpha": 100
}, },
"16c984f7919": { "16c984f7919": {
"backgroundType": "user", "backgroundType": "user",
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="Buy1Skin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="Buy1Skin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<w:Config id="16c95475a4e"/> <w:Config id="16c95475a4e"/>
<e:Image y="50" horizontalCenter="0" source="购买锤子_png"/> <e:Image y="-62" source="购买锤子_png" horizontalCenter="0"/>
<e:Button id="buyBtn" label="" y="589" horizontalCenter="0"> <e:Button id="closeBtn" label="" x="608" y="289">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing">
<e:Image width="100%" height="100%" source="exchangebtn_png" source.down="exchangebtn_png" source.disabled="exchangebtn_png"/> <e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/> <e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="closeBtn" label="" x="606" y="211"> <e:Group y="820" horizontalCenter="2.5">
<e:Label text="剩余:" x="34.88" y="0" size="24" fontFamily="FZY3JW" textColor="0xc17343"/>
<e:Label id="moneyTxt" text="0000000000" x="96.97" y="0" size="24" fontFamily="FZY3JW" textColor="0xc17343"/>
<e:Image source="common_yuanbao_png" x="2.93" y="1.04"/>
</e:Group>
<e:Button id="buyBtn" label="" y="667" horizontalCenter="2">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/> <e:Image width="100%" height="100%" source="exchangebtn_png" source.down="exchangebtn_png" source.disabled="exchangebtn_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/> <e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Group y="706" horizontalCenter="0"> <e:Label id="priceTxt" text="3" x="251.73" y="703.65" bold="true" size="40" touchEnabled="false" width="131" textAlign="right" fontFamily="FZY3JW"/>
<e:Label text="可使用的元宝:" x="34.88" y="0" textColor="0x885037" size="24" fontFamily="FZY3JW"/>
<e:Label id="moneyTxt" text="00000" x="192.97" y="0" textColor="0x885037" size="24" fontFamily="FZY3JW"/>
<e:Image source="common_yuanbao_png" x="2.93" y="1.04"/>
</e:Group>
<e:Label id="priceTxt" text="-3" x="257.08" y="613" bold="true" size="47" touchEnabled="false" width="131" textAlign="right" fontFamily="FZY3JW"/>
</e:Skin> </e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="Buy2Skin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="Buy2Skin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image y="50" horizontalCenter="0" source="购买炸弹_png"/> <e:Image y="-62" horizontalCenter="0" source="购买炸弹_png"/>
<e:Button id="buyBtn" label="" y="589" horizontalCenter="0"> <e:Button id="closeBtn" label="" x="597.39" y="278.7">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing">
<e:Image width="100%" height="100%" source="exchangebtn_png" source.down="exchangebtn_png" source.disabled="exchangebtn_png"/> <e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/> <e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="closeBtn" label="" x="608" y="209"> <e:Group y="820" horizontalCenter="0">
<e:Label text="剩余:" x="34.88" y="0" textColor="0xC17343" size="24" fontFamily="FZY3JW"/>
<e:Label id="moneyTxt" text="0000000000" x="96.97" y="0" textColor="0xC17343" size="24" fontFamily="FZY3JW"/>
<e:Image source="common_yuanbao_png" x="2.93" y="1.04"/>
</e:Group>
<e:Button id="buyBtn" label="" y="667" horizontalCenter="2">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/> <e:Image width="100%" height="100%" source="exchangebtn_png" source.down="exchangebtn_png" source.disabled="exchangebtn_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/> <e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Group y="706" horizontalCenter="0"> <e:Label id="priceTxt" text="3" x="251.73" y="703.65" bold="true" size="40" touchEnabled="false" width="131" textAlign="right" fontFamily="FZY3JW"/>
<e:Label text="可使用的元宝:" x="34.88" y="0" textColor="0x885037" size="24" fontFamily="FZY3JW"/>
<e:Label id="moneyTxt" text="00000" x="192.97" y="0" textColor="0x885037" size="24" fontFamily="FZY3JW"/>
<e:Image source="common_yuanbao_png" x="2.93" y="1.04"/>
</e:Group>
<e:Label id="priceTxt" text="-2" x="243.08" y="611" bold="true" size="50" touchEnabled="false" width="144" textAlign="right" fontFamily="FZY3JW"/>
</e:Skin> </e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="Buy3Skin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="Buy3Skin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<w:Config id="16c984f7919"/> <w:Config id="16c984f7919"/>
<e:Image y="50" horizontalCenter="0" source="购买步数增加_png"/> <e:Image y="-62" horizontalCenter="0" source="购买步数增加_png"/>
<e:Button id="buyBtn" label="" y="589" horizontalCenter="0"> <e:Button id="closeBtn" label="" x="592" y="289">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing">
<e:Image width="100%" height="100%" source="exchangebtn_png" source.down="exchangebtn_png" source.disabled="exchangebtn_png"/> <e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/> <e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="closeBtn" label="" x="616" y="207"> <e:Group y="820" horizontalCenter="2.5">
<e:Label text="剩余:" x="34.88" y="0" size="24" fontFamily="FZY3JW" textColor="0xC17343"/>
<e:Label id="moneyTxt" text="0000000000" x="96.97" y="0" size="24" fontFamily="FZY3JW" textColor="0xC17343"/>
<e:Image source="common_yuanbao_png" x="2.93" y="1.04"/>
</e:Group>
<e:Button id="buyBtn" label="" y="667" horizontalCenter="2">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/> <e:Image width="100%" height="100%" source="exchangebtn_png" source.down="exchangebtn_png" source.disabled="exchangebtn_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/> <e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Group y="706" horizontalCenter="0"> <e:Label id="priceTxt" text="3" x="251.73" y="703.65" bold="true" size="40" touchEnabled="false" width="131" textAlign="right" fontFamily="FZY3JW"/>
<e:Label text="可使用的元宝:" x="34.88" y="0" textColor="0x885037" size="24" fontFamily="FZY3JW"/>
<e:Label id="moneyTxt" text="00000" x="192.97" y="0" textColor="0x885037" size="24" fontFamily="FZY3JW"/>
<e:Image source="common_yuanbao_png" x="2.93" y="1.04"/>
</e:Group>
<e:Label id="priceTxt" text="-5" x="250.08" y="613" bold="true" size="48" touchEnabled="false" width="140" textAlign="right" fontFamily="FZY3JW"/>
</e:Skin> </e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="SignPrizeSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="SignPrizeSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<w:Config id="16d5c2563cb"/> <w:Config id="16d5c2563cb"/>
<e:Image y="206.15" source="shopTip_bg_png" horizontalCenter="0"/> <e:Image source="shopTip_bg_png" y="128" x="3"/>
<e:Button id="closeBtn" label="" x="611" y="214.15"> <e:Button id="closeBtn" label="" x="611" y="313.15">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/> <e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/>
...@@ -10,5 +10,5 @@ ...@@ -10,5 +10,5 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Image id="btn" y="570.15" scaleX="0.9" scaleY="0.9" horizontalCenter="0" source="shopTip_btn_png"/> <e:Image id="btn" y="761.15" scaleX="0.9" scaleY="0.9" source="shopTip_btn_png" horizontalCenter="22"/>
</e:Skin> </e:Skin>
...@@ -23,10 +23,10 @@ export default class Buy1Panel extends Panel { ...@@ -23,10 +23,10 @@ export default class Buy1Panel extends Panel {
this.data = data; this.data = data;
this['buyBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, this.ontap, this); this['buyBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, this.ontap, this);
this.showlog(); this.showlog();
this['priceTxt'].text = '-' + window['price3']; this['priceTxt'].text = '' + window['price3'];
this['moneyTxt'].text = getHomeData().wealth; this['moneyTxt'].text = getHomeData().wealth;
setGlow(this['priceTxt'], 0x0083e8, 1); setGlow(this['priceTxt'], 0xea5317, 1);
} }
showlog() { showlog() {
......
...@@ -22,8 +22,8 @@ export default class Buy2Panel extends Panel { ...@@ -22,8 +22,8 @@ export default class Buy2Panel extends Panel {
this['buyBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, this.ontap, this); this['buyBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, this.ontap, this);
this.showlog(); this.showlog();
this['priceTxt'].text = '-' + window['price2']; this['priceTxt'].text = '' + window['price2'];
setGlow(this['priceTxt'], 0x0083e8, 1); setGlow(this['priceTxt'], 0xea5317, 1);
this['moneyTxt'].text = getHomeData().wealth; this['moneyTxt'].text = getHomeData().wealth;
} }
......
...@@ -22,8 +22,8 @@ export default class Buy3Panel extends Panel { ...@@ -22,8 +22,8 @@ export default class Buy3Panel extends Panel {
this['buyBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, this.ontap, this); this['buyBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, this.ontap, this);
this.showlog(); this.showlog();
this['priceTxt'].text = '-' + window['price4']; this['priceTxt'].text = '' + window['price4'];
setGlow(this['priceTxt'], 0x0083e8, 1); setGlow(this['priceTxt'], 0xea5317, 1);
this['moneyTxt'].text = getHomeData().wealth; this['moneyTxt'].text = getHomeData().wealth;
} }
......
...@@ -36,6 +36,9 @@ export default class ShopPanel extends Panel { ...@@ -36,6 +36,9 @@ export default class ShopPanel extends Panel {
this['price3Txt'].text = window['price4']; this['price3Txt'].text = window['price4'];
this['price4Txt'].text = window['price5']; this['price4Txt'].text = window['price5'];
this['price1Txt'].touchEnabled=false;
this['price2Txt'].touchEnabled=false;
this['price3Txt'].touchEnabled=false;
setGlow(this['price1Txt'],0xea5317,1); setGlow(this['price1Txt'],0xea5317,1);
setGlow(this['price2Txt'],0xea5317,1); setGlow(this['price2Txt'],0xea5317,1);
setGlow(this['price3Txt'],0xea5317,1); setGlow(this['price3Txt'],0xea5317,1);
......
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