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,27 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="BagBatchUseSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:app="app.*">
<e:Rect id="rect" left="0" right="0" top="0" bottom="0" fillAlpha="0.3"/>
<e:Group width="315" height="390" verticalCenter="-103" horizontalCenter="0">
<e:Image left="0" right="0" top="0" bottom="0" source="9s_tipsbg" scale9Grid="14,12,3,3"/>
<e:Image left="0" right="0" top="0" bottom="0" source="9s_tipsk" scale9Grid="14,12,3,3"/>
<e:Image id="imgBg" scale9Grid="9,75,23,3" source="bag_piliangbg_1" left="0" right="0" top="0" bottom="0"/>
<e:Button id="btn_close" label="" skinName="CloseButtonSkin" top="5" right="4"/>
<app:ItemBase id="itemData" x="25.98" y="20.66" skinName="ItemBaseSkin"/>
<e:Label id="itemName" text="" x="109" y="23" size="20" textColor="0xe5ddcf" stroke="2"/>
<e:Label id="itemNum" text="" x="110.9" y="60.5" size="19" textColor="0x1affff" stroke="2"/>
<e:Image source="bag_fengexian" verticalCenter="-90" horizontalCenter="2" x="12" y="88"/>
<e:Scroller id="descScroller" width="256" height="119" y="118" horizontalCenter="1.5" scrollPolicyH="off">
<e:Group>
<e:Label id="itemDesc" text="" size="19" lineSpacing="5" touchEnabled="false" width="256" stroke="2" textColor="0xe5ddcf" y="3"/>
</e:Group>
</e:Scroller>
<e:Label id="itemAttr" text="" x="19" y="245" size="20" textColor="0x0066ff" stroke="2"/>
<e:Button id="lessLessBtn" label="Button" x="15" y="279" skinName="Btn0Skin" icon="com_jianjian"/>
<e:Button id="lessBtn" label="Button" x="58.8" y="279" skinName="Btn0Skin" icon="com_jian"/>
<e:Button id="addBtn" label="Button" x="221.8" y="279" skinName="Btn0Skin" icon="com_jia"/>
<e:Button id="addaddBtn" label="Button" x="266" y="279" skinName="Btn0Skin" icon="com_jiajia"/>
<e:Image source="bag_piliangbg_0" scale9Grid="5,5,32,32" width="99.6" height="36" horizontalCenter="0" bottom="78"/>
<e:EditableText id="enterNum" text="" width="90.2" height="28.8" textAlign="center" size="24" verticalAlign="middle" restrict="0-9" horizontalCenter="0" bottom="80" stroke="2" textColor="0xe5ddcf"/>
<e:Button id="sure" label="使 用" skinName="Btn9Skin" horizontalCenter="0" bottom="17"/>
</e:Group>
</e:Skin>

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="BagGoldChangeSkin" xmlns:e="http://ns.egret.com/eui" xmlns:app="app.*" xmlns:w="http://ns.egret.com/wing" width="473" height="346">
<app:UIViewFrame id="dragDropUI" skinName="ViewBgWin5Skin"/>
<e:Group horizontalCenter="-112" bottom="183">
<e:Image source="com_icon_bg1" visible="false"/>
<e:Image source="quality_0" horizontalCenter="-1" verticalCenter="0"/>
<e:Image id="leftMoney" source="icon_jinbi" horizontalCenter="-0.5" verticalCenter="0" width="60" height="60"/>
<e:Label id="curYuanBao" text="拥有:0" size="18" stroke="2" textColor="0xe5ddcf" verticalCenter="45" horizontalCenter="-0.5"/>
</e:Group>
<e:Image horizontalCenter="-1" bottom="217" source="sx_jiantou"/>
<e:Group horizontalCenter="116" bottom="183">
<e:Image source="com_icon_bg1" visible="false"/>
<e:Image id="rightQuality" source="quality_0" horizontalCenter="-1" verticalCenter="0"/>
<e:Image id="rightMoney" horizontalCenter="0" verticalCenter="0" width="55" height="55" source="icon_bangding"/>
<e:Label id="payAccount" text="支付宝账号" size="18" textColor="0xe5ddcf" stroke="2" horizontalCenter="-2.5" verticalCenter="-20" visible="false"/>
<e:Image id="payAccountBg" source="com_bg_kuang_xian2" scale9Grid="3,3,18,18" height="35" width="128.67" horizontalCenter="0" verticalCenter="10" anchorOffsetX="0" anchorOffsetY="0" visible="false"/>
<e:EditableText id="payAccountInput" width="125.34" height="26.67" text="Label" size="18" textAlign="center" horizontalCenter="0" verticalCenter="10" anchorOffsetX="0" anchorOffsetY="0" verticalAlign="middle" visible="false"/>
<e:Label id="curYinLiang" text="拥有:500" size="18" textColor="0xe5ddcf" stroke="2" verticalCenter="45" horizontalCenter="-2.5"/>
</e:Group>
<e:Label id="ratio" text="转换比例 1:1" x="169.32" y="179.67" size="24" textColor="0xff7700" stroke="2"/>
<e:Group horizontalCenter="3.5" bottom="89" anchorOffsetX="0" width="372.33" anchorOffsetY="0" height="39.67">
<e:Button id="addYiBai" label="+100" x="261" y="6" icon="com_jiabg" width="63" height="30">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image horizontalCenter="0" verticalCenter="0" source="com_jiabg" source.down="com_jiabg" source.disabled="com_jiabg" scaleX.down="0.95" scaleY.down="0.95"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0" size="20" textColor="0xe5ddcf" stroke="2"/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Button id="jianYiBai" label="-100" x="42" y="6" icon="com_jiabg" width="63" height="30">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image horizontalCenter="0" verticalCenter="0" source="com_jiabg" source.down="com_jiabg" source.disabled="com_jiabg" scaleX.down="0.95" scaleY.down="0.95"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0" size="20" textColor="0xe5ddcf" stroke="2"/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Button id="addYiWan" label="+1万" x="32" y="20.01" skinName="Btn9Skin" scaleX="0.7" scaleY="0.7" visible="false"/>
<e:Button id="addYiBaiWan" label="+100万" x="42" y="27" skinName="Btn9Skin" scaleX="0.65" scaleY="0.65" visible="false"/>
<e:Button id="addBtn" label="Button" x="332" y="5" skinName="Btn0Skin" icon="com_jiajia"/>
<e:Button id="jianBtn" label="Button" x="1.67" y="5" skinName="Btn0Skin" icon="com_jianjian"/>
</e:Group>
<e:Image source="com_bg_kuang_xian2" scale9Grid="3,3,18,18" height="35" width="128.67" horizontalCenter="3" bottom="92" anchorOffsetX="0" anchorOffsetY="0"/>
<e:EditableText id="inputNum" width="125.34" height="26.67" text="Label" size="18" textAlign="center" horizontalCenter="2" bottom="96" restrict="0-9" anchorOffsetX="0" anchorOffsetY="0" verticalAlign="middle"/>
<e:Button label="确定转换" skinName="Btn9Skin" horizontalCenter="-91" bottom="20" visible="false"/>
<e:Image id="curImg" source="icon_jinbi" horizontalCenter="-17.5" bottom="46" visible="false"/>
<e:Button id="sure" label="转 换" horizontalCenter="-89" bottom="19" x="183" y="279" scaleX="1" scaleY="1" width="113" height="44">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image source="tips_btn" source.down="tips_btn" horizontalCenter="0" verticalCenter="0" 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:Button id="closeBtn" label="取 消" horizontalCenter="97" bottom="19" x="193" y="289" scaleX="1" scaleY="1" width="113" height="44">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image source="tips_btn" source.down="tips_btn" horizontalCenter="0" verticalCenter="0" 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:Image x="51" y="171" source="boss_fengexian"/>
</e:Skin>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="BagItemSplitSkin" xmlns:e="http://ns.egret.com/eui" xmlns:app="app.*" xmlns:w="http://ns.egret.com/wing" width="300" height="347">
<e:Group width="300" height="347" touchEnabled="false">
<e:Image id="dragDropUI" source="9s_tipsbg" scale9Grid="12,11,1,1" left="0" right="0" top="0" bottom="0"/>
<e:Image id="imgBg" left="0" right="0" top="0" bottom="0" source="bag_piliangbg_2" scale9Grid="24,73,2,5"/>
<e:Image source="9s_tipsk" scale9Grid="13,12,2,3" left="0" right="0" top="0" bottom="0" touchEnabled="false"/>
<e:Image x="8.4" y="88.8" source="bag_fengexian"/>
<e:Label id="itemName" text="金砖" x="98" y="25.8" size="20" textColor="0xff1ac2" stroke="2"/>
<e:Label id="curItemNum" text="数量:20" size="18" stroke="2" x="98.06" y="59.53" textColor="0x1affff"/>
<e:Label text="物品拆分后将分为两堆,请选择需要拆分的数量" x="18.4" y="107.4" size="20" textColor="0xe5ddcf" stroke="2" width="260" lineSpacing="5"/>
<e:Group horizontalCenter="-96" bottom="263">
<e:Image id="itemBg" source="quality_2"/>
<e:Image id="curItem" horizontalCenter="0" verticalCenter="0" source="10001"/>
</e:Group>
<e:Button id="sure" label="拆 分" icon="btn_0" skinName="Btn9Skin" horizontalCenter="-0.5" bottom="17"/>
<e:Button id="maxBtn" label="Button" skinName="Btn0Skin" icon="com_jia" right="61" bottom="83"/>
<e:Button id="minBtn" label="Button" skinName="Btn0Skin" icon="com_jian" bottom="83" left="59"/>
<e:Button id="minimumBtn" label="Button" skinName="Btn0Skin" icon="com_jianjian" bottom="83" left="19"/>
<e:Button id="biggestBtn" label="Button" skinName="Btn0Skin" icon="com_jiajia" bottom="83" left="251"/>
<e:Button id="Cancels" label="取 消" icon="btn_0" skinName="CloseButtonSkin" right="3" top="2"/>
<e:Image source="com_bg_kuang_xian2" scale9Grid="3,3,18,18" width="99" height="35" horizontalCenter="0.5" bottom="80" anchorOffsetX="0" anchorOffsetY="0"/>
<e:EditableText id="inputNum" width="85.67" height="26" text="0" size="20" textAlign="center" horizontalCenter="0" bottom="84" restrict="0-9" verticalAlign="middle" anchorOffsetX="0" stroke="2"/>
</e:Group>
</e:Skin>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="BagRecycleSkin" xmlns:e="http://ns.egret.com/eui" xmlns:app="app.*" xmlns:w="http://ns.egret.com/wing" width="431" height="478">
<app:UIViewFrame id="dragDropUI" horizontalCenter="0" verticalCenter="0" skinName="ViewBgWin4Skin"/>
<e:Image source="bg_huishou_png" horizontalCenter="0" verticalCenter="11"/>
<e:Rect id="itemBg" width="341" height="138" x="45" y="60" fillAlpha="0"/>
<e:Image width="353.5" height="145" verticalCenter="69.5" horizontalCenter="1.5" source="mail_bg" scale9Grid="14,13,2,3" anchorOffsetY="0" anchorOffsetX="0"/>
<e:Button id="sure" label="确定回收" skinName="Btn9Skin" horizontalCenter="1" verticalCenter="174"/>
<e:Group id="itemGrp" verticalCenter="-106" horizontalCenter="0.5">
<e:Image id="itemQua" horizontalCenter="0" verticalCenter="0" source="quality_1"/>
<e:Image id="itemIcon" horizontalCenter="0" verticalCenter="0" source=""/>
<e:Label id="itemNum" text="" size="16" right="4" bottom="2" stroke="2"/>
</e:Group>
<e:Label text="回收后可获得以下物品!" x="122" y="197.01" size="18" textColor="0xe5ddcf" stroke="2"/>
<e:Image x="74.3" y="210.64" source="get_bg2"/>
<e:List id="itemList" itemRendererSkinName="ItemBaseSkin" verticalCenter="37" horizontalCenter="-0.5">
<e:layout>
<e:HorizontalLayout/>
</e:layout>
</e:List>
<e:Label id="itemTxt" text="从背包拖入物品可查看回收奖励" size="20" textColor="0xe5ddcf" stroke="2" horizontalCenter="0" verticalCenter="68"/>
</e:Skin>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="BagUpSkin" xmlns:e="http://ns.egret.com/eui" states="up,down" width="46" height="47">
<e:Image source="bag_fanye_1" scaleX.down="0.9" scaleY.down="0.9" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>

