THAI: Added loading topup

This commit is contained in:
Kenta420 2024-06-19 11:32:49 +07:00
parent 984cffa657
commit 985cfb267f
2 changed files with 47 additions and 6 deletions

View file

@ -6,7 +6,6 @@
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Refresh> "Partial" </Refresh>
<EventOpen>
; On open
@ -20,6 +19,7 @@
Var ShowErrorText = "Invisible"
Var ShowErrorText2 = "Invisible"
Var Tel_Confirm_State = "Invisible"
Var LoadingState = "Invisible"
Var GetCreditFlag = 0
@ -47,6 +47,14 @@
<EventTimeout>
Var Timeout = Timeout + 1
If GetAccFlag = 1 Then
If Timeout > 20 Then
Var LoadingState = "Invisible"
Var ShowErrorText = "Enable"
EndIf
EndIf
If Timeout > 60 Then
;Open "ROOT/taobin_project/xml/page_catalog2.xml"
@ -189,6 +197,24 @@
</Text>
<GIF>
<X> 493 </X>
<Y> 1020 </Y>
<Width> 94 </Width>
<Height> 94 </Height>
<State> LoadingState </State>
<Filename> "ROOT/taobin_project/image/page_payment/loading.gif"</Filename>
</GIF>
<Image>
<X> 267 </X>
<Y> 1120 </Y>
<State> LoadingState </State>
<Filename> Var( DirImage + "/loadingText.png" )</Filename>
</Image>
;include="ROOT/taobin_project/inc/video.inc"
@ -214,6 +240,8 @@
Var GetAccFlag = 1
GETACCEXT TelephoneNumber 19
Var LoadingState = "Enable"
Refresh
Else
Var ShowErrorText2 = "Enable"

View file

@ -6,7 +6,6 @@
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Refresh> "Partial" </Refresh>
<EventOpen>
; On open
@ -19,6 +18,7 @@
Var ShowTextNumber = "Enable"
Var ShowErrorText = "Invisible"
Var Tel_Confirm_State = "Invisible"
Var loadingReqState = "Invisible"
Var GetCreditFlag = 0
@ -629,6 +629,8 @@ If ViewBill > 0 Then
Var TextWaiting = "กรุณารอซักครู่..."
EndIf
Var loadingReqState = "Enable"
Refresh
EndIf
@ -681,10 +683,21 @@ If ViewBill > 0 Then
<Filename> Var( DirImage + text_show_error ) </Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 601 </Y>
<State> loadingReqState </State>
<Filename> "ROOT/taobin_project/image/collectiing/alpha_loading.png" </Filename>
</Image>
;include="ROOT/taobin_project/inc/video.inc"
<GIF>
<X> 494 </X>
<Y> 1078 </Y>
<Width> 94 </Width>
<Height> 94 </Height>
<State> loadingReqState </State>
<Filename> "ROOT/taobin_project/image/page_payment/loading.gif" </Filename>
</GIF>
<Text>
@ -700,7 +713,7 @@ If ViewBill > 0 Then
</Text>
;include="ROOT/taobin_project/inc/video.inc"
<EventSecurity>