refactor(web):改造成vue工程
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="FubenRankItemSkin" width="380" height="39" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
|
||||
<e:Image smoothing="false" id="bg" width="100%" height="100%" source="bg_quyu_1" scale9Grid="2,2,16,16"/>
|
||||
<e:Image id="rankImage" source="Act_pm_1" x="20" y="2"/>
|
||||
<e:Label id="numLabel" text="" x="31" size="18" y="11" stroke="2" textColor="0xe5ddcf"/>
|
||||
<e:Label id="label1" text="" x="121" size="18" y="11" stroke="2" textColor="0xe5ddcf"/>
|
||||
<e:Label id="label2" text="" x="302" size="18" y="11" textColor="0xe5ddcf" stroke="2"/>
|
||||
</e:Skin>
|
||||
12
public/resource/eui_skins/web/fuben/FubenRankPagSkin.exml
Normal file
12
public/resource/eui_skins/web/fuben/FubenRankPagSkin.exml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="FubenRankPagSkin" width="382" height="450" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
|
||||
<e:Label id="label1" text="排名" x="24" y="10" size="20" textColor="0xF0C896" stroke="2"/>
|
||||
<e:Label id="label2" text="积分" x="319" y="10" size="20" textColor="0xF0C896" stroke="2"/>
|
||||
<e:Label id="label3" text="角色名称" x="157" y="10" size="20" textColor="0xF0C896" stroke="2"/>
|
||||
<e:Image smoothing="false" x="87" y="-1" source="common_liebiaoding_fenge"/>
|
||||
<e:Image smoothing="false" x="285" y="-1" source="common_liebiaoding_fenge"/>
|
||||
<e:Scroller width="378" height="407" y="41" scrollPolicyH="off" anchorOffsetY="0" anchorOffsetX="0" x="2">
|
||||
<e:List id="list" width="200" height="200" x="-1" y="134" itemRendererSkinName="FubenScoreItemSkin">
|
||||
</e:List>
|
||||
</e:Scroller>
|
||||
</e:Skin>
|
||||
18
public/resource/eui_skins/web/fuben/FubenRankSkin.exml
Normal file
18
public/resource/eui_skins/web/fuben/FubenRankSkin.exml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="FubenRankSkin" width="456" height="580" xmlns:e="http://ns.egret.com/eui"
|
||||
xmlns:w="http://ns.egret.com/wing" xmlns:ns1="*" xmlns:app="app.*">
|
||||
<app:UIViewFrame id="dragDropUI" skinName="ViewBgWin4Skin" height="578"
|
||||
width="431" anchorOffsetX="0" anchorOffsetY="0"/>
|
||||
<e:Image smoothing="false" width="384" x="24" y="54"
|
||||
source="common_liebiaoding_bg" anchorOffsetX="0"/>
|
||||
<e:TabBar id="tabBar" width="45" x="424" y="50" itemRendererSkinName="CommonTarBtnWinSkin2">
|
||||
<e:layout>
|
||||
<e:VerticalLayout gap="4"/>
|
||||
</e:layout>
|
||||
</e:TabBar>
|
||||
<e:Label id="myRank" text="" x="49" y="521" size="20" border="false" stroke="2" textColor="0xF0C896"/>
|
||||
<e:Label id="myScore" text="" y="521" size="20" textColor="0xF0C896" border="false" stroke="2" anchorOffsetY="0" anchorOffsetX="0" textAlign="center" right="65"/>
|
||||
<e:Label id="myShaBakScore" text="" y="521" size="20" textColor="0xF0C896" border="false" stroke="2" anchorOffsetY="0" anchorOffsetX="0" textAlign="center" right="65"/>
|
||||
<e:Group id="pagGroup" width="382" height="450" x="24" y="56" anchorOffsetY="0" anchorOffsetX="0">
|
||||
</e:Group>
|
||||
</e:Skin>
|
||||
12
public/resource/eui_skins/web/fuben/FubenScoreItemSkin.exml
Normal file
12
public/resource/eui_skins/web/fuben/FubenScoreItemSkin.exml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="FubenScoreItemSkin" width="380" height="78" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
|
||||
<e:Image smoothing="false" id="bg" width="100%" height="100%" scale9Grid="2,2,16,16" source="bg_quyu_1"/>
|
||||
<e:Image id="rankImage" source="Act_pm_1" x="20" verticalCenter="0" visible="false"/>
|
||||
<!--<e:Image id="rankImage" source="Act_pm_1" x="29" y="16"/>-->
|
||||
<e:Label id="numLabel" text="60" x="29" size="18" verticalCenter="0" textColor="0xe5ddcf" stroke="2"/>
|
||||
<e:List id="list" width="268" height="62" x="108" y="5" itemRendererSkinName="ItemBaseSkin">
|
||||
<e:layout>
|
||||
<e:HorizontalLayout/>
|
||||
</e:layout>
|
||||
</e:List>
|
||||
</e:Skin>
|
||||
15
public/resource/eui_skins/web/fuben/FubenScoreSkin.exml
Normal file
15
public/resource/eui_skins/web/fuben/FubenScoreSkin.exml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="FubenScoreSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" width="382" height="450">
|
||||
<e:Image smoothing="false" x="98" y="-1"
|
||||
source="common_liebiaoding_fenge" />
|
||||
<e:Label id="label1" text="积分" size="20" textColor="0xf0c896" stroke="2" top="11" horizontalCenter="-137"/>
|
||||
<e:Label id="label2" text="奖励" size="20" textColor="0xF0C896" stroke="2" top="11" horizontalCenter="51"/>
|
||||
<e:Label id="rankLabel0" text="" x="30" y="12" size="22" textColor="0xD1B974" border="false" stroke="1"
|
||||
bold="true" />
|
||||
<e:Label id="rankLabel1" text="" x="220" y="12" size="22" textColor="0xD1B974" border="false" stroke="1"
|
||||
bold="true" />
|
||||
<e:Scroller width="378" height="407" x="2" y="41" scrollPolicyH="off" anchorOffsetX="0">
|
||||
<e:List id="list" width="200" height="200" x="169" y="134" itemRendererSkinName="FubenScoreItemSkin">
|
||||
</e:List>
|
||||
</e:Scroller>
|
||||
</e:Skin>
|
||||
99
public/resource/eui_skins/web/fuben/FubenSkin.exml
Normal file
99
public/resource/eui_skins/web/fuben/FubenSkin.exml
Normal file
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="FubenSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:app="app.*"
|
||||
height="444">
|
||||
<e:Group id="timeGrp" width="288" height="73" touchEnabled="false" touchChildren="false">
|
||||
<e:Group id="campGrp" width="281" height="31" y="42" x="4" touchEnabled="false">
|
||||
<e:Image source="Act_dld_djs" scale9Grid="7,3,48,23" height="31" width="281" />
|
||||
<e:Label id="campTime" text="" size="20" verticalCenter="1.5" textColor="0x28ee01" horizontalCenter="0" stroke="2" />
|
||||
</e:Group>
|
||||
<e:Group id="actGrp" width="281" height="31" y="6" x="4" touchEnabled="false">
|
||||
<e:Image source="Act_dld_djs" scale9Grid="7,3,48,23" height="31" width="281" />
|
||||
<e:Image id="lbDctyImg" source="Act_dld_djs" scale9Grid="7,3,48,23" height="31" width="281" y="32" visible="false" />
|
||||
<e:Label id="actTime" text="" size="20" verticalCenter="0" textColor="0x28ee01" horizontalCenter="0" stroke="2" />
|
||||
<e:Label id="lbDcty" text="地图中央NPC可前往下一层" textColor="0x28ee01" size="20" lineSpacing="4" stroke="2" y="37"
|
||||
horizontalCenter="0" visible="false" />
|
||||
</e:Group>
|
||||
<e:Group id="waveNumGrp" width="281" height="31" y="78" x="4" touchEnabled="false" visible="false">
|
||||
<e:Image source="Act_dld_djs" scale9Grid="7,3,48,23" height="31" width="281" />
|
||||
<e:Label id="waveNum" text="" size="20" textColor="0x28ee01" verticalCenter="0" horizontalCenter="0" stroke="2" />
|
||||
</e:Group>
|
||||
<e:Group id="monsterGrp" width="281" height="31" y="114" x="4" touchEnabled="false" visible="false">
|
||||
<e:Image source="Act_dld_djs" scale9Grid="7,3,48,23" height="31" width="281" />
|
||||
<e:Label id="monsterNum" text="" size="20" verticalCenter="1.5" textColor="0x28ee01" horizontalCenter="0" stroke="2" />
|
||||
</e:Group>
|
||||
<e:Label id="crossSeverBossLab" text="双击角色名攻击" y="47" size="20" horizontalCenter="0" stroke="2" textColor="0xff7700"
|
||||
visible="false" />
|
||||
</e:Group>
|
||||
<e:Group id="rankGroup" width="288" height="243" y="80" touchEnabled="false" touchChildren="true">
|
||||
<e:Image width="289" height="241" touchEnabled="false" source="9s_tipsbg" scale9Grid="11,11,2,2" />
|
||||
<e:Image width="289" height="241" touchEnabled="false" source="9s_tipsk" scale9Grid="13,14,3,2" />
|
||||
<e:Group x="192" y="14">
|
||||
<e:Label id="fbLabel2" size="20" textColor="0x28ee01" text="" stroke="2" />
|
||||
<e:Rect height="1" fillColor="0x28ee01" width="100%" bottom="0" />
|
||||
</e:Group>
|
||||
<e:Label id="fbLabel1" x="15" y="14" size="20" touchEnabled="false" text="" textColor="0xe0ae75" stroke="2" />
|
||||
<e:Label id="fbLabel3" x="48.8" y="208" size="18" touchEnabled="false" text="" textColor="0xe0ae75" stroke="2" />
|
||||
<e:Label id="myScore" y="208" size="18" right="18" touchEnabled="false" text="" textColor="0xe0ae75" stroke="2" />
|
||||
<e:Label id="myRank" y="208" size="18" x="23" touchEnabled="false" text="" textColor="0xe0ae75" stroke="2" />
|
||||
<e:Group id="rankGrp0" name="group0" width="274" x="9" y="42" touchEnabled="false" touchChildren="false"
|
||||
visible="false">
|
||||
<e:Image source="bg_quyu_2" left="0" right="0" top="0" bottom="0" scale9Grid="9,9,1,2" />
|
||||
<e:Image scale9Grid="28,29,2,2" source="common_liebiaoxuanzhong" left="0" right="0" top="-5" bottom="0"
|
||||
name="selectImg" visible="false" />
|
||||
<e:Image source="Act_pm_1" name="rank" />
|
||||
<e:Label name="nameLab" x="40" y="10" size="18" textColor="0xf1ed02" text="" stroke="2" />
|
||||
<e:Label name="score" y="10" size="18" right="13" x="266" textColor="0xf1ed02" text="" stroke="2" />
|
||||
</e:Group>
|
||||
<e:Group id="rankGrp1" name="group1" width="274" x="9" y="85" touchChildren="false" touchEnabled="false"
|
||||
visible="false">
|
||||
<e:Image scale9Grid="28,29,2,2" source="common_liebiaoxuanzhong" left="0" right="0" top="-5" bottom="0" x="0" y="-48"
|
||||
scaleX="1" scaleY="1" name="selectImg" visible="false" />
|
||||
<e:Image name="rank" source="Act_pm_2" />
|
||||
<e:Label name="nameLab" x="40" y="10" size="18" textColor="0x28ee01" stroke="2" />
|
||||
<e:Label name="score" y="10" size="18" right="13" x="266" textColor="0x28ee01" stroke="2" />
|
||||
</e:Group>
|
||||
<e:Group id="rankGrp2" name="group2" width="274" x="9" y="126" touchEnabled="false" touchChildren="false"
|
||||
visible="false">
|
||||
<e:Image source="bg_quyu_2" left="0" right="0" top="0" bottom="0" scale9Grid="8,9,1,1" />
|
||||
<e:Image scale9Grid="28,29,2,2" source="common_liebiaoxuanzhong" left="0" right="0" top="-5" bottom="0" x="0" y="-46"
|
||||
scaleX="1" scaleY="1" name="selectImg" visible="false" />
|
||||
<e:Image name="rank" source="Act_pm_3" />
|
||||
<e:Label name="nameLab" x="40" y="10" size="18" textColor="0xff22ed" stroke="2" text="" />
|
||||
<e:Label name="score" y="10" size="18" right="13" x="266" textColor="0xff22ed" stroke="2" text="" />
|
||||
</e:Group>
|
||||
<e:Group id="rankGrp3" name="group3" width="274" x="9" y="167" touchEnabled="false" touchChildren="false"
|
||||
visible="false">
|
||||
<e:Image scale9Grid="28,29,2,2" source="common_liebiaoxuanzhong" left="0" right="0" top="-5" bottom="0" x="0" y="-46"
|
||||
scaleX="1" scaleY="1" name="selectImg" visible="false" />
|
||||
<e:Label name="nameLab" x="40" y="10" size="18" textColor="0xe5ddcf" stroke="2" text="" />
|
||||
<e:Label name="rank" text="4" x="14" y="10" size="20" textColor="0xe5ddcf" stroke="2" />
|
||||
<e:Label name="score" y="10" size="18" right="13" x="266" textColor="0xe5ddcf" stroke="2" text="" />
|
||||
</e:Group>
|
||||
<e:Group id="boxGroup" y="244.34" width="102" right="0">
|
||||
<e:Image id="boxBg" source="Act_dld_icon2" y="64" scaleX="1" scaleY="1" width="100%" right="0" />
|
||||
<e:Image id="boxImage" source="Act_dld_icon" y="-4" scaleX="1" scaleY="1" horizontalCenter="0.5" />
|
||||
<app:RedDotControl id="redPoint" x="80" y="1" visible="false" />
|
||||
<e:Group y="67.67" scaleX="1" scaleY="1" horizontalCenter="0">
|
||||
<e:Label id="boxMyScore" text="" size="18" textColor="0xF1AA3F" x="10" y="10" />
|
||||
<e:Label id="boxScore" text="" size="18" textColor="0xF1AA3F" x="20" y="20" />
|
||||
<e:layout>
|
||||
<e:HorizontalLayout/>
|
||||
</e:layout>
|
||||
</e:Group>
|
||||
</e:Group>
|
||||
<e:Group id="escapeGroup" y="244" right="0" visible="false">
|
||||
<e:Image width="289" height="60" touchEnabled="false" source="9s_tipsbg" scale9Grid="11,11,2,2" />
|
||||
<e:Image width="289" height="60" touchEnabled="false" source="9s_tipsk" scale9Grid="13,14,3,2" />
|
||||
<e:Button id="enterFb" label="完成试炼" x="20" verticalCenter="1">
|
||||
<e:skinName>
|
||||
<e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing">
|
||||
<e:Image x="0" y="0" horizontalCenter="0" verticalCenter="0" scaleX="1" scaleY="1" source="button_lt3" />
|
||||
<e:Label id="labelDisplay" text="button" size="18" stroke="1" horizontalCenter="0" verticalCenter="0" textColor="0xeee104"
|
||||
bold="false" />
|
||||
</e:Skin>
|
||||
</e:skinName>
|
||||
</e:Button>
|
||||
<e:Label id="labEscapeRoleNum" text="逃脱人数:100" size="18" textColor="0xF1AA3F" x="150" verticalCenter="0" />
|
||||
</e:Group>
|
||||
</e:Group>
|
||||
</e:Skin>
|
||||
5
public/resource/eui_skins/web/fuben/LabelSkinSkin.exml
Normal file
5
public/resource/eui_skins/web/fuben/LabelSkinSkin.exml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<e:Skin class="LabelSkinSkin"
|
||||
xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" width="100">
|
||||
<e:Label id="label" text="" width="100%" size="20"/>
|
||||
</e:Skin>
|
||||
32
public/resource/eui_skins/web/fuben/debugViewSkin.exml
Normal file
32
public/resource/eui_skins/web/fuben/debugViewSkin.exml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<e:Skin class="debugViewSkin" width="943" height="625" xmlns:e="http://ns.egret.com/eui"
|
||||
xmlns:w="http://ns.egret.com/wing" xmlns:ns1="*" xmlns:app="app.*">
|
||||
<app:UIViewFrame id="dragDropUI" width="100%" height="100%" anchorOffsetX="0" anchorOffsetY="0" skinName="UIViewFrameSkin" currentState="default9"/>
|
||||
<e:Rect top="30" left="30" right="30" bottom="30" fillColor="0x948F8F" anchorOffsetX="0"/>
|
||||
<e:Button id="btnSent" label="发送" x="347" y="378" skinName="Btn11Skin" anchorOffsetX="0" width="105" anchorOffsetY="0" height="30"/>
|
||||
<e:EditableText id="msgInfo" width="278" text="" x="53" y="341" size="30" border="true" anchorOffsetX="0" anchorOffsetY="0" height="101"/>
|
||||
<e:EditableText id="sysId" width="80" text="" x="123" y="257" size="30" border="true" anchorOffsetX="0" restrict="0-9"/>
|
||||
<e:EditableText id="msgId" width="80" text="" x="302.856" y="256" size="30" border="true" anchorOffsetX="0" restrict="0-9"/>
|
||||
<e:EditableText id="inputTxt1" width="127" text="" x="52" y="38" size="30" border="true" anchorOffsetX="0"/>
|
||||
<e:Button id="btn1" label="进入副本" x="197" y="38" skinName="Btn11Skin" anchorOffsetX="0" width="105" anchorOffsetY="0" height="30"/>
|
||||
<e:EditableText id="inputTxt2" width="127" text="" x="52" y="78" size="30" border="true" anchorOffsetX="0"/>
|
||||
<e:Button id="btn2" label="退出副本" x="197" y="78" skinName="Btn11Skin" anchorOffsetX="0" width="105" anchorOffsetY="0" height="30"/>
|
||||
<e:Button id="btn3" label="gpu size" x="197" y="118" skinName="Btn11Skin" anchorOffsetX="0" width="105" anchorOffsetY="0" height="30"/>
|
||||
<e:Button id="btn4" label="实体数量" x="197" y="158" skinName="Btn11Skin" anchorOffsetX="0" width="105" anchorOffsetY="0" height="30"/>
|
||||
<e:Label text="发送" x="470" y="41" anchorOffsetX="0" width="207" textAlign="center"/>
|
||||
<e:Label text="接收" x="700" y="41" anchorOffsetX="0" width="207" textAlign="center"/>
|
||||
<e:Scroller width="199" height="496" x="473" y="88" anchorOffsetX="0" anchorOffsetY="0">
|
||||
<e:List id="sentList" x="69" y="184" scaleX="1" scaleY="1" itemRendererSkinName="LabelSkinSkin">
|
||||
|
||||
</e:List>
|
||||
</e:Scroller>
|
||||
<e:Scroller width="199" height="496" x="703" y="88" anchorOffsetX="0" anchorOffsetY="0" >
|
||||
<e:List x="69" y="184" scaleX="1" scaleY="1" id="getList" itemRendererSkinName="LabelSkinSkin"/>
|
||||
</e:Scroller>
|
||||
<e:Label text="sysId" x="46" y="257"/>
|
||||
<e:Label text="msgId" x="209" y="255.11"/>
|
||||
<e:Label text="消息内容如:writeUnsignedInt=32;writeUnsignedShort:16" x="52" y="296" anchorOffsetX="0" width="383" size="18"/>
|
||||
<e:Group id="group" x="293" y="502" anchorOffsetX="0" anchorOffsetY="0"/>
|
||||
<e:Label id="charSum" text="Label" x="53" y="162" size="20"/>
|
||||
|
||||
</e:Skin>
|
||||
Reference in New Issue
Block a user