Add idcard .xml

This commit is contained in:
kong 2020-11-15 23:14:16 +07:00
parent 7269467922
commit 53f54b912e
47 changed files with 1038 additions and 430 deletions

View file

@ -13,12 +13,12 @@
SAVELOG show_eng
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/consent_en/"
Var DirImage = "ROOT/taobin_project/image/consent_idcard_en/"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Else
Var DirImage = "ROOT/taobin_project/image/consent/"
Var DirImage = "ROOT/taobin_project/image/consent_idcard/"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
EndIf
@ -35,6 +35,13 @@
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
EndIf
; add
If Timeout = 3 Then
;page_disqualified_idcard
;page_got_free_idcard
Open "ROOT/taobin_project/xml/page_got_free_idcard.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
@ -45,9 +52,16 @@
<EventActionOk>
Var IDValid = ""
; add
SAVELOG Ext1a
SPLIT Ext1a "|" 1 IDValid
; add
Var IDValid = "ok"
If IDValid = "ok" Then
Var FreeVendingCampaign = 1
@ -59,7 +73,7 @@
Else
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
Open "ROOT/taobin_project/xml/page_disqualified_idcard.xml"
EndIf
Refresh
@ -168,37 +182,7 @@
<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
</Image>
;
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> "ROOT/taobin_project/image/page_doing/img2.png" </Filename>
</Image>
;
;
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> "ROOT/taobin_project/image/page_doing/img2.png" </Filename>
</Image>
;
;
<Text>
<X> XPosiShowCountDownBrew </X>
<Y> 470 </Y>
<Align> End </Align>
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font>
<Color> 0x513C2F </Color>
<Value> AcceptFlag </Value>
</Text>
<EventSecurity>