refactor(web):改造成vue工程
This commit is contained in:
6
public/resource/eui_skins/web/rank/RankBtnItemSkin.exml
Normal file
6
public/resource/eui_skins/web/rank/RankBtnItemSkin.exml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="RankBtnItemSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" states="up,down" >
|
||||
<e:Image horizontalCenter="0" verticalCenter="0" source="rank_tab2"/>
|
||||
<e:Image horizontalCenter="0" verticalCenter="0" visible.up="false" source="rank_tab1"/>
|
||||
<e:Label id="label" text="基 础" textColor="0xF0C896" size="22" horizontalCenter="0" verticalCenter="0" stroke="2" textColor.down="0xf0c896" textColor.up="0x807b73"/>
|
||||
</e:Skin>
|
||||
14
public/resource/eui_skins/web/rank/RankListItemSkin.exml
Normal file
14
public/resource/eui_skins/web/rank/RankListItemSkin.exml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="RankListItemSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:app="app.*"
|
||||
width="524" height="45">
|
||||
<e:Image smoothing="false" id="bg" x="0" y="-1" anchorOffsetX="0" width="524" height="45" source="rank_bg2" scale9Grid="251,19,57,15"/>
|
||||
<e:Image id="select" x="0" y="-2" anchorOffsetX="0" width="524" source="liebiaoxuanzhong" scale9Grid="22,29,2,2"/>
|
||||
<e:Label id="txt_rank" text="1" x="6" y="14" textColor="0xe5ddcf" size="18" verticalAlign="justify" width="50" textAlign="center" stroke="2"/>
|
||||
<e:Image id="rankImg" x="15" y="5" source="rank_pm1"/>
|
||||
<e:Label id="txt_name" text="" size="18" verticalAlign="justify" textAlign="center" textColor="0xe5ddcf" stroke="2" y="14" left="71"/>
|
||||
<e:Label id="txt_level" text="" x="213" y="14" textColor="0xe5ddcf" size="18" verticalAlign="justify" textAlign="center" stroke="2"/>
|
||||
<e:Label id="txt_guild" text="" textColor="0xE5DDCF" size="18" verticalAlign="justify" textAlign="center" stroke="2" y="14" left="361"/>
|
||||
<e:Image id="logo" source="logo_chaowan" x="173" y="4" visible="false"/>
|
||||
<e:Image id="imgTitle" x="464" source="rank_ch1" verticalCenter="-0.5"/>
|
||||
<e:Image id="imgVip" x="464" verticalCenter="-0.5" source="rank_ck"/>
|
||||
</e:Skin>
|
||||
15
public/resource/eui_skins/web/rank/RankQQListItemSkin.exml
Normal file
15
public/resource/eui_skins/web/rank/RankQQListItemSkin.exml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="RankQQListItemSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:app="app.*"
|
||||
width="524" height="45">
|
||||
<e:Image smoothing="false" id="bg" x="0" y="-1" anchorOffsetX="0" width="524" height="45" source="rank_bg2" scale9Grid="251,19,57,15"/>
|
||||
<e:Image id="select" x="0" y="-2" anchorOffsetX="0" width="524" source="liebiaoxuanzhong" scale9Grid="22,29,2,2"/>
|
||||
<e:Label id="txt_rank" text="1" x="6" y="14" textColor="0xe5ddcf" size="18" verticalAlign="justify" width="50" textAlign="center" stroke="2"/>
|
||||
<e:Image id="rankImg" x="15" y="5" source="rank_pm1"/>
|
||||
<e:Label id="txt_name" text="这周日你有空吗" size="18" verticalAlign="justify" textAlign="center" textColor="0xe5ddcf" stroke="2" y="14" left="111"/>
|
||||
<e:Label id="txt_level" text="7转140" x="249.7" y="14" textColor="0xe5ddcf" size="18" verticalAlign="justify" textAlign="center" stroke="2"/>
|
||||
<e:Label id="txt_guild" text="青青河边草" textColor="0xE5DDCF" size="18" verticalAlign="justify" textAlign="center" stroke="2" y="14" left="361"/>
|
||||
<e:Image id="logo" x="48.46" y="5.34" source="lz_hh1" visible="false"/>
|
||||
<e:Image id="isBlueYear" x="79.96" y="9.34" source="lz_nf" visible="false"/>
|
||||
<e:Image id="imgTitle" x="464" source="rank_ch1" verticalCenter="-0.5"/>
|
||||
<e:Image id="imgVip" x="464" verticalCenter="-0.5" source="rank_ck"/>
|
||||
</e:Skin>
|
||||
11
public/resource/eui_skins/web/rank/RankRightMenuSkin.exml
Normal file
11
public/resource/eui_skins/web/rank/RankRightMenuSkin.exml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="RankRightMenuSkin" width="122" height="310" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
|
||||
<e:Image smoothing="false" id="bg" source="com_bg_kuang_xian1" y="-0.5" anchorOffsetX="0" width="122" anchorOffsetY="0" height="59" scale9Grid="6,6,8,6" x="1"/>
|
||||
<e:List id="gList" width="109" height="41" x="8" y="8" anchorOffsetX="0" anchorOffsetY="0">
|
||||
<e:ArrayCollection>
|
||||
<e:Array>
|
||||
<e:Object btn="null"/>
|
||||
</e:Array>
|
||||
</e:ArrayCollection>
|
||||
</e:List>
|
||||
</e:Skin>
|
||||
9
public/resource/eui_skins/web/rank/RankTipsSkin.exml
Normal file
9
public/resource/eui_skins/web/rank/RankTipsSkin.exml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="RankTipsSkin" width="229" height="285" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
|
||||
<e:Image source="9s_tipsbg" left="0" right="0" top="0" bottom="0"/>
|
||||
<e:Image left="0" right="0" top="0" bottom="0" scale9Grid="13,89,2,0" source="bag_piliangbg_5"/>
|
||||
<e:Image source="9s_tipsk" left="0" right="0" top="0" bottom="0" scale9Grid="8,8,12,12"/>
|
||||
<e:Image source="bag_fengexian" horizontalCenter="2" verticalCenter="-47.5" width="209"/>
|
||||
<e:Image id="titleImg" source="ch_show_0010" scaleX="1.3" scaleY="1.3" horizontalCenter="0" top="17"/>
|
||||
<e:Label id="descLab" text="[属性加成]" x="24.4" y="108" size="20" textColor="0xe5ddcf" stroke="2"/>
|
||||
</e:Skin>
|
||||
127
public/resource/eui_skins/web/rank/RankViewSkin.exml
Normal file
127
public/resource/eui_skins/web/rank/RankViewSkin.exml
Normal file
@@ -0,0 +1,127 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="RankViewSkin" xmlns:app="app.*" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
|
||||
<e:Group x="0" y="0" height="693" width="1189">
|
||||
<e:Image id="dragDropUI" source="rank_bg_png" />
|
||||
<e:Button id="closeBtn" label="" x="997" y="36" width="60" height="60" scaleX="1.2" scaleY="1.2">
|
||||
<e:skinName>
|
||||
<e:Skin states="up,down,disabled">
|
||||
<e:Image width="100%" height="100%" source="btn_guanbi3" source.down="btn_guanbi4" source.disabled="btn_guanbi4"/>
|
||||
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
|
||||
</e:Skin>
|
||||
</e:skinName>
|
||||
</e:Button>
|
||||
<e:TabBar id="tabBar" horizontalCenter="455" top="46" bottom="570" itemRendererSkinName="CommonTarBtnItemSkin1"
|
||||
visible="false">
|
||||
<e:layout>
|
||||
<e:VerticalLayout/>
|
||||
</e:layout>
|
||||
</e:TabBar>
|
||||
<e:Group width="706.67" height="49.67" x="181.66" y="56.99" anchorOffsetX="0" anchorOffsetY="0" visible="false">
|
||||
<e:Image smoothing="false" width="702" height="44" anchorOffsetX="0" anchorOffsetY="0" scaleX="1" scaleY="1"
|
||||
source="common_liebiaoding_bg" />
|
||||
<e:Image smoothing="false" x="206.67" y="5" anchorOffsetX="0" anchorOffsetY="0"
|
||||
source="common_json.common_liebiaoding_fenge" scaleX="1" scaleY="1" />
|
||||
<e:Image smoothing="false" x="501" y="4" anchorOffsetX="0" anchorOffsetY="0"
|
||||
source="common_json.common_liebiaoding_fenge" scaleX="1" scaleY="1" />
|
||||
<e:Label text="排名" x="83" y="12" size="22" stroke="1" textColor="0xf0c896" />
|
||||
<e:Label text="角色名" x="320" y="12" size="22" stroke="1" textColor="0xf0c896" />
|
||||
<e:Label id="valueStr" text="等级" x="597" y="12" size="22" stroke="1" textColor="0xf0c896" />
|
||||
</e:Group>
|
||||
<e:Group id="modelGroup" touchChildren="false" touchEnabled="false" anchorOffsetX="0" width="450" anchorOffsetY="0" height="525" scaleX="1.2" scaleY="1.2" right="265" bottom="108">
|
||||
<e:Image name="bg" source="" right="0" bottom="0"/>
|
||||
<e:Image name="cloth" source="" right="0" bottom="0"/>
|
||||
<e:Image name="arm" source="" right="0" bottom="0"/>
|
||||
<e:Image name="helmet" source="" right="0" bottom="0"/>
|
||||
</e:Group>
|
||||
<!--<e:Group id="tab_group" width="45" height="507" y="51" x="3" anchorOffsetX="0" anchorOffsetY="0" scaleX="1" scaleY="1">
|
||||
<e:Group x="4" y="2" name="tab_0" anchorOffsetX="0" width="45">
|
||||
<e:Image name="normal" smoothing="false" source="common_yeqian_6" />
|
||||
<e:Image name="select" smoothing="false" source="common_yeqian_5" />
|
||||
<e:Label text="等级榜" y="9" size="18" width="30" textAlign="center" x="10" name="nameTf" textColor="0xffffff"
|
||||
anchorOffsetY="0" height="82" anchorOffsetX="0" verticalAlign="middle" />
|
||||
</e:Group>
|
||||
<e:Group x="118.5" y="2" name="tab_1" width="45">
|
||||
<e:Image smoothing="false" name="normal" source="common_yeqian_6" />
|
||||
<e:Image smoothing="false" name="select" source="common_yeqian_5" />
|
||||
<e:Label text="战力榜" y="9" size="16" width="29" x="10" name="nameTf" bold="true" textColor="0xffffff" stroke="1"
|
||||
anchorOffsetY="0" height="80" anchorOffsetX="0" textAlign="center" verticalAlign="middle" />
|
||||
</e:Group>
|
||||
-->
|
||||
<!--<e:Group x="118.5" y="2" name="tab_1" width="45">
|
||||
<e:Image smoothing="false" name="normal" source="common_yeqian_6" />
|
||||
<e:Image smoothing="false" name="select" source="common_yeqian_5" />
|
||||
<e:Label text="英雄榜" y="9" size="16" width="28" textAlign="center" x="10" name="nameTf" bold="true"
|
||||
textColor="0xffffff" stroke="1" anchorOffsetY="0" height="78" anchorOffsetX="0" verticalAlign="middle" />
|
||||
</e:Group>
|
||||
-->
|
||||
<!--<e:Group x="118.5" y="2" name="tab_3" width="45">
|
||||
<e:Image name="normal" smoothing="false" source="common_yeqian_6" />
|
||||
<e:Image name="select" smoothing="false" source="common_yeqian_5" />
|
||||
<e:Label text="勋章榜" y="9" size="16" width="29" x="10" name="nameTf" bold="true" textColor="0xffffff" stroke="1"
|
||||
verticalAlign="middle" anchorOffsetY="0" height="78" anchorOffsetX="0" textAlign="center" />
|
||||
</e:Group>
|
||||
<e:Group x="118.5" y="2" name="tab_4" width="45">
|
||||
<e:Image name="normal" smoothing="false" source="common_yeqian_6" />
|
||||
<e:Image name="select" smoothing="false" source="common_yeqian_5" />
|
||||
<e:Label text="灵魂榜" y="9" size="16" width="30" textAlign="center" x="10" name="nameTf" bold="true" textColor="0xffffff"
|
||||
stroke="1" anchorOffsetY="0" height="77" anchorOffsetX="0" verticalAlign="middle" />
|
||||
</e:Group>
|
||||
<e:layout>
|
||||
<e:VerticalLayout gap="2" />
|
||||
</e:layout>
|
||||
</e:Group>
|
||||
-->
|
||||
<e:Group id="btn_list" width="122" height="554" x="-109.21" y="113.7" anchorOffsetX="0" anchorOffsetY="0">
|
||||
<e:Scroller name="scroller" width="122" height="554"></e:Scroller>
|
||||
<e:List name="list" itemRendererSkinName="RankBtnItemSkin">
|
||||
<e:layout>
|
||||
<e:VerticalLayout gap="3" />
|
||||
</e:layout>
|
||||
</e:List>
|
||||
</e:Group>
|
||||
<e:Group id="rank_list" width="524" height="458" x="85" y="113.66">
|
||||
<e:Scroller name="scroller" x="0" height="460" anchorOffsetX="0" anchorOffsetY="0" y="0" scaleX="1" scaleY="1"
|
||||
width="524"></e:Scroller>
|
||||
<e:List name="list" anchorOffsetX="0" y="2" anchorOffsetY="0" scaleX="1" scaleY="1"
|
||||
itemRendererSkinName="RankListItemSkin">
|
||||
<e:layout>
|
||||
<e:VerticalLayout gap="0" />
|
||||
</e:layout>
|
||||
</e:List>
|
||||
<e:Group id="menu_group" x="0" y="0" />
|
||||
</e:Group>
|
||||
<e:Group width="572.33" height="90.33" x="49.06" y="576.34" anchorOffsetY="0" anchorOffsetX="0">
|
||||
<e:Button id="btn_home" label="首页" skinName="Btn9Skin" x="352" y="7" visible="false"/>
|
||||
<e:Button id="btn_pre" label="" x="212.36" y="9.68" width="55" height="25">
|
||||
<e:skinName>
|
||||
<e:Skin states="up,down,disabled">
|
||||
<e:Image horizontalCenter="0" verticalCenter="0" source="growway_jt" source.down="growway_jt"
|
||||
source.disabled="growway_jt" 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_next" label="" x="415" y="11" scaleX="-1" width="55" height="25">
|
||||
<e:skinName>
|
||||
<e:Skin states="up,down,disabled">
|
||||
<e:Image horizontalCenter="0" verticalCenter="0" source="growway_jt" source.down="growway_jt" source.disabled="growway_jt" scaleX.down="0.95" scaleY.down="0.95"/>
|
||||
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
|
||||
</e:Skin>
|
||||
</e:skinName>
|
||||
</e:Button>
|
||||
<e:Label id="rank_desc" text="我的排名:未上榜" x="59" y="58" size="20" stroke="2" textColor="0xe5ddcf" />
|
||||
<e:Label id="rank_guild" text="所属行会:金近十三少保" x="309" y="58" size="20" stroke="2" textColor="0xE5DDCF"/>
|
||||
<e:Label id="rank_no" text="暂时没有排名" x="255" y="-255" size="22" textColor="0xe5ddcf" stroke="2" />
|
||||
<e:Label id="pageLab" text="1/3" size="20" verticalCenter="-22.165" horizontalCenter="27.83499999999998"/>
|
||||
</e:Group>
|
||||
<app:RuleTipsButton label="Button" x="55" y="626" ruleId="19" />
|
||||
</e:Group>
|
||||
<e:Button id="btn_operation" label="查 看" x="731.66" y="566.99" width="109" height="44">
|
||||
<e:skinName>
|
||||
<e:Skin states="up,down,disabled">
|
||||
<e:Image horizontalCenter="0" verticalCenter="0" source="tips_btn" source.down="tips_btn" source.disabled="tips_btn" scaleX.down="0.95" scaleY.down="0.95"/>
|
||||
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0" size="20" textColor="0xf0c896" stroke="2"/>
|
||||
</e:Skin>
|
||||
</e:skinName>
|
||||
</e:Button>
|
||||
</e:Skin>
|
||||
Reference in New Issue
Block a user