refactor(web):改造成vue工程

This commit is contained in:
kubbo
2025-09-30 17:43:06 +08:00
parent f140c92ddd
commit 39f7598b02
1777 changed files with 878 additions and 2238 deletions

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="AttrSkin" width="306" height="568" xmlns:app="app.*" xmlns:e="http://ns.egret.com/eui"
xmlns:w="http://ns.egret.com/wing">
<e:Group id="attrGroup" y="0">
<e:Image smoothing="false" touchEnabled="false" source="role_sx_bg_png"/>
<e:Scroller id="attrScroller" name="scroller" x="16" height="483" anchorOffsetX="0" anchorOffsetY="0" width="238" y="66.35" scaleX="1"
scaleY="1" />
<e:List id="attrList" name="list" anchorOffsetX="0" x="20" y="69.35" anchorOffsetY="0">
<e:layout>
<e:VerticalLayout gap="0" />
</e:layout>
</e:List>
<e:VSlider name="verticalSlider" x="244" value="415" width="15" height="530" minimum="0" maximum="415" y="28" visible="false">
<e:Skin minWidth="20" minHeight="10">
<e:Image smoothing="false" id="track" source="shuxinghuadong_1" scale9Grid="2,2,16,15" width="15" height="100%"
verticalCenter="0" />
<e:Image smoothing="false" id="trackHighlight" source="shuxinghuadong_1" scale9Grid="2,2,16,15" width="15"
verticalCenter="0" />
<e:Image smoothing="false" id="thumb" source="shuxinghuadong_2" rotation="0" x="1" width="13" height="40"
scale9Grid="0,19,16,1" />
</e:Skin>
</e:VSlider>
</e:Group>
<e:Scroller id="stateScroller" height="476" x="39" y="70" scrollPolicyH="off" width="198">
<e:List id="stateList" x="169" y="134" itemRendererSkinName="RoleStateItemSkin">
</e:List>
</e:Scroller>
<e:Button id="btn_close" label="" x="243.66" width="60" top="-9">
<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:Button id="attrBtn" label="" x="44.5" y="23.5" skinName="EquipAttrBtnSkin" icon="role_sx_btnsx" width="85" height="36"/>
<e:Button id="stateBtn" label="" x="138" y="23.5" skinName="EquipAttrBtnSkin" icon="role_sx_btnzt" width="85" height="36"/>
</e:Skin>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="ButtonRoleSkin" width="62" height="62" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" >
<e:Button skinName="CommonBtnSkin" anchorOffsetX="0.5" anchorOffsetY="0.5" >
</e:Button>
</e:Skin>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="EquipAttrBtnSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" states="show,hide" >
<e:Image source="role_sx_btn1"/>
<e:Image id="iconDisplay" source="role_sx_btnsx" horizontalCenter="0" verticalCenter="0"/>
<e:Image includeIn="hide" source="role_sx_btn2"/>
</e:Skin>

View File