View File

@@ -0,0 +1,132 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="BagViewSkin" width="582" height="570" xmlns:e="http://ns.egret.com/eui"
xmlns:w="http://ns.egret.com/wing" xmlns:ns1="*" xmlns:app="app.*">
<app:UIViewFrame id="dragDropUI" skinName="ViewBgWin2Skin" />
<e:Image width="507" height="382" horizontalCenter="-21" source="com_bg_kuang_xian1" scale9Grid="10,9,1,2" y="6"
visible="false" />
<e:Group name="装备" width="498" height="372" horizontalCenter="-23" y="17">
<e:Scroller id="equipScroller" width="498" height="372" scrollPolicyH="off" scrollPolicyV="off">
<e:Group id="equipList">
<e:Group id="equipBg" width="498" height="372" />
<e:Group id="equipLab" width="498" height="372" touchEnabled="false" />
<e:Group id="equipStar" width="498" height="372" touchEnabled="false" x="0" y="0" />
<e:Group id="itemEffGrp" width="498" height="372" touchEnabled="false" />
</e:Group>
</e:Scroller>
</e:Group>
<e:TabBar id="tab" itemRendererSkinName="Btn3Skin" horizontalCenter="-137" y="403">
<e:layout>
<e:HorizontalLayout gap="5" />
</e:layout>
</e:TabBar>
<e:Group x="98" y="399" touchEnabled="false">
<app:RedDotControl id="redPoint0" width="20" height="20" x="44" y="21" />
<app:RedDotControl id="redPoint1" width="20" height="20" x="54" y="31" />
<app:RedDotControl id="redPoint2" width="20" height="20" x="64" y="41" />
<e:layout>
<e:HorizontalLayout gap="69" />
</e:layout>
</e:Group>
<e:Button id="arrange" label="整 理" horizontalCenter="186.5" y="403">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image horizontalCenter="0" verticalCenter="0" source="bagbtn_1" source.down="bagbtn_1" source.disabled="bagbtn_2"
scaleY.down="0.95" scaleX.down="0.95" />
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0" size="20" textColor="0xeee104" stroke="2" />
</e:Skin>
</e:skinName>
</e:Button>
<e:Label id="curCapacity" text="fafaf" size="24" horizontalCenter="89.5" textColor="0xe5ddcf" stroke="2" y="409" />
<e:Button id="function" label="回 收" horizontalCenter="186.5" y="403" visible="false">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image horizontalCenter="0" verticalCenter="0" source="bagbtn_1" source.down="bagbtn_1" source.disabled="bagbtn_2"
scaleY.down="0.95" scaleX.down="0.95" />
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0" size="20" textColor="0xeee104" stroke="2" />
</e:Skin>
</e:skinName>
</e:Button>
<e:Group id="moneyGrp" x="33" y="455" visible="false">
<app:moneyPanel id="notBindGold" x="-43" y="-95" skinName="moneyPanelSkin" height="29" width="231" />
<app:moneyPanel id="bindGold" x="205" y="-94.68" skinName="moneyPanelSkin" height="29" width="231" />
<app:moneyPanel id="notBindYuanBao" x="205" y="-60" skinName="moneyPanelSkin" height="29" width="231" />
<app:moneyPanel id="bindYuanbao" x="-43" y="-547" skinName="moneyPanelSkin" height="29" width="231" />
<e:layout>
<e:TileLayout requestedRowCount="2" requestedColumnCount="2" horizontalGap="17" verticalGap="7" />
</e:layout>
</e:Group>
<e:Group id="sildGrp" x="525.2" y="87" visible="false">
<e:Image source="bag_fanye_bg" />
<e:Image x="19.5" y="80.33" source="com_fengexian" rotation="90" width="144" />
<e:Button id="upBtn" label="Button" x="-4" y="51.33" skinName="BagUpSkin" />
<e:Button id="downBtn" label="Button" x="-3.66" y="237.67" skinName="BagUpSkin" scaleY="-1" />
<e:VSlider id="silding" name="verticalSlider" x="9.15" value="0" width="20" height="94" minimum="0" maximum="415"
y="98" anchorOffsetY="0">
<e:Skin minWidth="20" minHeight="10">
<e:Image id="track" source="" scale9Grid="2,2,16,15" width="20" height="100%" verticalCenter="0" />
<e:Image id="thumb" source="bag_fanye_3" rotation="0" x="2" scale9Grid="7,21,2,1" />
</e:Skin>
</e:VSlider>
</e:Group>
<app:RuleTipsButton label="Button" x="292" y="406" ruleId="1" />
<e:Group x="15" y="458" touchEnabled="false">
<e:Group touchEnabled="false">
<e:Label text="金币:" x="1" y="6" size="20" textColor="0xe5ddcf" stroke="2" />
<e:Label id="goldNum" text="99,999,999" x="49.33" y="6.33" size="20" textColor="0xE5DDCF" stroke="2" />
<e:Label id="goldIcon" text="[转换]" x="126.7" y="17" size="20" textColor="0x7d21d9" stroke="1" />
<e:layout>
<e:HorizontalLayout gap="5" />
</e:layout>
</e:Group>
<e:Group x="0" y="25" touchEnabled="false">
<e:Label text="元宝:" x="1" y="6" size="20" textColor="0xE5DDCF" stroke="2" />
<e:Label id="yuanbaoNum" text="99,999,999" x="49.33" y="6.33" size="20" textColor="0xE5DDCF" stroke="2" />
<e:Label id="yuanbaoIcon" text="[转换]" x="126.7" y="17" size="20" textColor="0x7D21D9" stroke="1" />
<e:Label id="withdrawIcon" text="[提现]" x="226.7" y="17" size="20" textColor="0x7D21D9" stroke="1" />
<e:layout>
<e:HorizontalLayout gap="5" />
</e:layout>
</e:Group>
<e:Group touchEnabled="false" y="50">
<e:Label text="绑金:" x="1" y="6" size="20" textColor="0xE5DDCF" stroke="2" />
<e:Label id="bindGoldNum" text="9,999,999,999" x="49.33" y="6.33" size="20" textColor="0xE5DDCF" stroke="2" />
<e:layout>
<e:HorizontalLayout gap="5" />
</e:layout>
</e:Group>
<e:Group y="75" touchEnabled="false">
<e:Label text="银两:" x="1" y="6" size="20" textColor="0xE5DDCF" stroke="2" />
<e:Label id="yinliangNum" text="9,999,999,999" x="49.33" y="6.33" size="20" textColor="0xE5DDCF" stroke="2" />
<e:layout>
<e:HorizontalLayout gap="5" />
</e:layout>
</e:Group>
</e:Group>
<e:Button id="wareHouseBtn" label="" x="454" y="475" width="60" height="60">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image horizontalCenter="0" verticalCenter="0" source="btn_ssck" source.down="btn_ssck" scaleY.down="0.98"
scaleX.down="0.98" />
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0" />
</e:Skin>
</e:skinName>
</e:Button>
<e:Button id="recoveryBtn" label="" x="375" y="474" width="60" height="64">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="btn_yjhs" source.down="btn_yjhs" scaleY.down="0.98" scaleX.down="0.98" />
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0" />
</e:Skin>
</e:skinName>
</e:Button>
<e:Button id="recoveryBtn2" label="" x="295" y="475" width="60" height="64">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image horizontalCenter="0" verticalCenter="0" source="btn_hs" source.down="btn_hs" scaleY.down="0.98"
scaleX.down="0.98" />
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0" />
</e:Skin>
</e:skinName>
</e:Button>
<e:Group id="effGrp" x="405" y="510" touchEnabled="false" touchChildren="false" />
</e:Skin>