add topup credit while brewing
This commit is contained in:
parent
cca40820d4
commit
6d5a24547a
27 changed files with 4289 additions and 1 deletions
|
|
@ -307,8 +307,11 @@
|
|||
Var next_pic_bp = DirImage + "/bp_add_order.png"
|
||||
Var text_next_order = DirImage + "/text_next_order.png"
|
||||
Var bg_strawlid = DirImage2 + "/bg_strawlidSmall.png"
|
||||
|
||||
|
||||
Var topup_credit_bn = DirImage + "/bn_topup_credit.png"
|
||||
Var topup_credit_bp = DirImage + "/bp_topup_credit.png"
|
||||
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||
|
||||
Var Seeker.strawAction = 0
|
||||
Var Seeker.lidAction = 0
|
||||
|
||||
|
|
@ -1887,6 +1890,35 @@
|
|||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 792 </X>
|
||||
<Y> 1687 </Y>
|
||||
<State>EnableTopupCreditBetweenBrew</State>
|
||||
<Filename> topup_credit_bn </Filename>
|
||||
<FilenamePress> topup_credit_bp </FilenamePress>
|
||||
<EventClick>
|
||||
If MachineState_Result = 0 Then
|
||||
|
||||
Var TelephoneNumber = Seeker.TNumberTaobinCredit
|
||||
|
||||
SAVELOG "User click topup-credit button"
|
||||
Var Seeker = "topupCredit"
|
||||
CoinPause
|
||||
Var topupCreditWithCash = "Enable"
|
||||
|
||||
If TelephoneNumber = "" Then
|
||||
Open "ROOT/taobin_project/xml/page_topup_credit.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_topup_credit-ChooseNumber.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 733 </X>
|
||||
<Y> 1787 </Y>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue