fix qr web
This commit is contained in:
parent
270ee86c09
commit
5eaf363774
6 changed files with 71 additions and 13 deletions
BIN
image/topping2/new_multi.png
Normal file
BIN
image/topping2/new_multi.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
BIN
image/topping2_en/new_multi.png
Normal file
BIN
image/topping2_en/new_multi.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
|
|
@ -144,7 +144,15 @@
|
|||
Var ShowNetworkProblemText = ""
|
||||
Machine NetworkUp
|
||||
|
||||
GenHashWithTimeStamp QRCODE99
|
||||
|
||||
|
||||
|
||||
|
||||
Var QRCODE99x = ""
|
||||
|
||||
|
||||
GenHashWithTimeStamp QRCODE99x
|
||||
Var QRCODE99 = "https://taobin-beverage.web.app/" + QRCODE99x
|
||||
WEB "ENABLE"
|
||||
|
||||
Else
|
||||
|
|
|
|||
|
|
@ -392,14 +392,14 @@
|
|||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<QRCode>
|
||||
<X> 895 </X>
|
||||
<Y> QRCODE99_Y</Y>
|
||||
<Width> 178 </Width>
|
||||
<Height> 178 </Height>
|
||||
<State> "Enable" </State>
|
||||
<Service> testservice </Service>
|
||||
</QRCode>
|
||||
;<QRCode>
|
||||
;<X> 895 </X>
|
||||
;<Y> QRCODE99_Y</Y>
|
||||
;<Width> 178 </Width>
|
||||
;<Height> 178 </Height>
|
||||
;<State> "Enable" </State>
|
||||
;<Service> testservice </Service>
|
||||
;</QRCode>
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -153,17 +153,28 @@
|
|||
|
||||
Var ButtonNext = "false"
|
||||
|
||||
Var NEW_MULTI = "Invisible"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 2000 </Timeout>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
DEBUGVAR Timeout
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 20 Then
|
||||
If Timeout > 40 Then
|
||||
Var Timeout = 0
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
If MultiPayEnable = "true" Then
|
||||
If NEW_MULTI = "Invisible" Then
|
||||
Var NEW_MULTI = "Enable"
|
||||
Else
|
||||
Var NEW_MULTI = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
|
@ -1411,6 +1422,10 @@
|
|||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
; add cart
|
||||
<Button>
|
||||
<State> btnAddCart </State>
|
||||
|
|
@ -1478,6 +1493,18 @@
|
|||
Var CartUpdate = "true"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 277 </X>
|
||||
<Y> 1772 </Y>
|
||||
<State> NEW_MULTI </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 500 </Interval>
|
||||
<Filename> Var( DirImage + "/new_multi.png" ) </Filename>
|
||||
<EventClick>
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
; next
|
||||
<Button>
|
||||
<X> 673 </X>
|
||||
|
|
|
|||
|
|
@ -152,18 +152,29 @@
|
|||
Machine DoorLidClose
|
||||
|
||||
Var ButtonNext = "false"
|
||||
Var NEW_MULTI = "Invisible"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 2000 </Timeout>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
DEBUGVAR Timeout
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 20 Then
|
||||
If Timeout > 40 Then
|
||||
Var Timeout = 0
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
If MultiPayEnable = "true" Then
|
||||
If NEW_MULTI = "Invisible" Then
|
||||
Var NEW_MULTI = "Enable"
|
||||
Else
|
||||
Var NEW_MULTI = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
|
@ -1482,6 +1493,18 @@
|
|||
Var CartUpdate = "true"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 277 </X>
|
||||
<Y> 1772 </Y>
|
||||
<State> NEW_MULTI </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 500 </Interval>
|
||||
<Filename> Var( DirImage + "/new_multi.png" ) </Filename>
|
||||
<EventClick>
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
; next
|
||||
<Button>
|
||||
<X> 673 </X>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue