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,45 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="ShopBatchBuySkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:app="app.*" width="478" height="346">
<e:Group width="478" height="340" x="0" y="0">
<app:UIViewFrame id="dragDropUI" x="0" y="0" skinName="ViewBgWin5Skin"/>
<e:Image source="chat_bg_bg1_png" x="17.63" y="54.66" scale9Grid="222,95,27,17" visible="false"/>
<app:ItemBase id="itemData" x="51.98" y="72.66" skinName="ItemBaseSkin"/>
<e:Label id="itemName" text="" x="125" y="73" size="23" bold="true" stroke="2" textColor="0xe5ddcf"/>
<e:Image source="bag_fengexian" verticalCenter="-30" horizontalCenter="3" x="12" y="88" width="448"/>
<e:Scroller id="scroller" width="411" height="71" x="33" y="145" anchorOffsetX="0" anchorOffsetY="0" scrollPolicyH="off">
<e:Group>
<e:Label id="itemDesc" text="" size="19" width="411" horizontalCenter="2.5" lineSpacing="5" y="1" textColor="0x3895fd" x="3" scaleX="1" scaleY="1"/>
</e:Group>
</e:Scroller>
<e:Button id="btnLessLess" label="Button" x="35.31" y="218.02" skinName="Btn0Skin" icon="com_jianjian"/>
<e:Button id="btnLess" label="Button" x="74.11" y="217.02" skinName="Btn0Skin" icon="com_jian"/>
<e:Button id="btnAdd" label="Button" x="225.11" y="217.02" skinName="Btn0Skin" icon="com_jia"/>
<e:Button id="btnAddadd" label="Button" x="263.31" y="217.02" skinName="Btn0Skin" icon="com_jiajia"/>
<e:Image source="bag_piliangbg_0" scale9Grid="5,5,32,32" width="99.6" height="36" horizontalCenter="-74" bottom="90"/>
<e:Button id="btnBuy" label="购 买" horizontalCenter="90.5" bottom="12" 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:Button id="btnCannel" label="取 消" horizontalCenter="-79.5" bottom="12" 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:Label text="总价:" x="309" y="222" size="20" stroke="2" textColor="0xf0c896"/>
<e:Label text="单价:" x="126" y="109" textColor="0xEBC592" size="20" stroke="2"/>
<e:Label id="lbCount" text="" x="393" y="222" size="20" textColor="0xf0c896" stroke="2"/>
<e:Label id="lbPrice" text="" x="209" y="110" size="20" textColor="0xf0c896" stroke="2"/>
<e:Image id="icon_item" x="352" y="210" anchorOffsetX="0" anchorOffsetY="0" source="13123" scaleX="0.7" scaleY="0.7"/>
<e:Image id="icon_Itemprite" x="169" y="97" source="13123" scaleX="0.7" scaleY="0.7"/>
<!--<e:Label id="lbNum" text="" textColor="0x666666" size="20" textAlign="center" verticalCenter="61" horizontalCenter="-76"/>
<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="lbNum" width="125.34" height="26.67" text="" size="18" textAlign="center" verticalCenter="61" horizontalCenter="-76" restrict="0-9" anchorOffsetX="0" anchorOffsetY="0"/>
</e:Group>
</e:Skin>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="ShopHotViewSkin" width="62" height="64" currentState="odd" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" states="odd,dual" >
<e:Group id="hotdualGp" width="62" height="64" y="0" includeIn="dual">
<e:Image source="shop_jiaobiao" x="0" y="0" />
<e:Image id="hotIon1" source="shop_rexiao" x="1" y="0" visible="false"/>
<e:Image id="dualNum_0" x="-2" y="2" source="shop_zhekou_7"/>
<e:Image id="dualNum_1" x="5" y="-5" source="shop_zhekou_5"/>
<e:Image id="dualText" source="shop_zhekou_bg" x="5" y="-5"/>
</e:Group>
<e:Group id="hotOddGp" width="62" height="64" y="0" includeIn="odd">
<e:Image source="shop_jiaobiao" x="0" y="0" />
<e:Image id="hotIon0" source="shop_rexiao" x="1" y="0" visible="false"/>
<e:Image id="oddNum" source="shop_zhekou_1" x="1" y="-1"/>
<e:Image id="oddText" source="shop_zhekou_bg" x="3" y="-2"/>
</e:Group>
</e:Skin>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="ShopItemViewSkin" width="224" height="143" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:app="app.*">
<e:Group id="gp" width="224" height="143" x="0" y="0">
<e:Image id="bg" source="shop_bg" x="0" y="0" />
<e:Image source="shop_iconk" x="22" y="63"/>
<e:Image source="shop_bg_xian" x="11" y="43"/>
<e:Label id="shopItemNameLb" text="绑定金币" size="22" verticalCenter="-43.5" horizontalCenter="-4" textColor="0xf0c896" stroke="2"/>
<e:Group id="surplusCountLb" width="112" height="20" x="103" y="64" >
<e:Label id="numTxt" text="" size="18" horizontalCenter="-10" verticalCenter="0" width="91" x="0" y="1" textColor="0xe5ddcf" stroke="2"/>
<e:Label id="numLb" text="" size="18" width="32" x="81" y="0.7" textColor="0xe5ddcf" stroke="2"/>
</e:Group>
<e:Image id="goodsItem" source="11027" x="22.33" y="63.67"/>
<e:Label id="countLb" text="10" y="105" size="18" textColor="0xdcd2be" right="142" stroke="1"/>
</e:Group>
</e:Skin>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="ShopQQViewSkin" width="910" height="645" xmlns:e="http://ns.egret.com/eui" xmlns:app="app.*" xmlns:w="http://ns.egret.com/wing">
<e:Group id="win" width="910" height="645" x="0" y="0">
<app:UIViewFrame id="dragDropUI" skinName="ViewBgWin1Skin"/>
<e:Image x="187" y="57" source="banner_lzshangcheng"/>
<e:TabBar id="optTab" x="28" y="61" itemRendererSkinName="TradeLineTabSkin" anchorOffsetX="0">
<e:layout>
<e:VerticalLayout horizontalAlign="center" gap="-3"/>
</e:layout>
</e:TabBar>
<e:Group height="405" x="188" width="697" touchEnabled="false" y="161">
<e:Label id="noListTipsLb" text="" textAlign="center" verticalAlign="middle" horizontalCenter="0" verticalCenter="0" textColor="0xDCD2BE" stroke="1" visible="false"/>
<e:Scroller id="scroller" height="400" >
<e:List id="gList" x="3" y="0" itemRendererSkinName="ShopItemViewSkin">
<e:layout>
<e:TileLayout orientation="rows" horizontalAlign="center" verticalAlign="middle" verticalGap="5" horizontalGap="7" paddingLeft="10" requestedColumnCount="3" paddingTop="5"/>
</e:layout>
</e:List>
</e:Scroller>
</e:Group>
<e:Button id="btnExchangeMoney" label="兑换绑金" x="758" y="564" skinName="Btn30Skin" width="113" height="46" visible="false"/>
<e:Label id="txt0" text="" size="22" verticalCenter="265" horizontalCenter="-325.5" textColor="0xf0c896" x="68" y="569" visible="false"/>
<app:RuleTipsButton label="Button" x="33" y="570.33" ruleId="17" />
<e:Image source="com_bg_kuang_4_png" x="180" y="52.32"/>
<e:Button id="openBlue" label="" x="695" y="79.32" skinName="Btn0Skin" icon="lz_ktlzbt" width="156" height="32" scaleX="1.2" scaleY="1.2"/>
</e:Group>
</e:Skin>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="ShopTarBtnItemSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:app="app.*"
width="140" height="63" states="down,up" width.up="140" height.up="63" width.down="140" height.down="63">
<e:Image id="select" smoothing="false" y="4" x="4" includeIn="up" source="shop_yeqian_1"/>
<e:Image id="selected" x="0" y="0" includeIn="down" source="shop_yeqian_2"/>
<e:Label id="labelDisplay" text="" size="24" horizontalCenter="0" verticalCenter="0" textAlign="center" verticalAlign="middle" textColor="0xf0c896"/>
</e:Skin>

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="ShopViewSkin" width="910" height="645" xmlns:e="http://ns.egret.com/eui" xmlns:app="app.*"
xmlns:w="http://ns.egret.com/wing">
<e:Group id="win" width="910" height="645" x="0" y="0">
<app:UIViewFrame id="dragDropUI" skinName="ViewBgWin1Skin" />
<e:TabBar id="optTab" x="28" y="61" itemRendererSkinName="TradeLineTabSkin" anchorOffsetX="0">
<e:layout>
<e:VerticalLayout horizontalAlign="center" gap="-3" />
</e:layout>
</e:TabBar>
<e:Group height="496" x="185" y="56" width="697" touchEnabled="false">
<e:Group id="bannerGrp" horizontalCenter="0">
<e:Image id="imgBanner" source="shop_yybsc" />
<e:Image source="shop_yyb_bannert" x="365" y="39"/>
<e:Image source="shop_yyb_bannert2" x="173" y="14"/>
<e:Label id="timeLabel" text="倒计时3天29小时59分" y="75" size="18" textColor="0x28EE01" scaleX="1" scaleY="1" stroke="2" right="15" />
</e:Group>
<e:Label id="noListTipsLb" text="" textAlign="center" verticalAlign="middle" horizontalCenter="0" verticalCenter="0"
textColor="0xDCD2BE" stroke="1" visible="false" />
<e:Scroller id="scroller" top="0" bottom="5">
<e:List id="gList" height="503" x="3" y="0" itemRendererSkinName="ShopItemViewSkin">
<e:layout>
<e:TileLayout orientation="rows" horizontalAlign="center" verticalAlign="middle" verticalGap="5" horizontalGap="7"
paddingLeft="10" paddingTop="10" requestedColumnCount="3" />
</e:layout>
</e:List>
</e:Scroller>
</e:Group>
<e:Button id="btnExchangeMoney" label="兑换绑金" x="758" y="564" skinName="Btn30Skin" width="113" height="46"
visible="false"/>
<e:Label id="txt0" text="" size="22" verticalCenter="265" horizontalCenter="-325.5" textColor="0xf0c896" x="68"
y="569" visible="false"/>
<app:RuleTipsButton label="Button" x="33" y="570.33" ruleId="17" />
<e:Image source="com_bg_kuang_4_png" x="180" y="52.32" />
</e:Group>
</e:Skin>