refactor(web):改造成vue工程
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="FashionAttrItemSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" width="222" height="31">
|
||||
<e:Label id="txt" text="niaho " x="4" y="4" size="20"
|
||||
anchorOffsetX="0" anchorOffsetY="0" height="20" textColor="0xf56f00" textAlign="left" verticalAlign="middle"/>
|
||||
</e:Skin>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="FashionAttrSkin" width="261.33" height="568" xmlns:app="app.*" xmlns:e="http://ns.egret.com/eui"
|
||||
xmlns:w="http://ns.egret.com/wing">
|
||||
<e:Group id="attrGroup" x="1" y="0" anchorOffsetX="0" width="258.33">
|
||||
<e:Image smoothing="false" touchEnabled="false" source="role_zt_bg" scale9Grid="8,8,50,50" anchorOffsetX="0" width="259.67" anchorOffsetY="0" height="568"/>
|
||||
<e:Label id="txt_cur_desc" text="Label" x="9" y="8" anchorOffsetX="0" width="223" size="20" textColor="0xcbc2b1"/>
|
||||
<e:Label id="txt_next_desc" text="Label" x="5" y="286" anchorOffsetX="0" width="223" size="20" textColor="0xff7700"/>
|
||||
<e:Label id="txt_desc" text="时装激活后无需展示也可享永久属性加成!" x="17.31" y="282" anchorOffsetX="0" width="223" size="20" textColor="0x3794fb"/>
|
||||
<e:Scroller id="scroller_cur" width="239" height="243" x="10" y="34" scrollPolicyH="off" anchorOffsetX="0" anchorOffsetY="0">
|
||||
<e:List id="list_cur" width="247" height="450" x="169" y="1.33" anchorOffsetX="0" anchorOffsetY="0" itemRendererSkinName="FashionAttrItemSkin"/>
|
||||
</e:Scroller>
|
||||
<e:Scroller id="scroller_next" width="239" height="243" x="10" y="317" scrollPolicyH="off" anchorOffsetX="0" anchorOffsetY="0">
|
||||
<e:List id="list_next" width="249" height="450" x="169" y="134" anchorOffsetX="0" anchorOffsetY="0" itemRendererSkinName="FashionAttrItemSkin"/>
|
||||
</e:Scroller>
|
||||
</e:Group>
|
||||
</e:Skin>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="FashionListItemSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:app="app.*" width="80" height="83.33">
|
||||
<app:ItemSlot2 id="itemSlot" skinName="ItemSlotSkin2"/>
|
||||
<e:Label id="count" text="" x="10" y="46" width="60" height="20" size="16" textAlign="right" verticalAlign="middle"/>
|
||||
|
||||
</e:Skin>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="FashionNewListItem" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" width="80" height="83">
|
||||
<e:Image y="4" x="10" source="quality_0"/>
|
||||
<e:Image id="icon" anchorOffsetX="0" anchorOffsetY="0" verticalCenter="-9.165" horizontalCenter="-0.5" source=""/>
|
||||
<e:Image id="sign" anchorOffsetX="0" anchorOffsetY="0" verticalCenter="-12.165" horizontalCenter="-7" source="sz_chuandai" touchEnabled="false" visible="false"/>
|
||||
<e:Label id="txtName" text="蓝色欧罗巴" y="64" size="14" verticalAlign="middle" stroke="2" height="20" textColor="0xE0AE75" width="80" textAlign="center"/>
|
||||
<e:Label id="Lv" text="" x="10" y="46" width="60" height="20" size="16" textAlign="right" verticalAlign="middle" textColor="0xe5ddcf"/>
|
||||
<e:Image id="effect" x="5.68" y="-0.33" source="sz_xuanzhong" visible="false"/>
|
||||
<e:Image id="redPoint" source="common_hongdian" x="57" y="2" visible="false"/>
|
||||
</e:Skin>
|
||||
85
public/resource/eui_skins/web/role/fashion/FashionSkin.exml
Normal file
85
public/resource/eui_skins/web/role/fashion/FashionSkin.exml
Normal file
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="FashionSkin" width="384" height="447" xmlns:app="app.*" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
|
||||
<e:Image source="sz_bg_1_png"/>
|
||||
<e:Image x="8" y="276" anchorOffsetX="0" width="370" anchorOffsetY="0" height="151" source="sz_bg_3" visible="false"/>
|
||||
<e:Image x="2.8" y="290.6" source="sz_bg_2" scale9Grid="22,21,1,1" width="379.8" height="155" anchorOffsetY="0" anchorOffsetX="0"/>
|
||||
<e:Scroller id="scroller" width="361" horizontalCenter="-0.5" verticalCenter="118.5" height="94" touchEnabled="false" touchChildren="true" anchorOffsetX="0" anchorOffsetY="0" scrollPolicyV="off">
|
||||
<e:List id="list" itemRendererSkinName="FashionNewListItem">
|
||||
<e:layout>
|
||||
<e:HorizontalLayout gap="-1"/>
|
||||
</e:layout>
|
||||
</e:List>
|
||||
</e:Scroller>
|
||||
<e:Group width="378" height="396.66" x="3" y="48.72" anchorOffsetX="0" anchorOffsetY="0" scaleX="1" scaleY="1" touchEnabled="false">
|
||||
<app:FashionBtnItemView id="attack" label="" x="30" y="6" scaleX="1" scaleY="1" skinName="Btn18Skin"/>
|
||||
<app:FashionBtnItemView id="await" label="" x="30" y="80" scaleX="1" scaleY="1" skinName="Btn17Skin"/>
|
||||
<app:FashionBtnItemView id="walk" label="" x="295.33" y="4.66" scaleX="1" scaleY="1" skinName="Btn19Skin"/>
|
||||
<app:FashionBtnItemView id="run" label="" x="294.66" y="80" scaleX="1" scaleY="1" skinName="Btn20Skin"/>
|
||||
<e:Button id="btn_activat" label="激 活" x="193" y="352" enabled="true" scaleX="0.75" scaleY="0.75" width="113" height="46" visible="false">
|
||||
<e:skinName>
|
||||
<e:Skin states="up,down,disabled">
|
||||
<e:Image horizontalCenter="0" verticalCenter="0" source="btn_apay" source.down="btn_apay" source.disabled="btn_apay2"/>
|
||||
<e:Label id="labelDisplay" textColor="0xf0c896" touchEnabled="false" size="22" horizontalCenter="0" verticalCenter="0" stroke="2"/>
|
||||
</e:Skin>
|
||||
</e:skinName>
|
||||
</e:Button>
|
||||
<app:RedDotControl id="activationRed" x="265.34" y="347.98" scaleX="1" scaleY="1" visible="false"/>
|
||||
<e:Group id="lvGrp" width="85.83" height="40.33" x="283.5" y="350" anchorOffsetX="0" anchorOffsetY="0" visible="false">
|
||||
<e:Button id="btn_upgrade" label="升 级" x="-1.5" y="2" enabled="true" scaleX="0.75" scaleY="0.75" width="113" height="46">
|
||||
<e:skinName>
|
||||
<e:Skin states="up,down,disabled">
|
||||
<e:Image horizontalCenter="0" verticalCenter="0" source="btn_apay" source.down="btn_apay" source.disabled="btn_apay2"/>
|
||||
<e:Label id="labelDisplay" textColor="0xf0c896" touchEnabled="false" size="22" horizontalCenter="0" verticalCenter="0" stroke="2"/>
|
||||
</e:Skin>
|
||||
</e:skinName>
|
||||
</e:Button>
|
||||
<app:RedDotControl id="lvRed" x="71" y="-2.330000000000041" scaleX="1" scaleY="1" visible="false"/>
|
||||
</e:Group>
|
||||
<e:Button id="btn_inverse" label="" x="41.35" y="158.69">
|
||||
<e:skinName>
|
||||
<e:Skin states="up,down,disabled">
|
||||
<e:Image width="100%" height="100%" source="sz_btn_6" source.down="sz_btn_6" scaleX.down="0.95" scaleY.down="0.95"/>
|
||||
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
|
||||
</e:Skin>
|
||||
</e:skinName>
|
||||
</e:Button>
|
||||
<e:Button id="btn_along" label="" x="293.01" y="158.69">
|
||||
<e:skinName>
|
||||
<e:Skin states="up,down,disabled">
|
||||
<e:Image width="100%" height="100%" source="sz_btn_5" source.down="sz_btn_5" scaleX.down="0.95" scaleY.down="0.95"/>
|
||||
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
|
||||
</e:Skin>
|
||||
</e:skinName>
|
||||
</e:Button>
|
||||
<!--<e:Button id="btn_activat" label="激 活" x="204.38" y="341.92" anchorOffsetX="0" anchorOffsetY="0" enabled="true" width="95.01" height="39.67">
|
||||
<e:skinName>
|
||||
<e:Skin states="up,down,disabled">
|
||||
<e:Image smoothing="false" width="100%" height="100%" source="btn_6" source.down="btn_5" source.disabled="btn_5"/>
|
||||
<e:Label id="labelDisplay" textColor="0xe0c194" touchEnabled="false" size="18" horizontalCenter="0" verticalCenter="0"/>
|
||||
</e:Skin>
|
||||
</e:skinName>
|
||||
</e:Button>-->
|
||||
<e:Button id="btn_wear" label="展 示" x="193" y="352" enabled="true" scaleX="0.75" scaleY="0.75" width="113" height="46" visible="false">
|
||||
<e:skinName>
|
||||
<e:Skin states="up,down,disabled">
|
||||
<e:Image horizontalCenter="0" verticalCenter="0" source="btn_apay" source.down="btn_apay" source.disabled="btn_apay2"/>
|
||||
<e:Label id="labelDisplay" textColor="0xf0c896" touchEnabled="false" size="22" horizontalCenter="0" verticalCenter="0" stroke="2"/>
|
||||
</e:Skin>
|
||||
</e:skinName>
|
||||
</e:Button>
|
||||
<e:Label id="txt_get" text="" x="77.65" y="358.69" size="16" textAlign="left" textColor="0x32fc00" multiline="false" scaleX="1" scaleY="1" italic="false" anchorOffsetX="0"/>
|
||||
<e:List id="list_cost" x="-3.66" verticalCenter="168.67" itemRendererSkinName="FourImagesCostItemSkin">
|
||||
<e:layout>
|
||||
<e:VerticalLayout verticalAlign="contentJustify" gap="2"/>
|
||||
</e:layout>
|
||||
</e:List>
|
||||
<e:Group id="bodyContainer" x="190" y="123.32" anchorOffsetY="0" anchorOffsetX="0"/>
|
||||
</e:Group>
|
||||
<e:Group id="fashionAtrrGroup" x="405.69" y="-18.67"/>
|
||||
<e:TabBar id="tabBar" itemRendererSkinName="CommonTarBtnItemSkin3" x="16.67" y="258.52">
|
||||
<e:layout>
|
||||
<e:HorizontalLayout gap="0"/>
|
||||
</e:layout>
|
||||
</e:TabBar>
|
||||
<e:Label id="txt_max" text="" x="118" y="393" anchorOffsetX="0" size="18" textColor="0xF97D2A" visible="false"/>
|
||||
</e:Skin>
|
||||
Reference in New Issue
Block a user