Commit e0d945f7 authored by wildfirecode's avatar wildfirecode

1

parent c23039ce
......@@ -6,7 +6,7 @@
"globalBackgroundY": 0,
"globalBackgroundWidth": -1,
"globalBackgroundHeight": -1,
"globalBackgroundColor": "#c1c1c1",
"globalBackgroundColor": "#cecece",
"globalBackgroundImage": "",
"globalAutoLayerMarkEnable": false,
"gridColor": 13238148,
......@@ -169,7 +169,9 @@
"16c95475a4e": {
"backgroundType": "user",
"useBgImage": false,
"useBgColor": true
"useBgColor": true,
"backgroundColor": "#cecece",
"backgroundAlpha": 100
},
"16c984f7919": {
"backgroundType": "user",
......
<?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">
<w:Config id="16c95475a4e"/>
<e:Image y="50" horizontalCenter="0" source="购买锤子_png"/>
<e:Button id="buyBtn" label="" y="589" horizontalCenter="0">
<e:skinName>
<e:Skin states="up,down,disabled">
<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:Skin>
</e:skinName>
</e:Button>
<e:Button id="closeBtn" label="" x="606" y="211">
<e:Image y="-62" source="购买锤子_png" horizontalCenter="0"/>
<e:Button id="closeBtn" label="" x="608" y="289">
<e:skinName>
<e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing">
<e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/>
......@@ -18,10 +10,18 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Group y="706" horizontalCenter="0">
<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: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:Label id="priceTxt" text="-3" x="257.08" y="613" bold="true" size="47" touchEnabled="false" width="131" textAlign="right" fontFamily="FZY3JW"/>
<e:Button id="buyBtn" label="" y="667" horizontalCenter="2">
<e:skinName>
<e:Skin states="up,down,disabled">
<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:Skin>
</e:skinName>
</e:Button>
<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:Skin>
\ No newline at end of file
<?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:Image y="50" horizontalCenter="0" source="购买炸弹_png"/>
<e:Button id="buyBtn" label="" y="589" horizontalCenter="0">
<e:skinName>
<e:Skin states="up,down,disabled">
<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:Skin>
</e:skinName>
</e:Button>
<e:Button id="closeBtn" label="" x="608" y="209">
<e:Image y="-62" horizontalCenter="0" source="购买炸弹_png"/>
<e:Button id="closeBtn" label="" x="597.39" y="278.7">
<e:skinName>
<e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing">
<e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/>
......@@ -17,10 +9,18 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Group y="706" horizontalCenter="0">
<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: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:Label id="priceTxt" text="-2" x="243.08" y="611" bold="true" size="50" touchEnabled="false" width="144" textAlign="right" fontFamily="FZY3JW"/>
<e:Button id="buyBtn" label="" y="667" horizontalCenter="2">
<e:skinName>
<e:Skin states="up,down,disabled">
<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:Skin>
</e:skinName>
</e:Button>
<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:Skin>
\ No newline at end of file
<?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">
<w:Config id="16c984f7919"/>
<e:Image y="50" horizontalCenter="0" source="购买步数增加_png"/>
<e:Button id="buyBtn" label="" y="589" horizontalCenter="0">
<e:skinName>
<e:Skin states="up,down,disabled">
<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:Skin>
</e:skinName>
</e:Button>
<e:Button id="closeBtn" label="" x="616" y="207">
<e:Image y="-62" horizontalCenter="0" source="购买步数增加_png"/>
<e:Button id="closeBtn" label="" x="592" y="289">
<e:skinName>
<e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing">
<e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/>
......@@ -18,10 +10,18 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Group y="706" horizontalCenter="0">
<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: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:Label id="priceTxt" text="-5" x="250.08" y="613" bold="true" size="48" touchEnabled="false" width="140" textAlign="right" fontFamily="FZY3JW"/>
<e:Button id="buyBtn" label="" y="667" horizontalCenter="2">
<e:skinName>
<e:Skin states="up,down,disabled">
<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:Skin>
</e:skinName>
</e:Button>
<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:Skin>
\ No newline at end of file
<?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">
<w:Config id="16d5c2563cb"/>
<e:Image y="206.15" source="shopTip_bg_png" horizontalCenter="0"/>
<e:Button id="closeBtn" label="" x="611" y="214.15">
<e:Image source="shopTip_bg_png" y="128" x="3"/>
<e:Button id="closeBtn" label="" x="611" y="313.15">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/>
......@@ -10,5 +10,5 @@
</e:Skin>
</e:skinName>
</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>
......@@ -23,10 +23,10 @@ export default class Buy1Panel extends Panel {
this.data = data;
this['buyBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, this.ontap, this);
this.showlog();
this['priceTxt'].text = '-' + window['price3'];
this['priceTxt'].text = '' + window['price3'];
this['moneyTxt'].text = getHomeData().wealth;
setGlow(this['priceTxt'], 0x0083e8, 1);
setGlow(this['priceTxt'], 0xea5317, 1);
}
showlog() {
......
......@@ -22,8 +22,8 @@ export default class Buy2Panel extends Panel {
this['buyBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, this.ontap, this);
this.showlog();
this['priceTxt'].text = '-' + window['price2'];
setGlow(this['priceTxt'], 0x0083e8, 1);
this['priceTxt'].text = '' + window['price2'];
setGlow(this['priceTxt'], 0xea5317, 1);
this['moneyTxt'].text = getHomeData().wealth;
}
......
......@@ -22,8 +22,8 @@ export default class Buy3Panel extends Panel {
this['buyBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, this.ontap, this);
this.showlog();
this['priceTxt'].text = '-' + window['price4'];
setGlow(this['priceTxt'], 0x0083e8, 1);
this['priceTxt'].text = '' + window['price4'];
setGlow(this['priceTxt'], 0xea5317, 1);
this['moneyTxt'].text = getHomeData().wealth;
}
......
......@@ -36,6 +36,9 @@ export default class ShopPanel extends Panel {
this['price3Txt'].text = window['price4'];
this['price4Txt'].text = window['price5'];
this['price1Txt'].touchEnabled=false;
this['price2Txt'].touchEnabled=false;
this['price3Txt'].touchEnabled=false;
setGlow(this['price1Txt'],0xea5317,1);
setGlow(this['price2Txt'],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