restructure
This commit is contained in:
111
content/panorama/layout/custom_game/frames/payment/payment.xml
Normal file
111
content/panorama/layout/custom_game/frames/payment/payment.xml
Normal file
@@ -0,0 +1,111 @@
|
||||
<root>
|
||||
<styles>
|
||||
<include src="s2r://panorama/styles/dotastyles.vcss_c" />
|
||||
<include src="s2r://panorama/layout/custom_game/frames/payment/payment.vcss_c" />
|
||||
</styles>
|
||||
<scripts>
|
||||
<include src="s2r://panorama/layout/custom_game/frames/payment/payment.vjs_c" />
|
||||
</scripts>
|
||||
<Panel class="PaymentRoot" onactivate="" >
|
||||
<Button id="CloseButton" onactivate="Close()" />
|
||||
|
||||
<Panel id="PageModeToggle" >
|
||||
<Label style="color:#fff;vertical-align: middle;" text="#td_type" />
|
||||
<RadioButton id="fairy" selected="true" text="符卡精华" group="mode_group" onactivate="PageModeSelect('fairy')" onmouseover="ShowModeSelectTip(1)" onmouseout="HideModeSelectTip()" />
|
||||
<RadioButton id="pet" selected="false" text="宠物等级和奖励时间" group="mode_group" onactivate="PageModeSelect('pet')" onmouseover="ShowModeSelectTip(2)" onmouseout="HideModeSelectTip()" />
|
||||
</Panel>
|
||||
|
||||
<Panel id="InputPage">
|
||||
<!-- <Label class="t1" text="需要的符卡精华数量" /> -->
|
||||
<Panel class="t2" hittest="false">
|
||||
<Panel id="AvalonCoinPanel" onactivate="AvalonCoinInputFocus()">
|
||||
<TextEntry id="AvalonCoin" maxchars="7" ontextentrychange="OnAvalonCoinChange()" />
|
||||
</Panel>
|
||||
<Label class="title" text=" 符卡精华" />
|
||||
</Panel>
|
||||
<!-- 自动增加 -->
|
||||
<Panel id="AddAvalonCoin" >
|
||||
<Button class="btn" onactivate="AddAvalonCoin(100)">
|
||||
<Label text="+100" />
|
||||
</Button>
|
||||
<Button class="btn" onactivate="AddAvalonCoin(500)">
|
||||
<Label text="+500" />
|
||||
</Button>
|
||||
<Button class="btn" onactivate="AddAvalonCoin(20)">
|
||||
<Label text="+20" />
|
||||
</Button>
|
||||
<Button class="btn" onactivate="AddAvalonCoin(0)">
|
||||
<Label text="重置" />
|
||||
</Button>
|
||||
</Panel>
|
||||
<!-- 支付按钮 -->
|
||||
<Panel id="PrePayButton" >
|
||||
<Label class="title" html="true" text="请赞助 {s:Amount} 元" />
|
||||
<Panel class="line center">
|
||||
<Button class="pay-btn alipay" onactivate="Pay('alipay','fairy')">
|
||||
<Image src="s2r://panorama/images/custom_game/alipay_png.vtex" />
|
||||
<Label text="支付宝" />
|
||||
</Button>
|
||||
<Button class="pay-btn wechatpay" onactivate="Pay('wechatpay','fairy')">
|
||||
<Image src="s2r://panorama/images/custom_game/wechatpay_png.vtex" />
|
||||
<Label text="微信" />
|
||||
</Button>
|
||||
</Panel>
|
||||
</Panel>
|
||||
</Panel>
|
||||
|
||||
<Panel id="PetInputPage">
|
||||
<Label class="t1" text="每级获得2个月的特别奖励时间" />
|
||||
<Panel class="t2" hittest="false">
|
||||
<Panel id="PetTextPanel" onactivate="PetInputFocus()">
|
||||
<TextEntry id="PetLevelText" maxchars="5" ontextentrychange="OnPetLevelChange()" />
|
||||
</Panel>
|
||||
<Label class="title" text=" 宠物等级" />
|
||||
</Panel>
|
||||
<!-- 自动增加 -->
|
||||
<Panel id="AddPetLevel" >
|
||||
<Button class="btn" onactivate="AddPetLevel(1)">
|
||||
<Label text="+1" />
|
||||
</Button>
|
||||
<Button class="btn" onactivate="AddPetLevel(5)">
|
||||
<Label text="+5" />
|
||||
</Button>
|
||||
<Button class="btn" onactivate="AddPetLevel(10)">
|
||||
<Label text="+10" />
|
||||
</Button>
|
||||
<Button class="btn" onactivate="AddPetLevel(0)">
|
||||
<Label text="重置" />
|
||||
</Button>
|
||||
</Panel>
|
||||
<!-- 支付按钮 -->
|
||||
<Panel id="PetPrePayButton" >
|
||||
<Label class="title" html="true" text="请赞助 {s:Amount} 元" />
|
||||
<Panel class="line center">
|
||||
<Button class="pay-btn alipay" onactivate="Pay('alipay','pet')">
|
||||
<Image src="s2r://panorama/images/custom_game/alipay_png.vtex" />
|
||||
<Label text="支付宝" />
|
||||
</Button>
|
||||
<Button class="pay-btn wechatpay" onactivate="Pay('wechatpay','pet')">
|
||||
<Image src="s2r://panorama/images/custom_game/wechatpay_png.vtex" />
|
||||
<Label text="微信" />
|
||||
</Button>
|
||||
</Panel>
|
||||
</Panel>
|
||||
</Panel>
|
||||
|
||||
<Panel id="HtmlPage" onactivate="">
|
||||
<!-- <DOTAHTMLPanel id="Html" url="" ></DOTAHTMLPanel> -->
|
||||
<Panel id="PayQrPanel">
|
||||
<Label html="true" text="获取二维码中,请稍等" />
|
||||
<Image id="PayQrImg" src="" scaling="none" />
|
||||
</Panel>
|
||||
<Label class="center margin-sm" html="true" text="#sponsor_note" />
|
||||
<Button id="CompleteButton" class="btn" onactivate="PayComplete()">
|
||||
<Label text="#pay_complete" />
|
||||
</Button>
|
||||
<Button id="GoBackButton" onactivate="GoBack()">
|
||||
<Label text="#pay_back_button" />
|
||||
</Button>
|
||||
</Panel>
|
||||
</Panel>
|
||||
</root>
|
||||
Reference in New Issue
Block a user