add coupon error page
This commit is contained in:
parent
72254b4e61
commit
0a4df269cf
7 changed files with 160 additions and 2 deletions
|
|
@ -6,6 +6,9 @@
|
|||
;<Background> "0xeae6e1" </Background>
|
||||
|
||||
<EventOpen>
|
||||
Var Timeout = 0
|
||||
Var ServerRespond = 0
|
||||
|
||||
Var RewardDisplayDir = "ROOT/taobin_project/image/event/pepween/"
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
|
@ -22,6 +25,40 @@
|
|||
Var isCoffinPress = "Disable"
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
DEBUGVAR Timeout
|
||||
|
||||
If PayOfflineMode = 1 Then
|
||||
Var ServerRespond = 0
|
||||
Var CouponResponeFailed = 1
|
||||
EndIf
|
||||
|
||||
If Timeout > 60 Then
|
||||
; Check and return Error
|
||||
Var CouponResponeFailed = 1
|
||||
Open "ROOT/taobin_project/xml/event/pepween/page_pepween_error.xml"
|
||||
EndIf
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventActionOk>
|
||||
If CouponResponeFailed = 0 Then
|
||||
; TODO:
|
||||
;Open "ROOT/taobin_project/xml/event/pepween/page_pepween_error.xml"
|
||||
EndIf
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
; TODO: open coupon send error page
|
||||
If CouponResponeFailed = 1 Then
|
||||
Open "ROOT/taobin_project/xml/event/pepween/page_pepween_error.xml"
|
||||
EndIf
|
||||
</EventActionError>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
|
|
@ -32,13 +69,17 @@
|
|||
</Video>
|
||||
|
||||
;
|
||||
<Button>
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1540 </Height>
|
||||
<Filename> RewardDisplay </Filename>
|
||||
</Button>
|
||||
</Image>
|
||||
|
||||
|
||||
<EventUnitTest1>
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
</EventUnitTest1>
|
||||
|
||||
</Popup>
|
||||
Loading…
Add table
Add a link
Reference in a new issue