next smoothie flow

This commit is contained in:
Ittipat Lusuk 2025-05-06 14:49:23 +07:00
parent 4059a741ca
commit 43f6fa4e76
8 changed files with 106 additions and 27 deletions

View file

@ -10,6 +10,19 @@
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/payext_setup.ev"
; smoothie next
If NextSmoothie = 1 Then
DEBUGVAR Seeker
DEBUGVAR Seeker.SmoothieToPayment
Var NextSmoothie = 0
If Seeker.SmoothieToPayment = 1 Then
Var TimeOutSmoothiesProcess = 120
Var Seeker.SmoothieToPayment = 0
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
EndIf
EndIf
Var SendNotiPaySuccess = 2
Var GetMoreStrawCount = 2

View file

@ -0,0 +1,75 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
<Volume> SoundVolume </Volume>
<EventOpen>
Var Timeout = 0
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 7 Then
Open "ROOT/taobin_project/xml/page_NewBrewing3Conti.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventActionOk>
</EventActionOk>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Refresh> "Reload" </Refresh>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/taobin_thank2.mp4" </Filename>
</Video>
<Image>
<X> 84 </X>
<Y> 1314 </Y>
<Width> 911 </Width>
<Height> 265 </Height>
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bg_empty.png" </Filename>
</Image>
<Text>
<X> 0 </X>
<Y> 1344 </Y>
<Width> 1080 </Width>
<Height> 85 </Height>
<Align> Center </Align>
<Language>
<ID> 002433 </ID>
</Language>
</Text>
<Text>
<X> 0 </X>
<Y> 1430 </Y>
<Align> Center </Align>
<Language>
<ID> 002434 </ID>
</Language>
</Text>
;include="ROOT/taobin_project/inc/video.inc"
</Popup>

View file

@ -17,7 +17,7 @@
Var Timeout = Timeout + 1
If Timeout > 3 Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
;include="ROOT/taobin_project/inc/return_condition.ev"
EndIf
TimerReset

View file

@ -17,6 +17,8 @@
SPIRAL_SELL ServiceCredit SpiralRef
Var TimeOutSmoothiesProcess = 120
Var Seeker.SmoothieToPayment = SmoothieToPayment
Var NextSmoothie = 0
DEBUGVAR Seeker.SmoothieToPayment
</EventOpen>
@ -52,6 +54,13 @@
DEBUGVAR SpiralPayDetail
Seeker.sprial_pay_detail = SpiralPayDetail
If Seeker = "next" Then
Var NextOrder = "true"
Var NextSmoothie = 1
Open "ROOT/taobin_project/xml/page_spiral_before_conti.xml"
EndIf
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
EndIf