fix xml and image

This commit is contained in:
miggaze 2021-08-16 12:01:11 +07:00
parent 8ac3b19851
commit 84eec5f8ad
6 changed files with 22 additions and 8 deletions

View file

@ -26,6 +26,7 @@
Var ShowTextNumber = "Enable"
Var ShowErrorText = "Invisible"
Var Tel_Confirm_State = "Invisible"
Var ErrorCause = ""
If show_eng = "true" Then
@ -252,6 +253,7 @@
Var ShowErrorText = "Enable"
Var text_show_error = DirImage + "/text_show_error.png"
Var GetPayInfoFlag = 0
Var CodeChannel = 0
@ -278,13 +280,19 @@
</EventActionOk>
<EventActionError>
If CodeChannel = 1 Then
If CodeChannel = 1 Then
Var TelephoneNumber = ""
Var ShowErrorText = "Enable"
SAVELOG ShowErrorText
Var text_show_error = DirImage + "/text_show_error2.png"
If ErrorCause = "failed_fromoper_0002" Then
Var text_show_error = DirImage + "/text_show_error.png"
EndIf
Var GetPayInfoFlag = 0
Var CodeChannel = 0
Var Tel_Confirm_State = "Disable"
@ -703,11 +711,11 @@
</Image>
<Image>
<X> 330 </X>
<Y> 942 </Y>
<X> 152 </X>
<Y> 935 </Y>
<Refresh> "Enable" </Refresh>
<State> ShowErrorText </State>
<Filename> "ROOT/taobin_project/image/collectiing/text_show_error.png" </Filename>
<Filename> text_show_error </Filename>
</Image>

View file

@ -33,6 +33,9 @@
Var number9 = ""
Var number10 = ""
Var Ext1a = ""
Var GetAccFlag = 0
</EventOpen>
<Timeout> 1000 </Timeout>
@ -72,7 +75,7 @@
<EventActionOk>
If GetAccFlag = 1 Then
If Ext1a = "ok" Then
Var CoffeeCredit = Ext1b
INT CoffeeCredit
@ -119,10 +122,11 @@
Open "ROOT/taobin_project/xml/page_payment_storeCredit2.xml"
Else
Var ShowErrorText = "Enable"
;Var ShowErrorText = "Enable"
EndIf
EndIf
EndIf
Refresh
@ -130,7 +134,9 @@
</EventActionOk>
<EventActionError>
Var ShowErrorText = "Enable"
If GetAccFlag = 1 Then
Var ShowErrorText = "Enable"
EndIf
Refresh
</EventActionError>
@ -653,7 +659,7 @@
</Image>
<Image>
<X> 330 </X>
<X> 152 </X>
<Y> 942 </Y>
<State> ShowErrorText </State>
<Refresh> "Enable" </Refresh>