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,17 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="ChangeNameViewSkin" xmlns:e="http://ns.egret.com/eui" xmlns:app="app.*" xmlns:w="http://ns.egret.com/wing" width="478" height="340">
<e:Rect id="closeRect" left="0" right="0" top="0" bottom="0" fillAlpha="0.2"/>
<app:UIViewFrame id="dragDropUI" verticalCenter="0" horizontalCenter="0" skinName="ViewBgWin5Skin"/>
<e:Image source="chat_bg_bg1_png" scale9Grid="9,9,1,2" verticalCenter="-10" horizontalCenter="0" visible="false"/>
<e:Image source="chat_bg_bg2" scale9Grid="4,4,28,28" width="388" height="38" horizontalCenter="0" anchorOffsetX="0" anchorOffsetY="0" verticalCenter="-1"/>
<e:Label text="请输入新的名字" textAlign="center" verticalAlign="middle" size="24" verticalCenter="-58.5" horizontalCenter="0" bold="true" textColor="0xefc41c"/>
<e:TextInput id="textInput" width="315" horizontalCenter="0" verticalCenter="0" prompt="单击此处输入名字"/>
<e:Button id="sureBtn" label="确认修改" horizontalCenter="0.5" verticalCenter="133.5" 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" 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>

View File

@@ -0,0 +1,40 @@
<?xml version='1.0' encoding='utf-8'?>
<e:Skin class="CreateRole2Skin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Rect width="100%" height="100%" fillAlpha="1" />
<e:Group id="group" width="1344" height="840" horizontalCenter="0" verticalCenter="0">
<e:Image id="bgImg" horizontalCenter="0" verticalCenter="0" source="login_bg2_jpg" />
<e:Label id="timeLab" text="" size="22" textColor="0x28ee01" x="530" y="677" width="300" textAlign="center" />
<e:Group id="roleGrp" y="583.33" x="482" scaleX="0.9" scaleY="0.9" />
<e:Rect id="rect" width="60" height="70" y="414" x="447" visible="false"/>
<e:Group x="769" y="360">
<e:Button id="job1" label="战士" icon="login_zs_2" skinName="Btn23Skin" />
<e:Button id="job2" label="法师" icon="login_fs_2" skinName="Btn23Skin" x="135.52" y="-1" />
<e:Button id="job3" label="道士" icon="login_ds_2" skinName="Btn23Skin" x="283.49" y="-1" />
<e:layout>
<e:HorizontalLayout gap="4" />
</e:layout>
</e:Group>
<e:Group x="802" y="501">
<e:Button id="boy" label="男" icon="login_nan_2" skinName="Btn23Skin" x="2" />
<e:Button id="girl" label="女" icon="login_nv_2" skinName="Btn23Skin" x="149" />
<e:layout>
<e:HorizontalLayout gap="8" />
</e:layout>
</e:Group>
<e:Group x="577" y="697.67" width="208" height="90">
<e:Button id="createBtn" label="按钮" icon="login_btn" x="0" skinName="Btn0Skin" scaleX="0.7" scaleY="0.7" />
</e:Group>
<e:Group id="createMcGrp" x="680" y="744" touchEnabled="false" touchChildren="false" touchThrough="false" />
<e:Button id="diceBtn" label="按钮" skinName="Btn0Skin" icon="login_suiji" x="974" y="265" scaleX="1.2" scaleY="1.2" />
<e:EditableText id="nameInput" width="172" text="" x="793" y="272" size="24" textAlign="center" verticalAlign="middle" />
</e:Group>
<e:Button id="closeButton" label="Button" right="10" top="10" scaleX="0.7" scaleY="0.7" visible="false">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image source="create_btn_fanhui" horizontalCenter="0" verticalCenter="0" scaleX.up="1" scaleY.up="1"
scaleX.down="0.95" scaleY.down="0.95" source.down="create_btn_fanhui" source.disabled="create_btn_fanhui" />
</e:Skin>
</e:skinName>
</e:Button>
</e:Skin>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="SwitchPlayerItemSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" height="110">
<e:Image source="chat_bg_bg1_png" anchorOffsetX="0" width="347" anchorOffsetY="0" height="110" y="0" x="0" scale9Grid="55,57,334,87"/>
<e:Image id="selectImg" source="common_liebiaoxuanzhong" scale9Grid="6,6,38,36" anchorOffsetX="0" width="349" x="-1" y="-2" anchorOffsetY="0" height="113" visible="false"/>
<e:Image source="name_touxiangk" x="10" y="12"/>
<e:Image id="hairImage" x="15" y="18" source="name_1_0"/>
<e:Label id="nameLabel" text="" x="120" y="20" size="20" textColor="0xcf15e1"/>
<e:Label id="levelLabel" text="" x="120" y="47" size="18" textColor="0xbca384"/>
<e:Label id="guildLabel" text="" x="120" y="72" size="18" textColor="0xbca384"/>
</e:Skin>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="SwitchPlayerSkin" xmlns:e="http://ns.egret.com/eui" xmlns:ns1="*" xmlns:app="app.*" xmlns:w="http://ns.egret.com/wing" width="431" height="478">
<app:UIViewFrame id="dragDropUI" skinName="ViewBgWin4Skin"/>
<e:Scroller id="playerScroller" width="360" height="339" y="60" anchorOffsetY="0" x="36">
<e:List id="list" >
<e:layout>
<e:VerticalLayout paddingLeft="6" paddingTop="0" gap="5"/>
</e:layout>
</e:List>
</e:Scroller>
<e:Group y="403" horizontalCenter="0.5">
<e:Button id="createBtn" label="" skinName="Btn9Skin"/>
<e:Button id="switchBtn" label="" skinName="Btn9Skin"/>
<e:layout>
<e:HorizontalLayout gap="40"/>
</e:layout>
</e:Group>
<app:RuleTipsButton label="Button" x="354" y="407" ruleId="48"/>
</e:Skin>