@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="EquipSkin" width="383" height="425" xmlns:app="app.*" xmlns:e="http://ns.egret.com/eui"
xmlns:w="http://ns.egret.com/wing">
<e:Image x="1" y="0" source="role_bg_png" />
<e:Group id="modelGroup" touchChildren="false" touchEnabled="false" width="450" height="525" right="73" bottom="23">
<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:Label id="txt_job" name="nameTf" text="" y="13" textAlign="center" size="20" textColor="0xca9b67" stroke="2"
horizontalCenter="0" />
<e:Label id="txt_guild" name="nameTf" text="" y="43" textAlign="center" size="20" textColor="0xca9b67" stroke="2"
horizontalCenter="0.5" />
<e:Group id="iconGroup" width="378" height="364" x="3" y="58">
<app:ItemSlot name="icon_0" skinName="ItemSlotSkin" x="4" y="91" />
<app:ItemSlot name="icon_1" skinName="ItemSlotSkin" x="4" y="161" />
<app:ItemSlot name="icon_2" skinName="ItemSlotSkin" x="314" y="91" />
<app:ItemSlot name="icon_3" skinName="ItemSlotSkin" x="314" y="161" />
<app:ItemSlot name="icon_4" skinName="ItemSlotSkin" x="244" y="301" />
<app:ItemSlot name="icon_5" skinName="ItemSlotSkin" x="314" y="231" />
<app:ItemSlot name="icon_6" skinName="ItemSlotSkin" x="314" y="301" />
<app:ItemSlot name="icon_7" skinName="ItemSlotSkin" x="4" y="231" />
<app:ItemSlot name="icon_8" skinName="ItemSlotSkin" x="4" y="301" />
<app:ItemSlot name="icon_9" skinName="ItemSlotSkin" x="74" y="301" />
<app:ItemSlot name="icon_10" skinName="ItemSlotSkin" x="74" y="232" />
<app:ItemSlot name="icon_11" skinName="ItemSlotSkin" x="244" y="232" />
</e:Group>
<e:Group id="gzClickGroup" width="248" height="43" y="60" x="100">
<e:Image id="gzImage" y="3" touchEnabled="false" source="" />
<e:Image y="3" touchEnabled="false" x="187" source="btn_guanzhi" />
<app:RedDotControl id="gzRedPoint" x="210.17" y="-2.33" visible="false" />
</e:Group>
<e:Button id="btnAtrr" y="21" enabled="true" x="351">
<e:skinName>
<e:Skin states="up,down">
<e:Image source="btn_shuxing_bg" source.down="btn_shuxing_bg" />
<e:Image source="btn_shuxing_1" x="8" y="8" />
</e:Skin>
</e:skinName>
</e:Button>
<e:Button id="btnAtrr0" y="21" enabled="true" x="351">
<e:skinName>
<e:Skin states="up,down">
<e:Image source="btn_shuxing_bg" source.down="btn_shuxing_bg" />
<e:Image source="btn_shuxing_2" x="8" y="8" />
</e:Skin>
</e:skinName>
</e:Button>
<e:Button id="neiGongBtn" label="" x="247" y="220" skinName="Btn0Skin" icon="icon_neigong" />
<e:Group id="neiGongGrp" width="309" height="234" y="81" x="35" visible="false">
<e:TabBar id="ngEquiTabBar" itemRendererSkinName="NGEquipTabSkin" x="-32" y="10">
<e:layout>
<e:VerticalLayout gap="-11" />
</e:layout>
</e:TabBar>
<app:NGEquipView id="ngEquipView" skinName="NGEquipViewSkin" />
<app:NGEquipView id="ngGemstoneView" skinName="NGEquipViewSkin" />
<e:Button id="neiGongCloseBtn" label="Button" x="309" skinName="CloseButtonSkin" />
</e:Group>
</e:Skin>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="RoleAttrItemSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" width="232" height="28">
<e:Image smoothing="false" x="105.68" anchorOffsetX="0" y="3" scale9Grid="116,11,5,7" source="role_sx_bg2" width="120"/>
<e:Label id="txt_name" text="药品回复率:" x="1" y="5" size="18" anchorOffsetX="0" textColor="0xE0AE75" stroke="2"/>
<e:Label id="txt_value" text="1000" x="110" y="5" size="18" textColor="0xc3af98" verticalAlign="middle" stroke="2"/>
</e:Skin>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="RolePriBtnSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:app="app.*" width="39">
<e:Image id="_normalImg" smoothing="false" source="role_tab2" scaleX="-1" right="0"/>
<e:Image id="_selectImg" smoothing="false" source="role_tab1" scaleX="-1" right="0"/>
<e:Image id="_nameTf2" source="role_tab_jn2" right="-6" y="-6"/>
<e:Image id="_nameTf" source="role_tab_jn1" right="-6" y="-6"/>
<app:RedDotControl id="_redDot" width="20" height="20" touchChildren="false" touchEnabled="false" y="-2" left="0"/>
</e:Skin>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="RoleStateItemSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" width="198" height="23">
<e:Label id="txt_name" text="积 分 : " x="1" y="3" size="18" anchorOffsetX="0" textColor="0xa6937c" width="85" stroke="2"/>
<e:Label id="txt_value" text="" x="89" y="3" size="18" textColor="0x00ab08" textAlign="left" width="120" stroke="2"/>
</e:Skin>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="StateSkin" width="194" height="573" 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">
<e:Image smoothing="false" touchEnabled="false" source="role_zt_bg" scale9Grid="8,8,50,50" anchorOffsetX="0" width="191" anchorOffsetY="0" height="573"/>
<e:Scroller id = "scroller" width="186" height="526" x="3" y="41" scrollPolicyH="off" anchorOffsetX="0" anchorOffsetY="0">
<e:List id="list" width="356" height="200" x="169" y="134" itemRendererSkinName="RoleStateItemSkin" anchorOffsetX="0"/>
</e:Scroller>
<!--<e:Scroller name="scroller" x="2" height="536" anchorOffsetX="0" anchorOffsetY="0" width="189" y="32" scaleX="1"
scaleY="1" />
<e:List name="list" anchorOffsetX="0" x="3" y="40" anchorOffsetY="0">
<e:layout>
<e:VerticalLayout gap="0" />
</e:layout>
</e:List>
<e:VSlider name="verticalSlider" x="176" value="0" width="15" height="530" minimum="0" maximum="415" y="28">
<e:Skin minWidth="20" minHeight="10">
<e:Image smoothing="false" id="track" source="shuxinghuadong_1" scale9Grid="2,2,16,15" width="15" height="100%"
verticalCenter="0" />
<e:Image smoothing="false" id="trackHighlight" source="shuxinghuadong_1" scale9Grid="2,2,16,15" width="15"
verticalCenter="0" />
<e:Image smoothing="false" id="thumb" source="shuxinghuadong_2" rotation="0" x="1" width="13" height="40"
scale9Grid="7,21,2,1" />
</e:Skin>
</e:VSlider>-->
<e:Button id="btn_close" label="" skinName="ButtonCloseSkin" y="1.9" x="163"></e:Button>
</e:Group>
</e:Skin>