add spiral
BIN
spiral/image/page_spiral/01-00-00-0001.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
spiral/image/page_spiral/01-00-00-0002.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
spiral/image/page_spiral/01-00-00-0003.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
spiral/image/page_spiral/01-00-00-0004.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
spiral/image/page_spiral/01-00-00-0005.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
spiral/image/page_spiral/01-00-00-0006.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
spiral/image/page_spiral/01-00-00-0007.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
spiral/image/page_spiral/01-00-00-0008.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
spiral/image/page_spiral/01-00-00-0009.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
spiral/image/page_spiral/01-00-00-0010.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
spiral/image/page_spiral/01-00-00-0011.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
spiral/image/page_spiral/01-00-00-0012.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
spiral/image/page_spiral/01-00-00-0013.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
spiral/image/page_spiral/01-00-00-0014.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
spiral/image/page_spiral/01-00-00-0015.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
spiral/image/page_spiral/spiral_en_price.png
Normal file
|
After Width: | Height: | Size: 739 B |
BIN
spiral/image/page_spiral/spiral_fail.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
spiral/image/page_spiral/spiral_product_01-00-00-0001.png
Normal file
|
After Width: | Height: | Size: 201 KiB |
BIN
spiral/image/page_spiral/spiral_product_01-00-00-0002.png
Normal file
|
After Width: | Height: | Size: 225 KiB |
BIN
spiral/image/page_spiral/spiral_product_01-00-00-0003.png
Normal file
|
After Width: | Height: | Size: 193 KiB |
BIN
spiral/image/page_spiral/spiral_product_01-00-00-0004.png
Normal file
|
After Width: | Height: | Size: 200 KiB |
BIN
spiral/image/page_spiral/spiral_product_01-00-00-0005.png
Normal file
|
After Width: | Height: | Size: 217 KiB |
BIN
spiral/image/page_spiral/spiral_text_appfast.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
spiral/image/page_spiral/spiral_text_choose_money.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
spiral/image/page_spiral/spiral_text_choose_money_en.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
spiral/image/page_spiral/spiral_text_detail.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
spiral/image/page_spiral/spiral_text_detail_en.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
spiral/image/page_spiral/spiral_text_fail.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
spiral/image/page_spiral/spiral_th_price.png
Normal file
|
After Width: | Height: | Size: 609 B |
BIN
spiral/image/page_spiral/spiral_wait.png
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
spiral/image/page_spiral/thankyou.png
Normal file
|
After Width: | Height: | Size: 173 KiB |
BIN
spiral/image/page_spiral_disable/21-00-00-0001.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
spiral/image/page_spiral_disable/21-00-00-0002.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
spiral/image/page_spiral_disable/21-00-00-0003.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
spiral/image/page_spiral_disable/21-00-00-0004.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
spiral/image/page_spiral_disable/21-00-00-0005.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0001.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0002.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0003.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0004.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0005.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0006.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0007.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0008.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0009.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0010.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0011.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0012.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0013.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0014.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
spiral/image/page_spiral_press/01-00-00-0015.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
107
spiral/xml/page_spiral_check.xml
Normal file
|
|
@ -0,0 +1,107 @@
|
||||||
|
<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 DirImage = "ROOT/taobin_project/image/page_payment"
|
||||||
|
Var cancelState = "Enable"
|
||||||
|
Var Timeout = 0
|
||||||
|
Var LastMakeSpiralResult = 0
|
||||||
|
Var MachineSpiralStage = ""
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 100 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
|
If Timeout > 100 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
EndIf
|
||||||
|
If Timeout >= 1 Then
|
||||||
|
If MachineSpiralStage = "spiral-valid" Then
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_select.xml"
|
||||||
|
EndIf
|
||||||
|
If MachineSpiralStage = "spiral-invalid" Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
EndIf
|
||||||
|
If MachineSpiralStage = "spiral-failed" Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 89 </X>
|
||||||
|
;<Y> 700 </Y>
|
||||||
|
;<Width> 902 </Width>
|
||||||
|
;<Height> 902 </Height>
|
||||||
|
;<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_wait.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<GIF>
|
||||||
|
<X> 493 </X>
|
||||||
|
<Y> 960 </Y>
|
||||||
|
<Width> 94 </Width>
|
||||||
|
<Height> 94 </Height>
|
||||||
|
<State> cancelState </State>
|
||||||
|
<Filename> Var( DirImage + "/loading.gif" )</Filename>
|
||||||
|
</GIF>
|
||||||
|
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
;<Text>
|
||||||
|
;<X> 492 </X>
|
||||||
|
;<Y> 1121 </Y>
|
||||||
|
;<Width>150</Width>
|
||||||
|
;<Size> 60 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Timeout </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 501 </Y>
|
||||||
|
;<Size> 60 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> SpiralRef </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 551 </Y>
|
||||||
|
;<Size> 60 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> ServiceCredit </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 600 </Y>
|
||||||
|
;<Size> 60 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> MachineSpiralStage </Value>
|
||||||
|
;</Text>
|
||||||
|
|
||||||
|
</Popup>
|
||||||
135
spiral/xml/page_spiral_check_cash.xml
Normal file
|
|
@ -0,0 +1,135 @@
|
||||||
|
<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
|
||||||
|
Var GotoStoreCredit0 = 0
|
||||||
|
Var LastMakeSpiralResult = 0
|
||||||
|
Var MachineSpiralStage = ""
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
|
If Timeout = 3 Then
|
||||||
|
If Seeker.PayWithQR = 0 Then
|
||||||
|
If Seeker.FreeVendingCampaign = 0 Then
|
||||||
|
If Seeker.IntVendingCampaign < PayAmount Then
|
||||||
|
Var SumCoinAmount = CoinAmount + Seeker.IntVendingCampaign
|
||||||
|
Var SumCoinAmount = SumCoinAmount + Seeker.IntVendingCredit
|
||||||
|
|
||||||
|
If SumCoinAmount >= PayAmount Then
|
||||||
|
Var Canout = SumCoinAmount - PayAmount
|
||||||
|
If Canout > 0 Then
|
||||||
|
Var GotoStoreCredit0 = 1
|
||||||
|
Var StoreCreditAmount = Canout
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var Canout = CoinAmount
|
||||||
|
If Canout > 0 Then
|
||||||
|
Var GotoStoreCredit0 = 1
|
||||||
|
Var StoreCreditAmount = Canout
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var Canout = CoinAmount
|
||||||
|
If Canout > 0 Then
|
||||||
|
Var GotoStoreCredit0 = 1
|
||||||
|
Var StoreCreditAmount = Canout
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
If GotoStoreCredit0 = 1 Then
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit0.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If Timeout >= 10 Then
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 89 </X>
|
||||||
|
<Y> 700 </Y>
|
||||||
|
<Width> 902 </Width>
|
||||||
|
<Height> 902 </Height>
|
||||||
|
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_wait.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
;<Text>
|
||||||
|
;<X> 492 </X>
|
||||||
|
;<Y> 1121 </Y>
|
||||||
|
;<Width>150</Width>
|
||||||
|
;<Size> 60 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Timeout </Value>
|
||||||
|
;</Text>
|
||||||
|
|
||||||
|
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 501 </Y>
|
||||||
|
;<Size> 60 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> GotoStoreCredit0 </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 551 </Y>
|
||||||
|
;<Size> 60 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Canout </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 601 </Y>
|
||||||
|
;<Size> 60 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> clickedChangeFlag </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 651 </Y>
|
||||||
|
;<Size> 60 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> StoreCreditAmount </Value>
|
||||||
|
;</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
542
spiral/xml/page_spiral_fail.xml
Normal file
|
|
@ -0,0 +1,542 @@
|
||||||
|
<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
|
||||||
|
Var ShowPictureFail = 0
|
||||||
|
If ChangeOK = 1 Then
|
||||||
|
Var ChangeOK = 2
|
||||||
|
EndIf
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
;<EventTimeout>
|
||||||
|
; Var Timeout = Timeout + 1
|
||||||
|
; If Timeout >= 5 Then
|
||||||
|
; Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
; EndIf
|
||||||
|
; Refresh
|
||||||
|
; TimerReset
|
||||||
|
;</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
If SpiralCodeOk = 1 Then
|
||||||
|
If CheckAckCode = 1 Then
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + ExtendData
|
||||||
|
DEBUGVAR SessionID2
|
||||||
|
|
||||||
|
DEBUGVAR SessionID2
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = "locker5/"
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SelectDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.VendingCode
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + "C:"
|
||||||
|
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
|
||||||
|
Var SpiralCodeOk = 2
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_fail2.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
<EventTimeout>
|
||||||
|
DEBUGVAR LastMakeSpiralResult
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
Var ChangeTimeout = ChangeTimeout - 1
|
||||||
|
Var CheckAckCodeTimer = CheckAckCodeTimer - 1
|
||||||
|
|
||||||
|
|
||||||
|
If ChangeTimeout < 1 Then
|
||||||
|
If ChangeOK = 1 Then
|
||||||
|
Var ChangeOK = 2
|
||||||
|
Var ChangeTimeout = 30
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
If ChangeTimeout < 1 Then
|
||||||
|
If ChangeFlag2 = 1 Then
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Var ChangeFlag2 = 2
|
||||||
|
Var ChangeTimeout = 30
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SpiralCodeOk = 1 Then
|
||||||
|
If CheckAckCode = 1 Then
|
||||||
|
If CheckAckCodeTimer < 1 Then
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + ExtendData
|
||||||
|
DEBUGVAR SessionID2
|
||||||
|
|
||||||
|
DEBUGVAR SessionID2
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = "locker5/"
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SelectDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.VendingCode
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + "C:"
|
||||||
|
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
|
||||||
|
Var SpiralCodeOk = 2
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If LastMakeSpiralResult = 2 Then
|
||||||
|
If ChangeOK = 3 Then
|
||||||
|
If PayOk = 0 Then
|
||||||
|
Var PayOk = 1
|
||||||
|
Var SessionID4 = MachineSpiralID
|
||||||
|
Var SessionID4 = SessionID4 + ":"
|
||||||
|
Var SessionID4 = SessionID4 + MachineSpiralSlotID
|
||||||
|
|
||||||
|
Var SessionID3 = SessionID3 + MachineSpiralID
|
||||||
|
Var SessionID3 = SessionID3 + "/"
|
||||||
|
Var SessionID3 = SessionID3 + MachineSpiralSlotID
|
||||||
|
|
||||||
|
If SpiralCodeOk = 1 Then
|
||||||
|
Var SessionID3 = SessionID3 + "/"
|
||||||
|
Var SessionID3 = SessionID3 + Seeker.VendingCode
|
||||||
|
Var SessionID3 = SessionID3 + "/"
|
||||||
|
Var SessionID3 = SessionID3 + Seeker.CodeNumber
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
;Var PayDetail="1/F:1221/0/"
|
||||||
|
Var PayDetail="1/F:"
|
||||||
|
Var PayDetail = PayDetail + MachineSpiralErrorCode
|
||||||
|
Var PayDetail = PayDetail + "/"
|
||||||
|
Var PayDetail = PayDetail + SessionID4
|
||||||
|
|
||||||
|
If Seeker.PayWithQR = 1 Then
|
||||||
|
If waitAckPay = 0 Then
|
||||||
|
Var waitAckPay = 1
|
||||||
|
Var SVT = "locker"
|
||||||
|
Var ACC = "0899999999"
|
||||||
|
Var DEE = PayDetail
|
||||||
|
|
||||||
|
If Seeker.TNumberTaobinCredit = "" Then
|
||||||
|
Else
|
||||||
|
Var ACC = Seeker.TNumberTaobinCredit
|
||||||
|
EndIf
|
||||||
|
PAYEXT SVT ACC VendingTSIDTmp DEE
|
||||||
|
If SpiralCodeOk = 1 Then
|
||||||
|
Var CheckAckCode = 1
|
||||||
|
Var CheckAckCodeTimer = 10
|
||||||
|
Else
|
||||||
|
Var ShowPictureFail = 1
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID3 PriceDrink ServiceCharge Donate
|
||||||
|
If SpiralCodeOk = 1 Then
|
||||||
|
Var CheckAckCode = 1
|
||||||
|
Var CheckAckCodeTimer = 10
|
||||||
|
Else
|
||||||
|
Var ShowPictureFail = 1
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If LastMakeSpiralResult = 2 Then
|
||||||
|
If Seeker.PayWithQR = 0 Then
|
||||||
|
If Seeker.CodeChannel = 0 Then
|
||||||
|
If ChangeFlag = 0 Then
|
||||||
|
Var ChangeFlag = 1
|
||||||
|
If Seeker.StoreCreditFlag = 1 Then
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Else
|
||||||
|
Change ServiceAmount2
|
||||||
|
Var ChangeTimeout = 30
|
||||||
|
Var ChangeFlag2 = 1
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If CoinAmount > 0 Then
|
||||||
|
If ChangeFlag = 0 Then
|
||||||
|
Var ChangeFlag = 1
|
||||||
|
Var ServiceAmount3 = ServiceAmount2 - Seeker.IntVendingCampaign
|
||||||
|
If Seeker.StoreCreditFlag = 1 Then
|
||||||
|
Var ChangeOK = 2
|
||||||
|
Else
|
||||||
|
Change ServiceAmount3
|
||||||
|
Var ChangeFlag2 = 1
|
||||||
|
Var ChangeTimeout = 30
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var ChangeOK = 2
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var ChangeOK = 3
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Timeout >= 5 Then
|
||||||
|
If ShowPictureFail = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Timeout >= 120 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
<EventChangeStatus>
|
||||||
|
If ChangeOK = 2 Then
|
||||||
|
If ChangeStatus = "payout-end" Then
|
||||||
|
Var ChangeOK = 3
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
If ChangeOK = 1 Then
|
||||||
|
If ChangeStatus = "payout-end" Then
|
||||||
|
Var ChangeOK = 2
|
||||||
|
Var ChangeTimeout = 999
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventChangeStatus>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 89 </X>
|
||||||
|
<Y> 700 </Y>
|
||||||
|
<Width> 902 </Width>
|
||||||
|
<Height> 902 </Height>
|
||||||
|
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_fail.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 1314 </Y>
|
||||||
|
<Width> 911 </Width>
|
||||||
|
<Height> 265 </Height>
|
||||||
|
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_fail.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1121 </Y>
|
||||||
|
;<Width>150</Width>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Timeout </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1181 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> ChangeTimeout </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 650 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> LastMakeSpiralResult </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1250 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "CheckAckCode" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1250 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> CheckAckCode </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1350 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "PayOk" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1350 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> PayOk </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1400 </Y>
|
||||||
|
;<Size> 40 </Size
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "ChangeOK" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1400 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> ChangeOK </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1450 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "Seeker.StoreCreditFlag" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1450 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Seeker.StoreCreditFlag </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1500 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "ChangeFlag2" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1500 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> ChangeFlag2 </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1550 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "Seeker.PayWithQR" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1550 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Seeker.PayWithQR </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1600 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "Seeker.CodeChannel" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1600 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Seeker.CodeChannel </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1650 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "ChangeFlag" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1650 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> ChangeFlag </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1700 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "Canout" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1700 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Canout </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1750 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "SpiralCodeOk" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1750 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> SpiralCodeOk </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1800 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "CheckAckCodeTimer" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1800 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> CheckAckCodeTimer </Value>
|
||||||
|
;</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
265
spiral/xml/page_spiral_fail2.xml
Normal file
|
|
@ -0,0 +1,265 @@
|
||||||
|
<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 >= 5 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
EndIf
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 89 </X>
|
||||||
|
<Y> 700 </Y>
|
||||||
|
<Width> 902 </Width>
|
||||||
|
<Height> 902 </Height>
|
||||||
|
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_fail.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 1314 </Y>
|
||||||
|
<Width> 911 </Width>
|
||||||
|
<Height> 265 </Height>
|
||||||
|
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_fail.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 1121 </Y>
|
||||||
|
<Width>150</Width>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> Timeout </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 1181 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> ChangeTimeout </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 650 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> LastMakeSpiralResult </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 292 </X>
|
||||||
|
<Y> 1350 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> "PayOk" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 1350 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> PayOk </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 292 </X>
|
||||||
|
<Y> 1400 </Y>
|
||||||
|
<Size> 40 </Size
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> "ChangeOK" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 1400 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> ChangeOK </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 292 </X>
|
||||||
|
<Y> 1450 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> "Seeker.StoreCreditFlag" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 1450 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> Seeker.StoreCreditFlag </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 292 </X>
|
||||||
|
<Y> 1500 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> "ChangeFlag2" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 1500 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> ChangeFlag2 </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 292 </X>
|
||||||
|
<Y> 1550 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> "Seeker.PayWithQR" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 1550 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> Seeker.PayWithQR </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 292 </X>
|
||||||
|
<Y> 1600 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> "Seeker.CodeChannel" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 1600 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> Seeker.CodeChannel </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 292 </X>
|
||||||
|
<Y> 1650 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> "ChangeFlag" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 1650 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> ChangeFlag </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 292 </X>
|
||||||
|
<Y> 1700 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> "Canout" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 1700 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> Canout </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 292 </X>
|
||||||
|
<Y> 1750 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> "SpiralCodeOk" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 1750 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> SpiralCodeOk </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 292 </X>
|
||||||
|
<Y> 1800 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> "CheckAckCodeTimer" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 92 </X>
|
||||||
|
<Y> 1800 </Y>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> 0xB78F24 </Color>
|
||||||
|
<Value> CheckAckCodeTimer </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
290
spiral/xml/page_spiral_payment.xml
Normal file
|
|
@ -0,0 +1,290 @@
|
||||||
|
<Popup>
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var SessionID2 = ""
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var QRCODE99 = ""
|
||||||
|
Var QRCODETMP = ""
|
||||||
|
Var PayO2 = ""
|
||||||
|
Var Checktube = 0
|
||||||
|
Var QRChannel = 0
|
||||||
|
Var HaveCup = "true"
|
||||||
|
Var ChangeFlag2 = 0
|
||||||
|
Var DiscountDrink = 0
|
||||||
|
Var SelectSlot = "1"
|
||||||
|
Var SpiralCodeOk = 0
|
||||||
|
|
||||||
|
SAVELOG BoxID
|
||||||
|
Var SpiralKeepCredit = 0
|
||||||
|
Var QRCODE1 = "A000000677010112"
|
||||||
|
Var QRCODE2 = "010755600066301"
|
||||||
|
Var QRCODE3 = "VDGN"
|
||||||
|
Var QRCODE4 = BoxID
|
||||||
|
Var QRCODE5 = SelectSlot
|
||||||
|
Var QRCODE6 = ServiceCredit
|
||||||
|
Var QRCODE7 = PriceDrink
|
||||||
|
Var QRCODE8 = ""
|
||||||
|
|
||||||
|
Var CountStepPackPayment = 0
|
||||||
|
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
Var Seeker.VendingCampaignRI3 = 0
|
||||||
|
Var Seeker.IntVendingCampaign = 0
|
||||||
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
Var CoinVendingOnFlag = 0
|
||||||
|
|
||||||
|
Var Seeker.IntVendingCredit = 0
|
||||||
|
|
||||||
|
Var Seeker.StoreCreditFlag = 0
|
||||||
|
Var Seeker.pageStoreCredit0 = 0
|
||||||
|
Var Seeker.TNumberTaobinCredit = ""
|
||||||
|
Var Seeker.TNumberTaobinMember = ""
|
||||||
|
Var Seeker.CoffeePinNumber = ""
|
||||||
|
|
||||||
|
Var Seeker.VendingDiscount = 0
|
||||||
|
Var Seeker.VendingCampaign = 0
|
||||||
|
Var Seeker.VendingTSID = ""
|
||||||
|
|
||||||
|
|
||||||
|
Var PayType = ""
|
||||||
|
Var CART_INDEX = 0
|
||||||
|
|
||||||
|
Var QRCODE99KBANK = ""
|
||||||
|
Var QRCODE99Shoppy = ""
|
||||||
|
Var LOADING_STATE = "Invisible"
|
||||||
|
Var QR_POPUP = "/img_popup2.png"
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var ShowHeadSpiralSelect = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_en.png"
|
||||||
|
Var ShowHeadSpiralCash = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_choose_money_en.png"
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
|
||||||
|
Var PlaySoundLag = "ROOT/taobin_project/sound_eng/How_would_you_like_to_pay.mp3"
|
||||||
|
Var PlaySoundCodeLang = "ROOT/sounds_eng/Code8digit.m4a"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ShowHeadSpiralSelect = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail.png"
|
||||||
|
Var ShowHeadSpiralCash = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_choose_money.png"
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
||||||
|
Var PlaySoundLag = "ROOT/taobin_project/sound_thai/payment.mp3"
|
||||||
|
Var PlaySoundCodeLang = "ROOT/sounds/Code8digit.m4a"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG MachineStage
|
||||||
|
|
||||||
|
|
||||||
|
READ_FILE "/mnt/sdcard/can_sell" ReadyForBrew
|
||||||
|
|
||||||
|
If ReadyForBrew = "false" Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
Var ReadyForBrew = "false"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var MachineStage = "-"
|
||||||
|
|
||||||
|
Var PayReference = ""
|
||||||
|
Var Seeker.CreditReferenceTmp = ""
|
||||||
|
|
||||||
|
If web_app_prepar = "true" Then
|
||||||
|
Var web_app_prepar = "false"
|
||||||
|
__CMD "ui-load-playlist" 0 SelectDrink "-"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var ServiceAmount2 = PriceDrink
|
||||||
|
Var TelephoneNumber = ""
|
||||||
|
Var ServiceType = "coffee"
|
||||||
|
|
||||||
|
Var VendingCreditRemain = ""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR Seeker.thankLidFlag
|
||||||
|
DEBUGVAR Seeker.thankStrawFlag
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 900 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
|
||||||
|
If ReadyForBrew = "false" Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
Var ReadyForBrew = "false"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var CountStepPackPayment = CountStepPackPayment + 1
|
||||||
|
If CountStepPackPayment = 1 Then
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
SAVELOG ExtendData
|
||||||
|
|
||||||
|
If GetPayInfoFlag = 0 Then
|
||||||
|
If RoadShow = "false" Then
|
||||||
|
;CoinVending ON
|
||||||
|
CoinVending XBILL
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var RemainAmount = 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + ExtendData
|
||||||
|
|
||||||
|
;Var CreditAmount1 = ""
|
||||||
|
;Var ServiceAmountFlow = ""
|
||||||
|
;Var TelephoneNumberQR = "0899999999"
|
||||||
|
;Var ServiceType = "coffee"
|
||||||
|
;Var ECommerceQR = ""
|
||||||
|
;Var ECommerceQR = ECommerceQR + PriceDrink
|
||||||
|
;Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
;Var ECommerceQR = ECommerceQR + DiscountDrink
|
||||||
|
;Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
;Var ECommerceQR = ECommerceQR + SessionID2
|
||||||
|
;Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
;Var ECommerceQR = ECommerceQR + SelectDrink
|
||||||
|
;Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
;Var ECommerceQR = ECommerceQR + "KBA:2"
|
||||||
|
;Var ServiceParameter = "max"
|
||||||
|
;Var ServiceCharge = 0
|
||||||
|
;Var AccountType = "new"
|
||||||
|
;Var testservice = "kbank"
|
||||||
|
;Var tc = ""
|
||||||
|
;Var GetScore = ""
|
||||||
|
;Var OperatorName = ""
|
||||||
|
;Var SessionID = ""
|
||||||
|
|
||||||
|
|
||||||
|
;GetPayInfo TelephoneNumberQR ECommerceQR ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
;Var Timeout = 0
|
||||||
|
;Var GetPayInfoFlag = 1
|
||||||
|
;Var ReqPayInfoFlag = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
; Reset
|
||||||
|
Var LastMakeSpiralResult = 0
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR ExtendData
|
||||||
|
|
||||||
|
|
||||||
|
If web_readyOK = "true" Then
|
||||||
|
|
||||||
|
Var Seeker.selected_a_drink = SelectDrink
|
||||||
|
Var Seeker.ServiceAmount2 = PayAmount
|
||||||
|
|
||||||
|
If web_payment = "CODE" Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_code.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If web_payment = "CREDIT" Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_credit.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 864 </Height>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 555 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 437 </Height>
|
||||||
|
<Filename> SpiralProduct </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 375 </X>
|
||||||
|
;<Y> 623 </Y>
|
||||||
|
;<Width> 331 </Width>
|
||||||
|
;<Height> 435 </Height>
|
||||||
|
;<Filename> PictureDrink </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1127 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 80 </Size>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorOrange </Color>
|
||||||
|
<Value> PriceDrinkTmpShow </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 982 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 65 </Size>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBrown2 </Color>
|
||||||
|
<Value> showname </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1058 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> ColorBrown </Color>
|
||||||
|
<Value> showdesc </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 143 </X>
|
||||||
|
<Y> 360 </Y>
|
||||||
|
<Filename> ShowHeadSpiralCash </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 144 </X>
|
||||||
|
;<Y> 323 </Y>
|
||||||
|
;<Filename> Var( DirImage + "/text_1.png" ) </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
1830
spiral/xml/page_spiral_payment_cash.xml
Normal file
424
spiral/xml/page_spiral_payment_cashOther.xml
Normal file
|
|
@ -0,0 +1,424 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
;Var VendingQRCode = "ERROR"
|
||||||
|
;VendingQR ON
|
||||||
|
;Var QRCODE99 = ""
|
||||||
|
|
||||||
|
;CoinVending OFF
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
Var ErrorCause = ""
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var TelephoneNumber# = ""
|
||||||
|
|
||||||
|
Var PlaySoundLag = ""
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
;VendingQR OFF
|
||||||
|
;Open menu_back_to_main
|
||||||
|
|
||||||
|
Var PayState1 = "PressForever"
|
||||||
|
Var PayState2 = "Enable"
|
||||||
|
Var QRChannel = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 712 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img_popup17.png") </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 209 </X>
|
||||||
|
<Y> 888 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_true.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_true.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bp_pay_with_true.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var QR_POPUP = "/img_popup3.png"
|
||||||
|
Var LOADING_STATE = "Enable"
|
||||||
|
|
||||||
|
Var FlagQROpened = 1
|
||||||
|
Var alphaState = "Enable"
|
||||||
|
;CoinVending OFF
|
||||||
|
VendingQR ON
|
||||||
|
|
||||||
|
|
||||||
|
Var SessionID2 = "1:00000"
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumberQR = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerceQR = "locker5/"
|
||||||
|
Var ECommerceQR = ECommerceQR + PriceDrink
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + DiscountDrink
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + SessionID2
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + ServiceCredit
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + "TWN:2/"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign > 0 Then
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.IntVendingCredit > 0 Then
|
||||||
|
Var ECommerceQR = ECommerceQR + "CRD"
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.TNumberTaobinCredit
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.IntVendingCredit
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + PointCrm
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumberQR ECommerceQR ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
Var ReqPayInfoFlag = 1
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
Var ReqPayInfoFlag = 3
|
||||||
|
Var ReqPayInfoFromCashOther = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 441 </X>
|
||||||
|
<Y> 888 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_shoppy.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_shoppy.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bp_pay_with_shoppy.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Var QR_POPUP = "/img_popup2.png"
|
||||||
|
Var LOADING_STATE = "Enable"
|
||||||
|
|
||||||
|
Var FlagQROpened = 1
|
||||||
|
Var alphaState = "Enable"
|
||||||
|
;CoinVending OFF
|
||||||
|
VendingQR ON
|
||||||
|
|
||||||
|
|
||||||
|
Var SessionID2 = "1:00000"
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumberQR = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerceQR = "locker5/"
|
||||||
|
Var ECommerceQR = ECommerceQR + PriceDrink
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + DiscountDrink
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + SessionID2
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + ServiceCredit
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + "AIR:2/"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign > 0 Then
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.IntVendingCredit > 0 Then
|
||||||
|
Var ECommerceQR = ECommerceQR + "CRD"
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.TNumberTaobinCredit
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.IntVendingCredit
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + PointCrm
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumberQR ECommerceQR ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
Var ReqPayInfoFlag = 1
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
Var ReqPayInfoFlag = 2
|
||||||
|
Var ReqPayInfoFromCashOther = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 673 </X>
|
||||||
|
<Y> 888 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_dolfin.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_dolfin.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bp_pay_with_dolfin.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Var QR_POPUP = "/img_popup5.png"
|
||||||
|
Var LOADING_STATE = "Enable"
|
||||||
|
|
||||||
|
Var FlagQROpened = 1
|
||||||
|
Var alphaState = "Enable"
|
||||||
|
;CoinVending OFF
|
||||||
|
VendingQR ON
|
||||||
|
|
||||||
|
|
||||||
|
Var SessionID2 = "1:00000"
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumberQR = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerceQR = "locker5/"
|
||||||
|
Var ECommerceQR = ECommerceQR + PriceDrink
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + DiscountDrink
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + SessionID2
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + ServiceCredit
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + "DOL:2/"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign > 0 Then
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.IntVendingCredit > 0 Then
|
||||||
|
Var ECommerceQR = ECommerceQR + "CRD"
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.TNumberTaobinCredit
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + Seeker.IntVendingCredit
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + PointCrm
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumberQR ECommerceQR ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
Var ReqPayInfoFlag = 1
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
Var ReqPayInfoFlag = 4
|
||||||
|
Var ReqPayInfoFromCashOther = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 209 </X>
|
||||||
|
<Y> 1112 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 441 </X>
|
||||||
|
<Y> 1112 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 673 </X>
|
||||||
|
<Y> 1112 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 397 </X>
|
||||||
|
<Y> 1365 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_cancel2.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_cancel2.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var PayState1 = "PressForever"
|
||||||
|
Var PayState2 = "Enable"
|
||||||
|
Var QRChannel = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
846
spiral/xml/page_spiral_payment_code.xml
Normal file
|
|
@ -0,0 +1,846 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Sound> PlaySoundCodeLang </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
;Var VendingQRCode = "ERROR"
|
||||||
|
;VendingQR ON
|
||||||
|
;Var QRCODE99 = ""
|
||||||
|
|
||||||
|
;CoinVending OFF
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
Var ErrorCause = ""
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If web_readyOK = "true" Then
|
||||||
|
Var web_readyOK = "false"
|
||||||
|
|
||||||
|
If web_code = "" Then
|
||||||
|
Else
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 1
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
|
||||||
|
Var TelephoneNumber = web_code
|
||||||
|
|
||||||
|
Var Seeker.CodeNumber = TelephoneNumber
|
||||||
|
Var RemainAmount = 0
|
||||||
|
;PrepareDrink SelectDrink SelectSugarID
|
||||||
|
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber2 = "0899999999"
|
||||||
|
Var ServiceType = "coffee"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SelectDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + "C00"
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber2 ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = Seeker.CodeNumber
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
Var TelephoneNumber# = ""
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
;VendingQR OFF
|
||||||
|
;Open menu_back_to_main
|
||||||
|
|
||||||
|
Var PayState1 = "PressForever"
|
||||||
|
Var PayState2 = "Enable"
|
||||||
|
Var QRChannel = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventIDCard>
|
||||||
|
|
||||||
|
|
||||||
|
If IDCardStatus = "OK" Then
|
||||||
|
If IDCardReady = "OK" Then
|
||||||
|
If IDCardData = "START" Then
|
||||||
|
CoinVending OFF
|
||||||
|
Open "ROOT/taobin_project/xml/page_show_consent2.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventIDCard>
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.CodeChannel = 1 Then
|
||||||
|
|
||||||
|
SAVELOG "Seeker.CodeChannel 1 > ActOK."
|
||||||
|
|
||||||
|
DEBUGVAR ECommerce
|
||||||
|
SAVELOG ECommerce
|
||||||
|
|
||||||
|
SPLIT ECommerce "/" 6 Seeker.VendingCode
|
||||||
|
SPLIT ECommerce "/" 8 Seeker.VendingCampaignRI3
|
||||||
|
SPLIT ECommerce "/" 9 VendingCampaign1
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "KBA:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "AIR:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "TWN:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG Seeker.VendingCode
|
||||||
|
SAVELOG Seeker.VendingCampaignRI3
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "C00" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var VendingCreditRemain = ""
|
||||||
|
Var IntVendingCampaign1 = VendingCampaign1
|
||||||
|
INT IntVendingCampaign1
|
||||||
|
|
||||||
|
If IntVendingCampaign1 > 0 Then
|
||||||
|
Var VendingCreditRemain = VendingCampaign1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.IntVendingCampaign = Seeker.VendingCampaignRI3
|
||||||
|
INT Seeker.IntVendingCampaign
|
||||||
|
|
||||||
|
Var VendingREFID = SessionID
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign > 0 Then
|
||||||
|
Var QRChannel = 0
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign >= PayAmount Then
|
||||||
|
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
Var Seeker.VendingCampaign = PayAmount
|
||||||
|
Var Seeker.FreeVendingCampaign = 1
|
||||||
|
CoinVending OFF
|
||||||
|
;Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
|
||||||
|
Cart "PreparID" 1
|
||||||
|
Var CART_INDEX = 1
|
||||||
|
Var PayReference = ""
|
||||||
|
GenHashWithTimeStamp PayReference
|
||||||
|
Cart "MakeID" CART_INDEX
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
Else
|
||||||
|
Var CART_INDEX = 0
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
Else
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
|
||||||
|
Var DrinkPaid = SelectDrink
|
||||||
|
Var PaidPaymentFromNextStage = 1
|
||||||
|
EndIf
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
|
||||||
|
;Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
Var text_show_error = DirImage + "/text_show_error.png"
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
;SAVELOG "Seeker.CodeChannel 2 > ActOK."
|
||||||
|
;
|
||||||
|
;Var CreditAmount = 0
|
||||||
|
;Var QRCODE99 = SessionID
|
||||||
|
;Var QRCODE99 = QRCODE99 + Ext1a
|
||||||
|
;Var QRCODE99 = QRCODE99 + Ext21
|
||||||
|
;Var QRCODETMP = QRCODE99
|
||||||
|
;Var Seeker.CodeChannel = 1
|
||||||
|
;
|
||||||
|
;If CART_COUNT >= 1 Then
|
||||||
|
; Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
;Else
|
||||||
|
; Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
;EndIf
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
If Seeker.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
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0005" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error3.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0006" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
Var Tel_Confirm_State = "Disable"
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.CodeChannel = 2 Then
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
Var QRCODE99 = ""
|
||||||
|
Var QRCODETMP = ""
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 601 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "1"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_sh.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_sh.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
;Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Var Mode# = 1
|
||||||
|
Var Str# = "#"
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var Clear# = 0
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var Clear# = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Trim TelephoneNumber -1
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
If Clear# = 1 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 218 </X>
|
||||||
|
<Y> 1607 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_back.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_back.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var PayState1 = "PressForever"
|
||||||
|
Var PayState2 = "Enable"
|
||||||
|
Var QRChannel = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1607 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bp_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If UnitTestType = "2" Then
|
||||||
|
If TelephoneNumber = "00000001" Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If TelephoneNumber = "00000002" Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
If TelephoneNumber = "99999999" Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If GetPayInfoFlag = 0 Then
|
||||||
|
Var GetPayInfoFlag = 1
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.CodeNumber = TelephoneNumber
|
||||||
|
Var RemainAmount = 0
|
||||||
|
;PrepareDrink SelectDrink SelectSugarID
|
||||||
|
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber2 = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = ECommerce + "locker5/"
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + ServiceCredit
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
|
||||||
|
|
||||||
|
If Mode# = 1 Then
|
||||||
|
Var ECommerce = ECommerce + "S04"
|
||||||
|
Else
|
||||||
|
Var ECommerce = ECommerce + "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber2 ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = Seeker.CodeNumber
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG ShowTextNumber
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 217 </X>
|
||||||
|
<Y> 802 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 244 </X>
|
||||||
|
<Y> 816 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_12.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 817 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 62 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> TelephoneNumber# </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 636 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_11.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 152 </X>
|
||||||
|
<Y> 935 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Filename> text_show_error </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
699
spiral/xml/page_spiral_payment_codeAIS.xml
Normal file
|
|
@ -0,0 +1,699 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Sound> PlaySoundCodeLang </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
;Var VendingQRCode = "ERROR"
|
||||||
|
;VendingQR ON
|
||||||
|
;Var QRCODE99 = ""
|
||||||
|
|
||||||
|
;CoinVending OFF
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
Var ErrorCause = ""
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
Var TelephoneNumber# = ""
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.CodeChannel = 1 Then
|
||||||
|
|
||||||
|
SAVELOG "Seeker.CodeChannel 1 > ActOK."
|
||||||
|
|
||||||
|
SAVELOG ECommerce
|
||||||
|
|
||||||
|
SPLIT ECommerce "/" 6 Seeker.VendingCode
|
||||||
|
SPLIT ECommerce "/" 8 Seeker.VendingCampaignRI3
|
||||||
|
SPLIT ECommerce "/" 9 VendingCampaign1
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "KBA:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "AIR:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "TWN:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG Seeker.VendingCode
|
||||||
|
SAVELOG Seeker.VendingCampaignRI3
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "C00" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var VendingCreditRemain = ""
|
||||||
|
Var IntVendingCampaign1 = VendingCampaign1
|
||||||
|
INT IntVendingCampaign1
|
||||||
|
|
||||||
|
If IntVendingCampaign1 > 0 Then
|
||||||
|
Var VendingCreditRemain = VendingCampaign1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.IntVendingCampaign = Seeker.VendingCampaignRI3
|
||||||
|
INT Seeker.IntVendingCampaign
|
||||||
|
|
||||||
|
Var VendingREFID = SessionID
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign > 0 Then
|
||||||
|
Var QRChannel = 0
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign >= PayAmount Then
|
||||||
|
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
Var Seeker.VendingCampaign = PayAmount
|
||||||
|
Var Seeker.FreeVendingCampaign = 1
|
||||||
|
CoinVending OFF
|
||||||
|
;Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
|
||||||
|
Cart "PreparID" 1
|
||||||
|
Var CART_INDEX = 1
|
||||||
|
Var PayReference = ""
|
||||||
|
GenHashWithTimeStamp PayReference
|
||||||
|
Cart "MakeID" CART_INDEX
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
Else
|
||||||
|
Var CART_INDEX = 0
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
Else
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
EndIf
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
Var text_show_error = DirImage + "/text_show_error.png"
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
If Seeker.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
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0005" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error3.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0006" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
Var Tel_Confirm_State = "Disable"
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 667 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "1"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var Clear# = 0
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var Clear# = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Trim TelephoneNumber -1
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
If Clear# = 1 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 218 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_back.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_back.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bp_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If UnitTestType = "2" Then
|
||||||
|
If TelephoneNumber = "00000001" Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
If GetPayInfoFlag = 0 Then
|
||||||
|
Var GetPayInfoFlag = 1
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.CodeNumber = TelephoneNumber
|
||||||
|
Var RemainAmount = 0
|
||||||
|
;PrepareDrink SelectDrink SelectSugarID
|
||||||
|
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber2 = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = ECommerce + "locker5/"
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + ServiceCredit
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
|
||||||
|
|
||||||
|
If Mode# = 1 Then
|
||||||
|
Var ECommerce = ECommerce + "S04"
|
||||||
|
Else
|
||||||
|
Var ECommerce = ECommerce + "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber2 ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = Seeker.CodeNumber
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG ShowTextNumber
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 217 </X>
|
||||||
|
<Y> 868 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 244 </X>
|
||||||
|
<Y> 882 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_12.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 883 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 62 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> TelephoneNumber# </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 760 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_31.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 152 </X>
|
||||||
|
<Y> 1001 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Filename> text_show_error </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 513 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img_popupAIS.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
703
spiral/xml/page_spiral_payment_codeDtac.xml
Normal file
|
|
@ -0,0 +1,703 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Sound> PlaySoundCodeLang </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
;Var VendingQRCode = "ERROR"
|
||||||
|
;VendingQR ON
|
||||||
|
;Var QRCODE99 = ""
|
||||||
|
|
||||||
|
;CoinVending OFF
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
Var ErrorCause = ""
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
Var TelephoneNumber# = ""
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.CodeChannel = 1 Then
|
||||||
|
|
||||||
|
SAVELOG "Seeker.CodeChannel 1 > ActOK."
|
||||||
|
|
||||||
|
SAVELOG ECommerce
|
||||||
|
|
||||||
|
SPLIT ECommerce "/" 6 Seeker.VendingCode
|
||||||
|
SPLIT ECommerce "/" 8 Seeker.VendingCampaignRI3
|
||||||
|
SPLIT ECommerce "/" 9 VendingCampaign1
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "KBA:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "AIR:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "TWN:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG Seeker.VendingCode
|
||||||
|
SAVELOG Seeker.VendingCampaignRI3
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "C00" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var VendingCreditRemain = ""
|
||||||
|
Var IntVendingCampaign1 = VendingCampaign1
|
||||||
|
INT IntVendingCampaign1
|
||||||
|
|
||||||
|
If IntVendingCampaign1 > 0 Then
|
||||||
|
Var VendingCreditRemain = VendingCampaign1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.IntVendingCampaign = Seeker.VendingCampaignRI3
|
||||||
|
INT Seeker.IntVendingCampaign
|
||||||
|
|
||||||
|
Var VendingREFID = SessionID
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign > 0 Then
|
||||||
|
Var QRChannel = 0
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign >= PayAmount Then
|
||||||
|
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
Var Seeker.VendingCampaign = PayAmount
|
||||||
|
Var Seeker.FreeVendingCampaign = 1
|
||||||
|
CoinVending OFF
|
||||||
|
;Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
|
||||||
|
Cart "PreparID" 1
|
||||||
|
Var CART_INDEX = 1
|
||||||
|
Var PayReference = ""
|
||||||
|
GenHashWithTimeStamp PayReference
|
||||||
|
Cart "MakeID" CART_INDEX
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
Else
|
||||||
|
Var CART_INDEX = 0
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
Else
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
|
||||||
|
Var DrinkPaid = SelectDrink
|
||||||
|
Var PaidPaymentFromNextStage = 1
|
||||||
|
EndIf
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
Var text_show_error = DirImage + "/text_show_error.png"
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
If Seeker.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
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0005" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error3.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0006" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
Var Tel_Confirm_State = "Disable"
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 667 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "1"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var Clear# = 0
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var Clear# = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Trim TelephoneNumber -1
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
If Clear# = 1 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 218 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_back.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_back.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bp_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If UnitTestType = "2" Then
|
||||||
|
If TelephoneNumber = "00000001" Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
If GetPayInfoFlag = 0 Then
|
||||||
|
Var GetPayInfoFlag = 1
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.CodeNumber = TelephoneNumber
|
||||||
|
Var RemainAmount = 0
|
||||||
|
;PrepareDrink SelectDrink SelectSugarID
|
||||||
|
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber2 = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = ECommerce + "locker5/"
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + ServiceCredit
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
|
||||||
|
|
||||||
|
If Mode# = 1 Then
|
||||||
|
Var ECommerce = ECommerce + "S04"
|
||||||
|
Else
|
||||||
|
Var ECommerce = ECommerce + "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber2 ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = Seeker.CodeNumber
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG ShowTextNumber
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 217 </X>
|
||||||
|
<Y> 868 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 244 </X>
|
||||||
|
<Y> 882 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_12.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 883 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 62 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> TelephoneNumber# </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 760 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_34.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 152 </X>
|
||||||
|
<Y> 1001 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Filename> text_show_error </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 513 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img_popupDtac.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
703
spiral/xml/page_spiral_payment_codeGLX.xml
Normal file
|
|
@ -0,0 +1,703 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Sound> PlaySoundCodeLang </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
;Var VendingQRCode = "ERROR"
|
||||||
|
;VendingQR ON
|
||||||
|
;Var QRCODE99 = ""
|
||||||
|
|
||||||
|
;CoinVending OFF
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
Var ErrorCause = ""
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
Var TelephoneNumber# = ""
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.CodeChannel = 1 Then
|
||||||
|
|
||||||
|
SAVELOG "Seeker.CodeChannel 1 > ActOK."
|
||||||
|
|
||||||
|
SAVELOG ECommerce
|
||||||
|
|
||||||
|
SPLIT ECommerce "/" 6 Seeker.VendingCode
|
||||||
|
SPLIT ECommerce "/" 8 Seeker.VendingCampaignRI3
|
||||||
|
SPLIT ECommerce "/" 9 VendingCampaign1
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "KBA:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "AIR:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "TWN:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG Seeker.VendingCode
|
||||||
|
SAVELOG Seeker.VendingCampaignRI3
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "C00" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var VendingCreditRemain = ""
|
||||||
|
Var IntVendingCampaign1 = VendingCampaign1
|
||||||
|
INT IntVendingCampaign1
|
||||||
|
|
||||||
|
If IntVendingCampaign1 > 0 Then
|
||||||
|
Var VendingCreditRemain = VendingCampaign1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.IntVendingCampaign = Seeker.VendingCampaignRI3
|
||||||
|
INT Seeker.IntVendingCampaign
|
||||||
|
|
||||||
|
Var VendingREFID = SessionID
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign > 0 Then
|
||||||
|
Var QRChannel = 0
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign >= PayAmount Then
|
||||||
|
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
Var Seeker.VendingCampaign = PayAmount
|
||||||
|
Var Seeker.FreeVendingCampaign = 1
|
||||||
|
CoinVending OFF
|
||||||
|
;Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
|
||||||
|
Cart "PreparID" 1
|
||||||
|
Var CART_INDEX = 1
|
||||||
|
Var PayReference = ""
|
||||||
|
GenHashWithTimeStamp PayReference
|
||||||
|
Cart "MakeID" CART_INDEX
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
Else
|
||||||
|
Var CART_INDEX = 0
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
Else
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
|
||||||
|
Var DrinkPaid = SelectDrink
|
||||||
|
Var PaidPaymentFromNextStage = 1
|
||||||
|
EndIf
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
Var text_show_error = DirImage + "/text_show_error.png"
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
If Seeker.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
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0005" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error3.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0006" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
Var Tel_Confirm_State = "Disable"
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 667 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "1"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var Clear# = 0
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var Clear# = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Trim TelephoneNumber -1
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
If Clear# = 1 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 218 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_back.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_back.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bp_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If UnitTestType = "2" Then
|
||||||
|
If TelephoneNumber = "00000001" Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
If GetPayInfoFlag = 0 Then
|
||||||
|
Var GetPayInfoFlag = 1
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.CodeNumber = TelephoneNumber
|
||||||
|
Var RemainAmount = 0
|
||||||
|
;PrepareDrink SelectDrink SelectSugarID
|
||||||
|
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber2 = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = ECommerce + "locker5/"
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + ServiceCredit
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
|
||||||
|
|
||||||
|
If Mode# = 1 Then
|
||||||
|
Var ECommerce = ECommerce + "S04"
|
||||||
|
Else
|
||||||
|
Var ECommerce = ECommerce + "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber2 ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = Seeker.CodeNumber
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG ShowTextNumber
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 217 </X>
|
||||||
|
<Y> 868 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 244 </X>
|
||||||
|
<Y> 882 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_12.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 883 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 62 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> TelephoneNumber# </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 760 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_37.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 152 </X>
|
||||||
|
<Y> 1001 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Filename> text_show_error </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 513 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img_popupGLX.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
700
spiral/xml/page_spiral_payment_codeLH.xml
Normal file
|
|
@ -0,0 +1,700 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Sound> PlaySoundCodeLang </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
;Var VendingQRCode = "ERROR"
|
||||||
|
;VendingQR ON
|
||||||
|
;Var QRCODE99 = ""
|
||||||
|
|
||||||
|
;CoinVending OFF
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
Var ErrorCause = ""
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
Var TelephoneNumber# = ""
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.CodeChannel = 1 Then
|
||||||
|
|
||||||
|
SAVELOG "Seeker.CodeChannel 1 > ActOK."
|
||||||
|
|
||||||
|
SAVELOG ECommerce
|
||||||
|
|
||||||
|
SPLIT ECommerce "/" 6 Seeker.VendingCode
|
||||||
|
SPLIT ECommerce "/" 8 Seeker.VendingCampaignRI3
|
||||||
|
SPLIT ECommerce "/" 9 VendingCampaign1
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "KBA:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "AIR:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "TWN:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG Seeker.VendingCode
|
||||||
|
SAVELOG Seeker.VendingCampaignRI3
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "C00" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var VendingCreditRemain = ""
|
||||||
|
Var IntVendingCampaign1 = VendingCampaign1
|
||||||
|
INT IntVendingCampaign1
|
||||||
|
|
||||||
|
If IntVendingCampaign1 > 0 Then
|
||||||
|
Var VendingCreditRemain = VendingCampaign1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.IntVendingCampaign = Seeker.VendingCampaignRI3
|
||||||
|
INT Seeker.IntVendingCampaign
|
||||||
|
|
||||||
|
Var VendingREFID = SessionID
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign > 0 Then
|
||||||
|
Var QRChannel = 0
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign >= PayAmount Then
|
||||||
|
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
Var Seeker.VendingCampaign = PayAmount
|
||||||
|
Var Seeker.FreeVendingCampaign = 1
|
||||||
|
CoinVending OFF
|
||||||
|
;Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
|
||||||
|
Cart "PreparID" 1
|
||||||
|
Var CART_INDEX = 1
|
||||||
|
Var PayReference = ""
|
||||||
|
GenHashWithTimeStamp PayReference
|
||||||
|
Cart "MakeID" CART_INDEX
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
Else
|
||||||
|
Var CART_INDEX = 0
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
Else
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
EndIf
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
Var text_show_error = DirImage + "/text_show_error.png"
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
If Seeker.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
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0005" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error3.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0006" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
Var Tel_Confirm_State = "Disable"
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 667 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "1"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var Clear# = 0
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var Clear# = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Trim TelephoneNumber -1
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
If Clear# = 1 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 218 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_back.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_back.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bp_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If UnitTestType = "2" Then
|
||||||
|
If TelephoneNumber = "00000001" Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
If GetPayInfoFlag = 0 Then
|
||||||
|
Var GetPayInfoFlag = 1
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.CodeNumber = TelephoneNumber
|
||||||
|
Var RemainAmount = 0
|
||||||
|
;PrepareDrink SelectDrink SelectSugarID
|
||||||
|
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber2 = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = ECommerce + "locker5/"
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + ServiceCredit
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
|
||||||
|
|
||||||
|
If Mode# = 1 Then
|
||||||
|
Var ECommerce = ECommerce + "S04"
|
||||||
|
Else
|
||||||
|
Var ECommerce = ECommerce + "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber2 ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = Seeker.CodeNumber
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG ShowTextNumber
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 217 </X>
|
||||||
|
<Y> 868 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 244 </X>
|
||||||
|
<Y> 882 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_12.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 883 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 62 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> TelephoneNumber# </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 760 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_38.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 152 </X>
|
||||||
|
<Y> 1001 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Filename> text_show_error </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 513 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img_popupLH.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
703
spiral/xml/page_spiral_payment_codeLotus.xml
Normal file
|
|
@ -0,0 +1,703 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Sound> PlaySoundCodeLang </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
;Var VendingQRCode = "ERROR"
|
||||||
|
;VendingQR ON
|
||||||
|
;Var QRCODE99 = ""
|
||||||
|
|
||||||
|
;CoinVending OFF
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
Var ErrorCause = ""
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
Var TelephoneNumber# = ""
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.CodeChannel = 1 Then
|
||||||
|
|
||||||
|
SAVELOG "Seeker.CodeChannel 1 > ActOK."
|
||||||
|
|
||||||
|
SAVELOG ECommerce
|
||||||
|
|
||||||
|
SPLIT ECommerce "/" 6 Seeker.VendingCode
|
||||||
|
SPLIT ECommerce "/" 8 Seeker.VendingCampaignRI3
|
||||||
|
SPLIT ECommerce "/" 9 VendingCampaign1
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "KBA:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "AIR:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "TWN:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG Seeker.VendingCode
|
||||||
|
SAVELOG Seeker.VendingCampaignRI3
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "C00" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var VendingCreditRemain = ""
|
||||||
|
Var IntVendingCampaign1 = VendingCampaign1
|
||||||
|
INT IntVendingCampaign1
|
||||||
|
|
||||||
|
If IntVendingCampaign1 > 0 Then
|
||||||
|
Var VendingCreditRemain = VendingCampaign1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.IntVendingCampaign = Seeker.VendingCampaignRI3
|
||||||
|
INT Seeker.IntVendingCampaign
|
||||||
|
|
||||||
|
Var VendingREFID = SessionID
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign > 0 Then
|
||||||
|
Var QRChannel = 0
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign >= PayAmount Then
|
||||||
|
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
Var Seeker.VendingCampaign = PayAmount
|
||||||
|
Var Seeker.FreeVendingCampaign = 1
|
||||||
|
CoinVending OFF
|
||||||
|
;Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
|
||||||
|
Cart "PreparID" 1
|
||||||
|
Var CART_INDEX = 1
|
||||||
|
Var PayReference = ""
|
||||||
|
GenHashWithTimeStamp PayReference
|
||||||
|
Cart "MakeID" CART_INDEX
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
Else
|
||||||
|
Var CART_INDEX = 0
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
Else
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
|
||||||
|
Var DrinkPaid = SelectDrink
|
||||||
|
Var PaidPaymentFromNextStage = 1
|
||||||
|
EndIf
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
Var text_show_error = DirImage + "/text_show_error.png"
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
If Seeker.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
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0005" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error3.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0006" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
Var Tel_Confirm_State = "Disable"
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 667 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "1"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var Clear# = 0
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var Clear# = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Trim TelephoneNumber -1
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
If Clear# = 1 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 218 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_back.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_back.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bp_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If UnitTestType = "2" Then
|
||||||
|
If TelephoneNumber = "00000001" Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
If GetPayInfoFlag = 0 Then
|
||||||
|
Var GetPayInfoFlag = 1
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.CodeNumber = TelephoneNumber
|
||||||
|
Var RemainAmount = 0
|
||||||
|
;PrepareDrink SelectDrink SelectSugarID
|
||||||
|
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber2 = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = ECommerce + "locker5/"
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + ServiceCredit
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
|
||||||
|
|
||||||
|
If Mode# = 1 Then
|
||||||
|
Var ECommerce = ECommerce + "S04"
|
||||||
|
Else
|
||||||
|
Var ECommerce = ECommerce + "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber2 ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = Seeker.CodeNumber
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG ShowTextNumber
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 217 </X>
|
||||||
|
<Y> 868 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 244 </X>
|
||||||
|
<Y> 882 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_12.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 883 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 62 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> TelephoneNumber# </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 760 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_32.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 152 </X>
|
||||||
|
<Y> 1001 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Filename> text_show_error </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 513 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img_popupLotus.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
279
spiral/xml/page_spiral_payment_codeOther.xml
Normal file
|
|
@ -0,0 +1,279 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
;Var VendingQRCode = "ERROR"
|
||||||
|
;VendingQR ON
|
||||||
|
;Var QRCODE99 = ""
|
||||||
|
|
||||||
|
;CoinVending OFF
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
Var ErrorCause = ""
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var TelephoneNumber# = ""
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
;VendingQR OFF
|
||||||
|
;Open menu_back_to_main
|
||||||
|
|
||||||
|
Var PayState1 = "PressForever"
|
||||||
|
Var PayState2 = "Enable"
|
||||||
|
Var QRChannel = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 567 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img_popup16.png") </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 209 </X>
|
||||||
|
<Y> 748 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeThe1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_codeThe1.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bd_pay_with_codeThe1.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeThe1.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 441 </X>
|
||||||
|
<Y> 748 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeTrue.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_codeTrue.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bd_pay_with_codeTrue.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeTrue.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 673 </X>
|
||||||
|
<Y> 748 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeAIS.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_codeAIS.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bd_pay_with_codeAIS.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeAIS.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 209 </X>
|
||||||
|
<Y> 972 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeDtac.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_codeDtac.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bd_pay_with_codeDtac.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeDtac.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 441 </X>
|
||||||
|
<Y> 972 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeSCG.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_codeSCG.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bd_pay_with_codeSCG.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeSCG.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 673 </X>
|
||||||
|
<Y> 972 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeGLX.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_codeGLX.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bd_pay_with_codeGLX.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeGLX.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 209 </X>
|
||||||
|
<Y> 1196 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeLH.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_codeLH.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bd_pay_with_codeLH.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeLH.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 441 </X>
|
||||||
|
<Y> 1196 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_codeXXX.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bd_pay_with_codeXXX.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 673 </X>
|
||||||
|
<Y> 1196 </Y>
|
||||||
|
<State> "Enable" </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_pay_with_codeXXX.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_pay_with_codeXXX.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/collectiing/bd_pay_with_codeXXX.png" </FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 397 </X>
|
||||||
|
<Y> 1455 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_cancel2.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_cancel2.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var PayState1 = "PressForever"
|
||||||
|
Var PayState2 = "Enable"
|
||||||
|
Var QRChannel = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
702
spiral/xml/page_spiral_payment_codeSCG.xml
Normal file
|
|
@ -0,0 +1,702 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Sound> PlaySoundCodeLang </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
;Var VendingQRCode = "ERROR"
|
||||||
|
;VendingQR ON
|
||||||
|
;Var QRCODE99 = ""
|
||||||
|
|
||||||
|
;CoinVending OFF
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
Var ErrorCause = ""
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
Var TelephoneNumber# = ""
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.CodeChannel = 1 Then
|
||||||
|
|
||||||
|
SAVELOG "Seeker.CodeChannel 1 > ActOK."
|
||||||
|
|
||||||
|
SAVELOG ECommerce
|
||||||
|
|
||||||
|
SPLIT ECommerce "/" 6 Seeker.VendingCode
|
||||||
|
SPLIT ECommerce "/" 8 Seeker.VendingCampaignRI3
|
||||||
|
SPLIT ECommerce "/" 9 VendingCampaign1
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "KBA:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "AIR:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "TWN:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG Seeker.VendingCode
|
||||||
|
SAVELOG Seeker.VendingCampaignRI3
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "C00" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var VendingCreditRemain = ""
|
||||||
|
Var IntVendingCampaign1 = VendingCampaign1
|
||||||
|
INT IntVendingCampaign1
|
||||||
|
|
||||||
|
If IntVendingCampaign1 > 0 Then
|
||||||
|
Var VendingCreditRemain = VendingCampaign1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.IntVendingCampaign = Seeker.VendingCampaignRI3
|
||||||
|
INT Seeker.IntVendingCampaign
|
||||||
|
|
||||||
|
Var VendingREFID = SessionID
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign > 0 Then
|
||||||
|
Var QRChannel = 0
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign >= PayAmount Then
|
||||||
|
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
Var Seeker.VendingCampaign = PayAmount
|
||||||
|
Var Seeker.FreeVendingCampaign = 1
|
||||||
|
CoinVending OFF
|
||||||
|
;Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
|
||||||
|
Cart "PreparID" 1
|
||||||
|
Var CART_INDEX = 1
|
||||||
|
Var PayReference = ""
|
||||||
|
GenHashWithTimeStamp PayReference
|
||||||
|
Cart "MakeID" CART_INDEX
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
Else
|
||||||
|
Var CART_INDEX = 0
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
Else
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
|
||||||
|
Var DrinkPaid = SelectDrink
|
||||||
|
Var PaidPaymentFromNextStage = 1
|
||||||
|
EndIf
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
Var text_show_error = DirImage + "/text_show_error.png"
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
If Seeker.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
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0005" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error3.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0006" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
Var Tel_Confirm_State = "Disable"
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 667 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "1"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var Clear# = 0
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var Clear# = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Trim TelephoneNumber -1
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
If Clear# = 1 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 218 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_back.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_back.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bp_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If UnitTestType = "2" Then
|
||||||
|
If TelephoneNumber = "00000001" Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
If GetPayInfoFlag = 0 Then
|
||||||
|
Var GetPayInfoFlag = 1
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.CodeNumber = TelephoneNumber
|
||||||
|
Var RemainAmount = 0
|
||||||
|
;PrepareDrink SelectDrink SelectSugarID
|
||||||
|
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber2 = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = ECommerce + "locker5/"
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + ServiceCredit
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
|
||||||
|
If Mode# = 1 Then
|
||||||
|
Var ECommerce = ECommerce + "S04"
|
||||||
|
Else
|
||||||
|
Var ECommerce = ECommerce + "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber2 ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = Seeker.CodeNumber
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG ShowTextNumber
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 217 </X>
|
||||||
|
<Y> 868 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 244 </X>
|
||||||
|
<Y> 882 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_12.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 883 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 62 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> TelephoneNumber# </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 760 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_36.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 152 </X>
|
||||||
|
<Y> 1001 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Filename> text_show_error </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 513 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img_popupSCG.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
703
spiral/xml/page_spiral_payment_codeThe1.xml
Normal file
|
|
@ -0,0 +1,703 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Sound> PlaySoundCodeLang </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
;Var VendingQRCode = "ERROR"
|
||||||
|
;VendingQR ON
|
||||||
|
;Var QRCODE99 = ""
|
||||||
|
|
||||||
|
;CoinVending OFF
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
Var ErrorCause = ""
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
Var TelephoneNumber# = ""
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.CodeChannel = 1 Then
|
||||||
|
|
||||||
|
SAVELOG "Seeker.CodeChannel 1 > ActOK."
|
||||||
|
|
||||||
|
SAVELOG ECommerce
|
||||||
|
|
||||||
|
SPLIT ECommerce "/" 6 Seeker.VendingCode
|
||||||
|
SPLIT ECommerce "/" 8 Seeker.VendingCampaignRI3
|
||||||
|
SPLIT ECommerce "/" 9 VendingCampaign1
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "KBA:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "AIR:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "TWN:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG Seeker.VendingCode
|
||||||
|
SAVELOG Seeker.VendingCampaignRI3
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "C00" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var VendingCreditRemain = ""
|
||||||
|
Var IntVendingCampaign1 = VendingCampaign1
|
||||||
|
INT IntVendingCampaign1
|
||||||
|
|
||||||
|
If IntVendingCampaign1 > 0 Then
|
||||||
|
Var VendingCreditRemain = VendingCampaign1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.IntVendingCampaign = Seeker.VendingCampaignRI3
|
||||||
|
INT Seeker.IntVendingCampaign
|
||||||
|
|
||||||
|
Var VendingREFID = SessionID
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign > 0 Then
|
||||||
|
Var QRChannel = 0
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign >= PayAmount Then
|
||||||
|
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
Var Seeker.VendingCampaign = PayAmount
|
||||||
|
Var Seeker.FreeVendingCampaign = 1
|
||||||
|
CoinVending OFF
|
||||||
|
;Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
|
||||||
|
Cart "PreparID" 1
|
||||||
|
Var CART_INDEX = 1
|
||||||
|
Var PayReference = ""
|
||||||
|
GenHashWithTimeStamp PayReference
|
||||||
|
Cart "MakeID" CART_INDEX
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
Else
|
||||||
|
Var CART_INDEX = 0
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
Else
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
|
||||||
|
Var DrinkPaid = SelectDrink
|
||||||
|
Var PaidPaymentFromNextStage = 1
|
||||||
|
EndIf
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
Var text_show_error = DirImage + "/text_show_error.png"
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
If Seeker.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
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0005" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error3.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0006" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
Var Tel_Confirm_State = "Disable"
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 667 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "1"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var Clear# = 0
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var Clear# = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Trim TelephoneNumber -1
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
If Clear# = 1 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 218 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_back.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_back.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bp_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If UnitTestType = "2" Then
|
||||||
|
If TelephoneNumber = "00000001" Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
If GetPayInfoFlag = 0 Then
|
||||||
|
Var GetPayInfoFlag = 1
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.CodeNumber = TelephoneNumber
|
||||||
|
Var RemainAmount = 0
|
||||||
|
;PrepareDrink SelectDrink SelectSugarID
|
||||||
|
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber2 = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = ECommerce + "locker5/"
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + ServiceCredit
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
|
||||||
|
|
||||||
|
If Mode# = 1 Then
|
||||||
|
Var ECommerce = ECommerce + "S04"
|
||||||
|
Else
|
||||||
|
Var ECommerce = ECommerce + "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber2 ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = Seeker.CodeNumber
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG ShowTextNumber
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 217 </X>
|
||||||
|
<Y> 868 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 244 </X>
|
||||||
|
<Y> 882 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_12.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 883 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 62 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> TelephoneNumber# </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 760 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_33.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 152 </X>
|
||||||
|
<Y> 1001 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Filename> text_show_error </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 513 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img_popupThe1.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
702
spiral/xml/page_spiral_payment_codeTrue.xml
Normal file
|
|
@ -0,0 +1,702 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Sound> PlaySoundCodeLang </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var Seeker.FreeVendingCampaign = 0
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
;Var VendingQRCode = "ERROR"
|
||||||
|
;VendingQR ON
|
||||||
|
;Var QRCODE99 = ""
|
||||||
|
|
||||||
|
;CoinVending OFF
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
Var ErrorCause = ""
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
Var TelephoneNumber# = ""
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.CodeChannel = 1 Then
|
||||||
|
|
||||||
|
SAVELOG "Seeker.CodeChannel 1 > ActOK."
|
||||||
|
|
||||||
|
SAVELOG ECommerce
|
||||||
|
|
||||||
|
SPLIT ECommerce "/" 6 Seeker.VendingCode
|
||||||
|
SPLIT ECommerce "/" 8 Seeker.VendingCampaignRI3
|
||||||
|
SPLIT ECommerce "/" 9 VendingCampaign1
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "KBA:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "AIR:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "TWN:2" Then
|
||||||
|
Var Seeker.VendingCode = "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG Seeker.VendingCode
|
||||||
|
SAVELOG Seeker.VendingCampaignRI3
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.VendingCode = "C00" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var VendingCreditRemain = ""
|
||||||
|
Var IntVendingCampaign1 = VendingCampaign1
|
||||||
|
INT IntVendingCampaign1
|
||||||
|
|
||||||
|
If IntVendingCampaign1 > 0 Then
|
||||||
|
Var VendingCreditRemain = VendingCampaign1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.IntVendingCampaign = Seeker.VendingCampaignRI3
|
||||||
|
INT Seeker.IntVendingCampaign
|
||||||
|
|
||||||
|
Var VendingREFID = SessionID
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign > 0 Then
|
||||||
|
Var QRChannel = 0
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign >= PayAmount Then
|
||||||
|
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
Var Seeker.VendingCampaign = PayAmount
|
||||||
|
Var Seeker.FreeVendingCampaign = 1
|
||||||
|
CoinVending OFF
|
||||||
|
;Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
|
||||||
|
Cart "PreparID" 1
|
||||||
|
Var CART_INDEX = 1
|
||||||
|
Var PayReference = ""
|
||||||
|
GenHashWithTimeStamp PayReference
|
||||||
|
Cart "MakeID" CART_INDEX
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
Else
|
||||||
|
Var CART_INDEX = 0
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
Else
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
|
||||||
|
Var DrinkPaid = SelectDrink
|
||||||
|
Var PaidPaymentFromNextStage = 1
|
||||||
|
EndIf
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Var SpiralCodeOk = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
Var text_show_error = DirImage + "/text_show_error.png"
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
If Seeker.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
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0005" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error3.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ErrorCause = "failed_fromoper_0006" Then
|
||||||
|
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var GetPayInfoFlag = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
Var Tel_Confirm_State = "Disable"
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 667 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "1"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1070 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1214 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1358 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
|
Trim TelephoneNumber 8
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 8 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1498 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var Clear# = 0
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var Clear# = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Trim TelephoneNumber -1
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
If Clear# = 1 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var Mode# = 0
|
||||||
|
Var Str# = ""
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var TelephoneNumber# = Str# + TelephoneNumber
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 218 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_back.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_back.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_codeOther.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1673 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bp_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If UnitTestType = "2" Then
|
||||||
|
If TelephoneNumber = "00000001" Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
If GetPayInfoFlag = 0 Then
|
||||||
|
Var GetPayInfoFlag = 1
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.CodeNumber = TelephoneNumber
|
||||||
|
Var RemainAmount = 0
|
||||||
|
;PrepareDrink SelectDrink SelectSugarID
|
||||||
|
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber2 = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = ECommerce + "locker5/"
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + ServiceCredit
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
|
||||||
|
If Mode# = 1 Then
|
||||||
|
Var ECommerce = ECommerce + "S04"
|
||||||
|
Else
|
||||||
|
Var ECommerce = ECommerce + "C00"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber2 ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = Seeker.CodeNumber
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
SAVELOG ShowTextNumber
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 217 </X>
|
||||||
|
<Y> 868 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 244 </X>
|
||||||
|
<Y> 882 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_12.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 883 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 62 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> TelephoneNumber# </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 760 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_35.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 152 </X>
|
||||||
|
<Y> 1001 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Filename> text_show_error </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 513 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img_popupTrue.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
700
spiral/xml/page_spiral_payment_credit.xml
Normal file
|
|
@ -0,0 +1,700 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = ""
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
Var GetCreditFlag = 0
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var number7 = ""
|
||||||
|
Var number8 = ""
|
||||||
|
Var number9 = ""
|
||||||
|
Var number10 = ""
|
||||||
|
|
||||||
|
Var Ext1a = ""
|
||||||
|
|
||||||
|
Var GetAccFlag = 0
|
||||||
|
|
||||||
|
Var AcceptAuto = "false"
|
||||||
|
|
||||||
|
If web_readyOK = "true" Then
|
||||||
|
Var web_readyOK = "false"
|
||||||
|
Var AcceptAuto = "true"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var PinNumber = ""
|
||||||
|
Var TelephoneNumber = web_telnum
|
||||||
|
|
||||||
|
Var DataTmp = TelephoneNumber + "/"
|
||||||
|
Var DataTmp = DataTmp + PinNumber
|
||||||
|
|
||||||
|
GETACCEXT DataTmp 19
|
||||||
|
Var GetAccFlag = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
Var PayState1 = "PressForever"
|
||||||
|
Var PayState2 = "Enable"
|
||||||
|
Var QRChannel = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventIDCard>
|
||||||
|
</EventIDCard>
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
;Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_credit2.xml"
|
||||||
|
If GetAccFlag = 1 Then
|
||||||
|
If Ext1a = "ok" Then
|
||||||
|
Var PinNumberUser = Ext1c
|
||||||
|
Var CoffeeCredit = Ext1b
|
||||||
|
INT CoffeeCredit
|
||||||
|
|
||||||
|
;Var CoffeeCredit = 5
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR PinNumberUser
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_credit2.xml"
|
||||||
|
Else
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
If GetAccFlag = 1 Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
Refresh
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 601 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "1"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "1"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "1"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "1"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "1"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "2"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "2"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "2"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "2"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "3"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "3"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "3"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "3"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "4"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "4"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "4"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "4"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "5"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "5"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "5"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "5"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "6"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "6"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "6"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "6"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "7"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "7"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "7"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "7"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "8"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "8"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "8"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "8"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "9"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "9"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "9"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "9"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "0"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "0"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "0"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "0"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Trim TelephoneNumber -1
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 218 </X>
|
||||||
|
<Y> 1607 </Y>
|
||||||
|
|
||||||
|
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var PayState1 = "PressForever"
|
||||||
|
Var PayState2 = "Enable"
|
||||||
|
Var QRChannel = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1607 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bn_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Var GetAccFlag = 1
|
||||||
|
GETACCEXT TelephoneNumber 19
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 217 </X>
|
||||||
|
<Y> 802 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 244 </X>
|
||||||
|
<Y> 817 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text14.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 248 </X>
|
||||||
|
<Y> 836 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/Group.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 817 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 62 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> TelephoneNumber </Value>
|
||||||
|
<Format> Telnum-mask-1 </Format>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 626 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_13.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 444 </X>
|
||||||
|
<Y> 945 </Y>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_show_notfound.png") </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
933
spiral/xml/page_spiral_payment_credit2.xml
Normal file
|
|
@ -0,0 +1,933 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TimeoutSMS = 0
|
||||||
|
Var StateBGetSMS = "Enable"
|
||||||
|
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
Var ShowTextNumber1 = "Invisible"
|
||||||
|
Var ShowTextNumber2 = "Invisible"
|
||||||
|
Var ShowTextNumber3 = "Invisible"
|
||||||
|
Var ShowTextNumber4 = "Invisible"
|
||||||
|
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
Var PinNumber = ""
|
||||||
|
|
||||||
|
Var ReqFlag = 0
|
||||||
|
|
||||||
|
Var Xtext = 246
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Var Xtext = 246
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var Ext1a = ""
|
||||||
|
|
||||||
|
Var ReqAdddata22 = 0
|
||||||
|
Var timeout_Adddata22 = 0
|
||||||
|
GenHashWithTimeStamp PointCrm
|
||||||
|
|
||||||
|
If AcceptAuto = "true" Then
|
||||||
|
|
||||||
|
Var AcceptAuto = "false"
|
||||||
|
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
|
||||||
|
Var PinNumber = web_pin
|
||||||
|
Var TelephoneNumber = web_telnum
|
||||||
|
|
||||||
|
If PinNumberUser = PinNumber Then
|
||||||
|
|
||||||
|
Var SumCreditAmount = CoffeeCredit
|
||||||
|
|
||||||
|
If SumCreditAmount >= PayAmount Then
|
||||||
|
|
||||||
|
If ReqAdddata22 = 0 Then
|
||||||
|
Var BmiYear = PayAmount
|
||||||
|
Var GetScore = "useCredit"
|
||||||
|
AddData 22 TelephoneNumber BmiYear PointCrm GetScore
|
||||||
|
Var ReqAdddata22 = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_credit3.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
Var PinNumber = ""
|
||||||
|
Var ShowTextNumber1 = "Invisible"
|
||||||
|
Var ShowTextNumber2 = "Invisible"
|
||||||
|
Var ShowTextNumber3 = "Invisible"
|
||||||
|
Var ShowTextNumber4 = "Invisible"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
Var PayState1 = "PressForever"
|
||||||
|
Var PayState2 = "Enable"
|
||||||
|
Var QRChannel = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If StateBGetSMS = "Disable" Then
|
||||||
|
|
||||||
|
Var TimeoutSMS = TimeoutSMS + 1
|
||||||
|
If TimeoutSMS > 30 Then
|
||||||
|
|
||||||
|
Var StateBGetSMS = "Enable"
|
||||||
|
Var TimeoutSMS = 0
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventIDCard>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventIDCard>
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
If ReqFlag = 0 Then
|
||||||
|
|
||||||
|
If ReqAdddata22 = 1 Then
|
||||||
|
Var Seeker.CreditReferenceTmp = "" + PayAmount
|
||||||
|
Var Seeker.CreditReferenceTmp = Seeker.CreditReferenceTmp + "/"
|
||||||
|
Var Seeker.CreditReferenceTmp = Seeker.CreditReferenceTmp + PointCrm
|
||||||
|
|
||||||
|
CoinVending OFF
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.TNumberTaobinCredit = TelephoneNumber
|
||||||
|
Var Seeker.CoffeePinNumber = PinNumber
|
||||||
|
|
||||||
|
Var Seeker.StoreCreditFlag = 1
|
||||||
|
|
||||||
|
Var SumCreditAmount = SumCreditAmount - PayAmount
|
||||||
|
|
||||||
|
Var VendingCreditRemain = "" + SumCreditAmount
|
||||||
|
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Cart "PreparID" 1
|
||||||
|
Var CART_INDEX = 1
|
||||||
|
Var PayReference = ""
|
||||||
|
GenHashWithTimeStamp PayReference
|
||||||
|
Cart "MakeID" CART_INDEX
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
Else
|
||||||
|
Var CART_INDEX = 0
|
||||||
|
Var ChangeOK = 3
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Else
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
EndIf
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ReqAdddata22 = 0
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;If Ext1a = "ok" Then
|
||||||
|
|
||||||
|
; If Ext1c = "" Then
|
||||||
|
;
|
||||||
|
; Open "ROOT/taobin_project/xml/page_payment_credit3.xml"
|
||||||
|
; Else
|
||||||
|
|
||||||
|
; EndIf
|
||||||
|
;Else
|
||||||
|
; Var ShowErrorText = "Enable"
|
||||||
|
; Var PinNumber = ""
|
||||||
|
; Var ShowTextNumber1 = "Invisible"
|
||||||
|
; Var ShowTextNumber2 = "Invisible"
|
||||||
|
; Var ShowTextNumber3 = "Invisible"
|
||||||
|
; Var ShowTextNumber4 = "Invisible"
|
||||||
|
;EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
If ReqAdddata22 = 1 Then
|
||||||
|
|
||||||
|
Var ReqAdddata22 = 0
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 601 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "1"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<State> StateBGetSMS </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/bn_getPin.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_getPin.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
;Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Enable"
|
||||||
|
Var StateBGetSMS = "Disable"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var BmiYear = ""
|
||||||
|
Var PointCrm1 = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
AddData 13 TelephoneNumber BmiYear PointCrm1 GetScore
|
||||||
|
|
||||||
|
|
||||||
|
Var ShowTextNumber1 = "Invisible"
|
||||||
|
Var ShowTextNumber2 = "Invisible"
|
||||||
|
Var ShowTextNumber3 = "Invisible"
|
||||||
|
Var ShowTextNumber4 = "Invisible"
|
||||||
|
Var PinNumber = ""
|
||||||
|
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
|
Var ReqFlag = 1
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "0"
|
||||||
|
Trim PinNumber 4
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Trim PinNumber -1
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
If TelNumLen < 1 Then
|
||||||
|
Var ShowTextNumber1 = "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen < 2 Then
|
||||||
|
Var ShowTextNumber2= "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen < 3 Then
|
||||||
|
Var ShowTextNumber3= "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen < 4 Then
|
||||||
|
Var ShowTextNumber4= "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 218 </X>
|
||||||
|
<Y> 1607 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_back.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_back.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_credit.xml"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1607 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bn_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
If PinNumberUser = PinNumber Then
|
||||||
|
|
||||||
|
Var SumCreditAmount = CoffeeCredit
|
||||||
|
|
||||||
|
If SumCreditAmount >= PayAmount Then
|
||||||
|
|
||||||
|
If ReqAdddata22 = 0 Then
|
||||||
|
Var BmiYear = PayAmount
|
||||||
|
Var GetScore = "useCredit"
|
||||||
|
AddData 22 TelephoneNumber BmiYear PointCrm GetScore
|
||||||
|
Var ReqAdddata22 = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_credit3.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
Var PinNumber = ""
|
||||||
|
Var ShowTextNumber1 = "Invisible"
|
||||||
|
Var ShowTextNumber2 = "Invisible"
|
||||||
|
Var ShowTextNumber3 = "Invisible"
|
||||||
|
Var ShowTextNumber4 = "Invisible"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;Var DataTmp = TelephoneNumber + "/"
|
||||||
|
;Var DataTmp = DataTmp + PinNumber
|
||||||
|
;GETACCEXT DataTmp 19
|
||||||
|
Var ReqFlag = 0
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 242 </X>
|
||||||
|
<Y> 830 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img4.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 289 </X>
|
||||||
|
<Y> 870 </Y>
|
||||||
|
<State> ShowTextNumber1 </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 446 </X>
|
||||||
|
<Y> 870 </Y>
|
||||||
|
<State> ShowTextNumber2 </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 603 </X>
|
||||||
|
<Y> 870 </Y>
|
||||||
|
<State> ShowTextNumber3 </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 758 </X>
|
||||||
|
<Y> 870 </Y>
|
||||||
|
<State> ShowTextNumber4 </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 699 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_16.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 444 </X>
|
||||||
|
<Y> 945 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Filename> Var( DirImage + "/text_show_notfound.png") </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> Xtext </X>
|
||||||
|
<Y> 945 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowSentSmsText </State>
|
||||||
|
<Filename> Var( DirImage + "/text_show_sentSMS.png") </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
381
spiral/xml/page_spiral_payment_credit3.xml
Normal file
|
|
@ -0,0 +1,381 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var Tel_Confirm_State = "Disable"
|
||||||
|
Var ShowNotEnoughText = "Invisible"
|
||||||
|
|
||||||
|
;Var CoffeeCredit = Ext1b
|
||||||
|
;INT CoffeeCredit
|
||||||
|
|
||||||
|
Var SumCreditAmount = CoffeeCredit
|
||||||
|
;Var SumCreditAmount = 5
|
||||||
|
|
||||||
|
Var NotEnoughFlag = 0
|
||||||
|
|
||||||
|
Var timeCountUp = 0
|
||||||
|
|
||||||
|
If SumCreditAmount >= PayAmount Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
Var ShowNotEnoughText = "Enable"
|
||||||
|
Var NotEnoughFlag = 1
|
||||||
|
|
||||||
|
Var AcceptAuto = "false"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowLoadingText = "Invisible"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var PrepareFlag = 0
|
||||||
|
Var PrepareTime = 0
|
||||||
|
|
||||||
|
Var ReqAdddata22 = 0
|
||||||
|
Var timeout_Adddata22 = 0
|
||||||
|
GenHashWithTimeStamp PointCrm
|
||||||
|
|
||||||
|
;Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
|
||||||
|
If ReqAdddata22 = 0 Then
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
Else
|
||||||
|
Var timeout_Adddata22 = timeout_Adddata22 + 1
|
||||||
|
|
||||||
|
If timeout_Adddata22 > 30 Then
|
||||||
|
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
Var ShowLoadingText = "Invisible"
|
||||||
|
Var ReqAdddata22 = 0
|
||||||
|
Var timeout_Adddata22 = 0
|
||||||
|
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If AcceptAuto = "true" Then
|
||||||
|
If Timeout > 3 Then
|
||||||
|
|
||||||
|
Var AcceptAuto = "false"
|
||||||
|
|
||||||
|
|
||||||
|
Var BmiYear = PayAmount
|
||||||
|
Var GetScore = "useCredit"
|
||||||
|
|
||||||
|
AddData 22 TelephoneNumber BmiYear PointCrm GetScore
|
||||||
|
Var ReqAdddata22 = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If Timeout > 60 Then
|
||||||
|
Var PayState1 = "PressForever"
|
||||||
|
Var PayState2 = "Enable"
|
||||||
|
Var QRChannel = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventIDCard>
|
||||||
|
</EventIDCard>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
If ReqAdddata22 = 1 Then
|
||||||
|
|
||||||
|
If NotEnoughFlag = 0 Then
|
||||||
|
|
||||||
|
Var Seeker.CreditReferenceTmp = "" + PayAmount
|
||||||
|
Var Seeker.CreditReferenceTmp = Seeker.CreditReferenceTmp + "/"
|
||||||
|
Var Seeker.CreditReferenceTmp = Seeker.CreditReferenceTmp + PointCrm
|
||||||
|
|
||||||
|
CoinVending OFF
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.TNumberTaobinCredit = TelephoneNumber
|
||||||
|
Var Seeker.CoffeePinNumber = PinNumber
|
||||||
|
|
||||||
|
Var Seeker.StoreCreditFlag = 1
|
||||||
|
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
|
||||||
|
Cart "PreparID" 1
|
||||||
|
Var CART_INDEX = 1
|
||||||
|
Var PayReference = ""
|
||||||
|
GenHashWithTimeStamp PayReference
|
||||||
|
Cart "MakeID" CART_INDEX
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
Else
|
||||||
|
Var CART_INDEX = 0
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Else
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
EndIf
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
Var PayState1 = "PressForever"
|
||||||
|
Var PayState2 = "Enable"
|
||||||
|
Var QRChannel = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
|
||||||
|
Var Seeker.TNumberTaobinCredit = TelephoneNumber
|
||||||
|
Var Seeker.CoffeePinNumber = PinNumber
|
||||||
|
|
||||||
|
Var Seeker.IntVendingCredit = SumCreditAmount
|
||||||
|
|
||||||
|
Var Seeker.CreditReferenceTmp = "" + SumCreditAmount
|
||||||
|
Var Seeker.CreditReferenceTmp = Seeker.CreditReferenceTmp + "/"
|
||||||
|
Var Seeker.CreditReferenceTmp = Seeker.CreditReferenceTmp + PointCrm
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.StoreCreditFlag = 1
|
||||||
|
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Var SpiralKeepCredit = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ReqAdddata22 = 0
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
If ReqAdddata22 = 1 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
Var ShowLoadingText = "Invisible"
|
||||||
|
Var ReqAdddata22 = 0
|
||||||
|
Var timeout_Adddata22 = 0
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
<EventCoin>
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCoin>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 182 </X>
|
||||||
|
<Y> 748 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img_popup11.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1041 </Y>
|
||||||
|
<Size> 144 </Size>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Font> KanitRegularTTF </Font>
|
||||||
|
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<Value> SumCreditAmount </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 261 </X>
|
||||||
|
<Y> 1345 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_cancel3.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_cancel3.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var PayState1 = "PressForever"
|
||||||
|
Var PayState2 = "Enable"
|
||||||
|
Var QRChannel = 0
|
||||||
|
Var Seeker.CodeChannel = 0
|
||||||
|
SAVELOG "payment_credit3-p121."
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 624 </X>
|
||||||
|
<Y> 1345 </Y>
|
||||||
|
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_useCredit.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_useCredit.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bp_useCredit.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If ReqAdddata22 = 0 Then
|
||||||
|
|
||||||
|
If NotEnoughFlag = 0 Then
|
||||||
|
|
||||||
|
|
||||||
|
Var BmiYear = PayAmount
|
||||||
|
Var GetScore = "useCredit"
|
||||||
|
|
||||||
|
AddData 22 TelephoneNumber BmiYear PointCrm GetScore
|
||||||
|
|
||||||
|
|
||||||
|
Var ReqAdddata22 = 1
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
SAVELOG "payment_credit3-p227."
|
||||||
|
|
||||||
|
|
||||||
|
Var BmiYear = SumCreditAmount
|
||||||
|
Var GetScore = "useCredit"
|
||||||
|
|
||||||
|
AddData 22 TelephoneNumber BmiYear PointCrm GetScore
|
||||||
|
Var ReqAdddata22 = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowNotEnoughText = "Invisible"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowLoadingText = "Enable"
|
||||||
|
Var Tel_Confirm_State = "Disable"
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 230 </X>
|
||||||
|
<Y> 920 </Y>
|
||||||
|
|
||||||
|
<State> ShowNotEnoughText </State>
|
||||||
|
<Filename> Var( DirImage + "/text_show_notEnough.png") </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 260 </X>
|
||||||
|
<Y> 920 </Y>
|
||||||
|
|
||||||
|
<State> ShowLoadingText </State>
|
||||||
|
<Filename> Var( DirImage + "/loadingText.png") </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 260 </X>
|
||||||
|
<Y> 920 </Y>
|
||||||
|
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Filename> Var( DirImage + "/loadingTextError.png") </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
742
spiral/xml/page_spiral_payment_storeCredit.xml
Normal file
|
|
@ -0,0 +1,742 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = ""
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
Var GetCreditFlag = 0
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var FlagWaitUpdateCoinAmount = 0
|
||||||
|
|
||||||
|
Var number7 = ""
|
||||||
|
Var number8 = ""
|
||||||
|
Var number9 = ""
|
||||||
|
Var number10 = ""
|
||||||
|
|
||||||
|
Var Ext1a = ""
|
||||||
|
Var GetAccFlag = 0
|
||||||
|
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
If Seeker.pageStoreCredit0 = 1 Then
|
||||||
|
Change StoreCreditAmount
|
||||||
|
Var ChangeFlag2 = 1
|
||||||
|
If Seeker.FreeVendingCampaign = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If FlagWaitUpdateCoinAmount = 1 Then
|
||||||
|
If Timeout > 2 Then
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventIDCard>
|
||||||
|
</EventIDCard>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
If GetAccFlag = 1 Then
|
||||||
|
If Ext1a = "ok" Then
|
||||||
|
Var CoffeeCredit = Ext1b
|
||||||
|
INT CoffeeCredit
|
||||||
|
Var Seeker.CoffeePinNumber = Ext1c
|
||||||
|
|
||||||
|
Var Seeker.TNumberTaobinCredit = TelephoneNumber
|
||||||
|
|
||||||
|
If Seeker.pageStoreCredit0 = 1 Then
|
||||||
|
|
||||||
|
Var Seeker.StoreCreditFlag = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var CoffeeCreditKeep = StoreCreditAmount + CoffeeCredit
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit2-2.xml"
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var Seeker.StoreCreditFlag = 1
|
||||||
|
|
||||||
|
|
||||||
|
If ViewBill < RemainAmount Then
|
||||||
|
|
||||||
|
CoinVending BILLSTACKALL
|
||||||
|
|
||||||
|
Var FlagWaitUpdateCoinAmount = 1
|
||||||
|
Var Timeout = 0
|
||||||
|
Else
|
||||||
|
|
||||||
|
CoinVending BILLSTACKALL
|
||||||
|
Var SpiralKeepCredit = 1
|
||||||
|
Var CoffeeCreditKeep = RemainAmountKeep + CoffeeCredit
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit3.xml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
If Ext1a = "new customer" Then
|
||||||
|
Var CoffeeCreditKeep = 0
|
||||||
|
Var Seeker.TNumberTaobinCredit = TelephoneNumber
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit2.xml"
|
||||||
|
Else
|
||||||
|
If Ext1a = "invalid password" Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
If GetAccFlag = 1 Then
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
EndIf
|
||||||
|
Refresh
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 601 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "1"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "1"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "1"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "1"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "1"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "2"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "2"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "2"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "2"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "3"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "3"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "3"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "3"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "4"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "4"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "4"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "4"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "5"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "5"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "5"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "5"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "6"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "6"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "6"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "6"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "7"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "7"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "7"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "7"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "8"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "8"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "8"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "8"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "9"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "9"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "9"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "9"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen < 10 Then
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
|
Trim TelephoneNumber 10
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= 10 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen = 7 Then
|
||||||
|
Var number7 = "0"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 8 Then
|
||||||
|
Var number8 = "0"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 9 Then
|
||||||
|
Var number9 = "0"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen = 10 Then
|
||||||
|
Var number10 = "0"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Trim TelephoneNumber -1
|
||||||
|
Var Tel_Confirm_State = "Disable"
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 218 </X>
|
||||||
|
<Y> 1607 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.pageStoreCredit0 = 1 Then
|
||||||
|
Change StoreCreditAmount
|
||||||
|
Var ChangeFlag2 = 1
|
||||||
|
Var Seeker.TNumberTaobinCredit = ""
|
||||||
|
If Seeker.FreeVendingCampaign = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1607 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bn_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Var GetAccFlag = 1
|
||||||
|
GETACCEXT TelephoneNumber 13
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 217 </X>
|
||||||
|
<Y> 802 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 244 </X>
|
||||||
|
<Y> 817 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text14.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 248 </X>
|
||||||
|
<Y> 836 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/Group.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 817 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 62 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> TelephoneNumber </Value>
|
||||||
|
<Format> Telnum-mask-1 </Format>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 626 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_17.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 444 </X>
|
||||||
|
<Y> 942 </Y>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/text_show_notfound.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
<EventMachine>
|
||||||
|
If MachineStage = "drink-success" Then
|
||||||
|
Var MachineState_Result = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If MachineStage = "drink-failed" Then
|
||||||
|
Var MachineState_Result = 2
|
||||||
|
EndIf
|
||||||
|
</EventMachine>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
196
spiral/xml/page_spiral_payment_storeCredit0.xml
Normal file
|
|
@ -0,0 +1,196 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = ""
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
Var GetCreditFlag = 0
|
||||||
|
Var clickedChangeFlag = 0
|
||||||
|
|
||||||
|
Var Seeker.pageStoreCredit0 = 1
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en/page_payment"
|
||||||
|
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend_en"
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SpiralKeepCredit = 1 Then
|
||||||
|
Var SpiralKeepCredit = 1
|
||||||
|
If Seeker.TNumberTaobinCredit = "" Then
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit.xml"
|
||||||
|
Else
|
||||||
|
Var Seeker.StoreCreditFlag = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
|
||||||
|
Change StoreCreditAmount
|
||||||
|
Var ChangeFlag2 = 1
|
||||||
|
|
||||||
|
If Seeker.FreeVendingCampaign = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventIDCard>
|
||||||
|
</EventIDCard>
|
||||||
|
<EventActionOk>
|
||||||
|
</EventActionOk>
|
||||||
|
<EventActionError>
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 182 </X>
|
||||||
|
<Y> 748 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "/img_popup14.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
;<Text>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 1041 </Y>
|
||||||
|
;<Size> 100 </Size>
|
||||||
|
;<Align> Center </Align>
|
||||||
|
;<Width> 1080 </Width>
|
||||||
|
;<Font> KanitRegularTTF </Font>
|
||||||
|
;<Color> 0xDE794E </Color>
|
||||||
|
;<Value> StoreCreditAmount </Value>
|
||||||
|
;</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 327 </X>
|
||||||
|
<Y> 1208 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "/bn_keep.png" )</Filename>
|
||||||
|
<FilenamePress> Var( DirImage2 + "/bp_keep.png" )</FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var SpiralKeepCredit = 1
|
||||||
|
If Seeker.TNumberTaobinCredit = "" Then
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit.xml"
|
||||||
|
Else
|
||||||
|
Var Seeker.StoreCreditFlag = 1
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 327 </X>
|
||||||
|
<Y> 1335 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "/bn_cancel3.png" )</Filename>
|
||||||
|
<FilenamePress> Var( DirImage2 + "/bp_cancel3.png" )</FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
If clickedChangeFlag = 0 Then
|
||||||
|
|
||||||
|
Var clickedChangeFlag = 1
|
||||||
|
|
||||||
|
; Change StoreCreditAmount
|
||||||
|
Var ChangeFlag2 = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.FreeVendingCampaign = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
<EventMachine>
|
||||||
|
If MachineStage = "drink-success" Then
|
||||||
|
Var MachineState_Result = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If MachineStage = "drink-failed" Then
|
||||||
|
Var MachineState_Result = 2
|
||||||
|
EndIf
|
||||||
|
</EventMachine>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
836
spiral/xml/page_spiral_payment_storeCredit2-2.xml
Normal file
|
|
@ -0,0 +1,836 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TimeoutSMS = 0
|
||||||
|
Var StateBGetSMS = "Enable"
|
||||||
|
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var ShowTextNumber1 = "Invisible"
|
||||||
|
Var ShowTextNumber2 = "Invisible"
|
||||||
|
Var ShowTextNumber3 = "Invisible"
|
||||||
|
Var ShowTextNumber4 = "Invisible"
|
||||||
|
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
Var PinNumber = ""
|
||||||
|
|
||||||
|
Var Xtext = 246
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Var Xtext = 246
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var FlagWaitUpdateCoinAmount = 0
|
||||||
|
|
||||||
|
Var FlagOKButton = 0
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If FlagWaitUpdateCoinAmount = 1 Then
|
||||||
|
If Timeout > 2 Then
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventIDCard>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventIDCard>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 601 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "1"
|
||||||
|
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<State> StateBGetSMS </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/bn_getPin.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_getPin.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Enable"
|
||||||
|
Var StateBGetSMS = "Disable"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var BmiYear = ""
|
||||||
|
Var PointCrm = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
AddData 13 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
|
||||||
|
|
||||||
|
|
||||||
|
Var ShowTextNumber1 = "Invisible"
|
||||||
|
Var ShowTextNumber2 = "Invisible"
|
||||||
|
Var ShowTextNumber3 = "Invisible"
|
||||||
|
Var ShowTextNumber4 = "Invisible"
|
||||||
|
Var PinNumber = ""
|
||||||
|
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
|
Var ReqFlag = 1
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "0"
|
||||||
|
Trim PinNumber 4
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Trim PinNumber -1
|
||||||
|
Var Tel_Confirm_State = "Disable"
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
If TelNumLen < 1 Then
|
||||||
|
Var ShowTextNumber1 = "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen < 2 Then
|
||||||
|
Var ShowTextNumber2= "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen < 3 Then
|
||||||
|
Var ShowTextNumber3= "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen < 4 Then
|
||||||
|
Var ShowTextNumber4= "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ShowSentSmsText = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 218 </X>
|
||||||
|
<Y> 1607 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_back.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_back.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_storeCredit.xml"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1607 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bn_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
If FlagOKButton = 0 Then
|
||||||
|
|
||||||
|
Var FlagOKButton = 1
|
||||||
|
|
||||||
|
If Seeker.CoffeePinNumber = PinNumber Then
|
||||||
|
Var Seeker.StoreCreditFlag = 1
|
||||||
|
Var Seeker.CoffeePinNumber = PinNumber
|
||||||
|
If Seeker.pageStoreCredit0 = 1 Then
|
||||||
|
Var CoffeeCreditKeep = StoreCreditAmount + CoffeeCredit
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit3.xml"
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
If ViewBill < RemainAmount Then
|
||||||
|
CoinVending BILLSTACKALL
|
||||||
|
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
Var FlagWaitUpdateCoinAmount = 1
|
||||||
|
Var Timeout = 0
|
||||||
|
Else
|
||||||
|
|
||||||
|
CoinVending BILLSTACKALL
|
||||||
|
|
||||||
|
Var CoffeeCreditKeep = RemainAmountKeep + CoffeeCredit
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit3.xml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var FlagOKButton = 0
|
||||||
|
Var ShowTextNumber1 = "Invisible"
|
||||||
|
Var ShowTextNumber2 = "Invisible"
|
||||||
|
Var ShowTextNumber3 = "Invisible"
|
||||||
|
Var ShowTextNumber4 = "Invisible"
|
||||||
|
|
||||||
|
Var ShowErrorText = "Enable"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
Var PinNumber = ""
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 242 </X>
|
||||||
|
<Y> 830 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img4.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 289 </X>
|
||||||
|
<Y> 870 </Y>
|
||||||
|
<State> ShowTextNumber1 </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 446 </X>
|
||||||
|
<Y> 870 </Y>
|
||||||
|
<State> ShowTextNumber2 </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 603 </X>
|
||||||
|
<Y> 870 </Y>
|
||||||
|
<State> ShowTextNumber3 </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 758 </X>
|
||||||
|
<Y> 870 </Y>
|
||||||
|
<State> ShowTextNumber4 </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 706 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_29.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 525 </X>
|
||||||
|
<Y> 760 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Size> 30 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> Seeker.TNumberTaobinCredit </Value>
|
||||||
|
<Format> Telnum </Format>
|
||||||
|
<Format> Telnum-mask-1 </Format>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 444 </X>
|
||||||
|
<Y> 945 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Filename> Var( DirImage + "/text_show_notfound.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> Xtext </X>
|
||||||
|
<Y> 945 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowSentSmsText </State>
|
||||||
|
<Filename> Var( DirImage + "/text_show_sentSMS.png") </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
<EventMachine>
|
||||||
|
If MachineStage = "drink-success" Then
|
||||||
|
Var MachineState_Result = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If MachineStage = "drink-failed" Then
|
||||||
|
Var MachineState_Result = 2
|
||||||
|
EndIf
|
||||||
|
</EventMachine>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
800
spiral/xml/page_spiral_payment_storeCredit2.xml
Normal file
|
|
@ -0,0 +1,800 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var ShowTextNumber1 = "Invisible"
|
||||||
|
Var ShowTextNumber2 = "Invisible"
|
||||||
|
Var ShowTextNumber3 = "Invisible"
|
||||||
|
Var ShowTextNumber4 = "Invisible"
|
||||||
|
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
Var PinNumber = ""
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var FlagWaitUpdateCoinAmount = 0
|
||||||
|
|
||||||
|
Var FlagOKButton = 0
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 30 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_spiral_payment_storeCredit.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If FlagWaitUpdateCoinAmount = 1 Then
|
||||||
|
If Timeout > 2 Then
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventIDCard>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventIDCard>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 158 </X>
|
||||||
|
<Y> 601 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "1"
|
||||||
|
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
;Var Tel_Confirm_State = "Enable"
|
||||||
|
Function 2
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
;Var Tel_Confirm_State = "Enable"
|
||||||
|
Function 2
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1004 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
;Var Tel_Confirm_State = "Enable"
|
||||||
|
Function 2
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
;Var Tel_Confirm_State = "Enable"
|
||||||
|
Function 2
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
;Var Tel_Confirm_State = "Enable"
|
||||||
|
Function 2
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1148 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
;Var Tel_Confirm_State = "Enable"
|
||||||
|
Function 2
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 333 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
;Var Tel_Confirm_State = "Enable"
|
||||||
|
Function 2
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
;Var Tel_Confirm_State = "Enable"
|
||||||
|
Function 2
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1292 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim PinNumber 4
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
;Var Tel_Confirm_State = "Enable"
|
||||||
|
Function 2
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 477 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var PinNumber = PinNumber + "0"
|
||||||
|
Trim PinNumber 4
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
If TelNumLen >= 4 Then
|
||||||
|
;Var Tel_Confirm_State = "Enable"
|
||||||
|
Function 2
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If TelNumLen > 0 Then
|
||||||
|
Var ShowTextNumber1 = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 1 Then
|
||||||
|
Var ShowTextNumber2= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 2 Then
|
||||||
|
Var ShowTextNumber3= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen > 3 Then
|
||||||
|
Var ShowTextNumber4= "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 620 </X>
|
||||||
|
<Y> 1432 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Trim PinNumber -1
|
||||||
|
;Var Tel_Confirm_State = "Disable"
|
||||||
|
|
||||||
|
StrLen PinNumber TelNumLen
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
If TelNumLen < 1 Then
|
||||||
|
Var ShowTextNumber1 = "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen < 2 Then
|
||||||
|
Var ShowTextNumber2= "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen < 3 Then
|
||||||
|
Var ShowTextNumber3= "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TelNumLen < 4 Then
|
||||||
|
Var ShowTextNumber4= "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 286 </X>
|
||||||
|
<Y> 1607 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_back.png") </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_back.png") </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_storeCredit.xml"
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 577 </X>
|
||||||
|
<Y> 1607 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage + "/bn_confirm.png" )</FilenameDisable>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
If FlagOKButton = 0 Then
|
||||||
|
|
||||||
|
Var FlagOKButton = 1
|
||||||
|
|
||||||
|
Var Seeker.StoreCreditFlag = 1
|
||||||
|
Var Seeker.CoffeePinNumber = PinNumber
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.pageStoreCredit0 = 1 Then
|
||||||
|
|
||||||
|
|
||||||
|
Var CoffeeCreditKeep = StoreCreditAmount + 0
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit3.xml"
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If ViewBill < RemainAmount Then
|
||||||
|
CoinVending BILLSTACKALL
|
||||||
|
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
Var FlagWaitUpdateCoinAmount = 1
|
||||||
|
Var Timeout = 0
|
||||||
|
Else
|
||||||
|
|
||||||
|
CoinVending BILLSTACKALL
|
||||||
|
Var SpiralKeepCredit = 1
|
||||||
|
Var CoffeeCreditKeep = RemainAmountKeep + 0
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit3.xml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 242 </X>
|
||||||
|
<Y> 830 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img4.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 289 </X>
|
||||||
|
<Y> 870 </Y>
|
||||||
|
<State> ShowTextNumber1 </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 446 </X>
|
||||||
|
<Y> 870 </Y>
|
||||||
|
<State> ShowTextNumber2 </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 603 </X>
|
||||||
|
<Y> 870 </Y>
|
||||||
|
<State> ShowTextNumber3 </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 758 </X>
|
||||||
|
<Y> 870 </Y>
|
||||||
|
<State> ShowTextNumber4 </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 188 </X>
|
||||||
|
<Y> 706 </Y>
|
||||||
|
<Filename> Var( DirImage + "/text_28.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 525 </X>
|
||||||
|
<Y> 760 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Size> 30 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> Seeker.TNumberTaobinCredit </Value>
|
||||||
|
<Format> Telnum </Format>
|
||||||
|
<Format> Telnum-mask-1 </Format>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 330 </X>
|
||||||
|
<Y> 942 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> ShowErrorText </State>
|
||||||
|
<Filename> Var( DirImage + "text_show_notfound.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
<EventMachine>
|
||||||
|
If MachineStage = "drink-success" Then
|
||||||
|
Var MachineState_Result = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If MachineStage = "drink-failed" Then
|
||||||
|
Var MachineState_Result = 2
|
||||||
|
EndIf
|
||||||
|
</EventMachine>
|
||||||
|
|
||||||
|
|
||||||
|
<Function2>
|
||||||
|
|
||||||
|
If FlagOKButton = 0 Then
|
||||||
|
|
||||||
|
Var FlagOKButton = 1
|
||||||
|
|
||||||
|
Var Seeker.StoreCreditFlag = 1
|
||||||
|
Var Seeker.CoffeePinNumber = PinNumber
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.pageStoreCredit0 = 1 Then
|
||||||
|
|
||||||
|
|
||||||
|
Var CoffeeCreditKeep = StoreCreditAmount + 0
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit3.xml"
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If ViewBill < RemainAmount Then
|
||||||
|
CoinVending BILLSTACKALL
|
||||||
|
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
Var FlagWaitUpdateCoinAmount = 1
|
||||||
|
Var Timeout = 0
|
||||||
|
Else
|
||||||
|
|
||||||
|
CoinVending BILLSTACKALL
|
||||||
|
Var SpiralKeepCredit = 1
|
||||||
|
Var CoffeeCreditKeep = RemainAmountKeep + 0
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit3.xml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</Function2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
183
spiral/xml/page_spiral_payment_storeCredit3.xml
Normal file
|
|
@ -0,0 +1,183 @@
|
||||||
|
<Popup>
|
||||||
|
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<Refresh> "Partial" </Refresh>
|
||||||
|
<EventOpen>
|
||||||
|
; On open
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||||
|
Else
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Seeker.pageStoreCredit0 = 1 Then
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
VendingQR OFF
|
||||||
|
CoinVending OFF
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
;Open "ROOT/xml/page_board.xml"
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout > 5 Then
|
||||||
|
|
||||||
|
If Seeker.pageStoreCredit0 = 1 Then
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.FreeVendingCampaign = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
If CART_COUNT >= 1 Then
|
||||||
|
|
||||||
|
Cart "PreparID" 1
|
||||||
|
Var CART_INDEX = 1
|
||||||
|
Var PayReference = ""
|
||||||
|
GenHashWithTimeStamp PayReference
|
||||||
|
Cart "MakeID" CART_INDEX
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
Else
|
||||||
|
Var CART_INDEX = 0
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
; MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Else
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventIDCard>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventIDCard>
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventActionError>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 157 </X>
|
||||||
|
<Y> 786 </Y>
|
||||||
|
<Filename> Var( DirImage + "/img_popup15.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 460 </X>
|
||||||
|
<Y> 980 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Size> 35 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> Seeker.TNumberTaobinCredit </Value>
|
||||||
|
<Format> Telnum-mask-1 </Format>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1215 </Y>
|
||||||
|
<Size> 144 </Size>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Font> KanitRegularTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<Value> CoffeeCreditKeep </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 0 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
<EventMachine>
|
||||||
|
If MachineStage = "drink-success" Then
|
||||||
|
Var MachineState_Result = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If MachineStage = "drink-failed" Then
|
||||||
|
Var MachineState_Result = 2
|
||||||
|
EndIf
|
||||||
|
</EventMachine>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
523
spiral/xml/page_spiral_select.xml
Normal file
|
|
@ -0,0 +1,523 @@
|
||||||
|
<Popup>
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOpen>
|
||||||
|
Var y_topping_bg = 912
|
||||||
|
|
||||||
|
WEB "DISABLE"
|
||||||
|
; Var DrinkDescriptionTH = $01-00-00-0001.description
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR video_menu_0
|
||||||
|
|
||||||
|
Var DisableUsingCode = "false"
|
||||||
|
Var ShowLidStraw = "Invisible"
|
||||||
|
Var ShowLidOnly = "Invisible"
|
||||||
|
Var ShowCollagenOnly = "Invisible"
|
||||||
|
|
||||||
|
; On open
|
||||||
|
Var lidAndStrawOldPageIgnore = "true"
|
||||||
|
Var SugarState1 = "Invisible"
|
||||||
|
Var SugarState2 = "Invisible"
|
||||||
|
Var SugarState3 = "Invisible"
|
||||||
|
Var SugarState4 = "Invisible"
|
||||||
|
Var SugarState5 = "Invisible"
|
||||||
|
|
||||||
|
Var AddShotEnable = "Invisible"
|
||||||
|
|
||||||
|
Var BGSugar = "Invisible"
|
||||||
|
Var ShotCoffeeBG = "Invisible"
|
||||||
|
Var showShotEnable = "Invisible"
|
||||||
|
Var ShotCoffeePremium = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
|
Var StarwState = "Enable"
|
||||||
|
|
||||||
|
; On open
|
||||||
|
Var LidState = Lid1Status
|
||||||
|
|
||||||
|
;SAVELOG PreviseXMLFileName2
|
||||||
|
|
||||||
|
|
||||||
|
Var topping1 = "1"
|
||||||
|
Var topping2 = "31"
|
||||||
|
Var topping3 = "31"
|
||||||
|
|
||||||
|
|
||||||
|
Var BugFlag = 0
|
||||||
|
|
||||||
|
If show_eng = "true" Then
|
||||||
|
|
||||||
|
Var SpiralSelectdetail = SpiralSelectdetail1E
|
||||||
|
Var SpiralSelectheader = SpiralSelectheader2E
|
||||||
|
Var SpiralSelectdetail = SpiralSelectdetail2E
|
||||||
|
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/topping_en"
|
||||||
|
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||||
|
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||||
|
Var showname = NameDrink
|
||||||
|
Var showdesc = DrinkDescription
|
||||||
|
Var ShowHeadSpiralSelect = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_en.png"
|
||||||
|
Var ShowHeadSpiralCash = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_choose_money_en.png"
|
||||||
|
|
||||||
|
Var lid_straw_bg_iamge = DirImage + "/block_strawonly.png"
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var SpiralSelectdetail = SpiralSelectdetail1
|
||||||
|
Var SpiralSelectheader = SpiralSelectheader2
|
||||||
|
Var SpiralSelectdetail = SpiralSelectdetail2
|
||||||
|
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/topping"
|
||||||
|
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||||
|
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||||
|
Var showname = NameDrinkTH
|
||||||
|
Var showdesc = DrinkDescriptionTH
|
||||||
|
Var ShowHeadSpiralSelect = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail.png"
|
||||||
|
Var ShowHeadSpiralCash = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_choose_money.png
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
; Move to catalog.
|
||||||
|
;Machine DoorClose
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var backGroundAddExtra = DirImage + "/img_ontop_shot.png"
|
||||||
|
Var backGroundAddExtra2 = DirImage + "/img_ontop_shot2.png"
|
||||||
|
|
||||||
|
CRLFToSpace showname
|
||||||
|
CRLFToSpace showdesc
|
||||||
|
|
||||||
|
;- Begin
|
||||||
|
Var PriceDrinkNoTop = PriceDrink
|
||||||
|
Var PriceDrinkTmp = PriceDrink
|
||||||
|
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
SAVELOG PriceDrinkTmp
|
||||||
|
;- End
|
||||||
|
|
||||||
|
If RoadShow = "true" Then
|
||||||
|
Var PriceDrinkTmp = "Free"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ShowPrice = "Invisible" Then
|
||||||
|
Var PriceDrinkTmpShow = "Free"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
STRCONTAIN "ID=1058" MaterialAvailable sugarKeto
|
||||||
|
DEBUGVAR sugarKeto
|
||||||
|
If sugarKeto = "true" Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_topping_select2.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var ToppingGotoPayment = "true"
|
||||||
|
|
||||||
|
Var ButtonNext = "false"
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 2000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
DEBUGVAR Timeout
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
|
If Timeout > 20 Then
|
||||||
|
Var Timeout = 0
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;; back
|
||||||
|
;<Button>
|
||||||
|
;<X> 19 </X>
|
||||||
|
;<Y> 420 </Y>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </Filename>
|
||||||
|
;<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||||
|
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
;<Volume> SoundVolume </Volume>
|
||||||
|
;<EventClick>
|
||||||
|
; ;Open PreviseXMLFileName2
|
||||||
|
; ;DEBUGVAR OpenFromXML
|
||||||
|
; ;Open OpenFromXML
|
||||||
|
; Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
|
||||||
|
;</EventClick>
|
||||||
|
;</Button>
|
||||||
|
|
||||||
|
<EventCart>
|
||||||
|
;Var BugFlag = 1
|
||||||
|
If CartUpdate = "true" Then
|
||||||
|
Var CartUpdate = "-"
|
||||||
|
If CART_COUNT = 3 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||||
|
Else
|
||||||
|
If ButtonNext = "true" Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventCart>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 864 </Height>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 555 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 437 </Height>
|
||||||
|
<Filename> SpiralProduct </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 143 </X>
|
||||||
|
<Y> 360 </Y>
|
||||||
|
<Filename> ShowHeadSpiralSelect </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 982 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 65 </Size>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBrown2 </Color>
|
||||||
|
<Value> showname </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1058 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 40 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> ColorBrown </Color>
|
||||||
|
<Value> showdesc </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 85 </X>
|
||||||
|
<Y> 1232 </Y>
|
||||||
|
<Width> 956 </Width>
|
||||||
|
<Height> 405 </Height>
|
||||||
|
<Filename> Spiraldetail </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1127 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 80 </Size>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorOrange </Color>
|
||||||
|
<Value> PriceDrinkTmpShow </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
; back
|
||||||
|
<Button>
|
||||||
|
<X> 44 </X>
|
||||||
|
<Y> 1785 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bp_cancel.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bn_cancel.png" )</FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
;; add backet
|
||||||
|
;<Button>
|
||||||
|
;<X> 285 </X>
|
||||||
|
;<Y> 1785 </Y>
|
||||||
|
;<State> BBasketState </State>
|
||||||
|
;<Filename> Var( DirImage + "/bn_add.png" ) </Filename>
|
||||||
|
;<FilenamePress> Var( DirImage + "/bp_add.png" )</FilenamePress>
|
||||||
|
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
;<Volume> SoundVolume </Volume>
|
||||||
|
;<EventClick>
|
||||||
|
;
|
||||||
|
; Var PriceDrink = PriceDrinkTmp
|
||||||
|
; SAVELOG "USER press next ( topping ) - new"
|
||||||
|
; DEBUGVAR topping1
|
||||||
|
; DEBUGVAR topping2
|
||||||
|
; DEBUGVAR topping3
|
||||||
|
;
|
||||||
|
; DEBUGVAR LidState
|
||||||
|
; DEBUGVAR StarwState
|
||||||
|
; DEBUGVAR UserSelectProductCode
|
||||||
|
; DEBUGVAR HAVE_UV_DOOR_LID
|
||||||
|
;
|
||||||
|
; If HAVE_UV_DOOR_LID = "true" Then
|
||||||
|
;
|
||||||
|
; If StarwState = "Press" Then
|
||||||
|
; Machine StrawOrder
|
||||||
|
; Var LedLidBlink = "true"
|
||||||
|
; EndIf
|
||||||
|
;
|
||||||
|
; If LidState = "Press" Then
|
||||||
|
; Machine LidOrder
|
||||||
|
; Var LedLidBlink = "true"
|
||||||
|
; EndIf
|
||||||
|
;
|
||||||
|
; Var StarwState = "Enable"
|
||||||
|
; Var LidState = "Enable"
|
||||||
|
; ;
|
||||||
|
;
|
||||||
|
; EndIf
|
||||||
|
;
|
||||||
|
; Var SelectDrink = UserSelectProductCode
|
||||||
|
; ; Set drink
|
||||||
|
; Topping "Select" UserSelectProductCode
|
||||||
|
;
|
||||||
|
; ; Set option toppinng and pack
|
||||||
|
; Topping "Select1-ID" topping1
|
||||||
|
; Topping "Select2-ID" topping2
|
||||||
|
; Topping "Select3-ID" topping3
|
||||||
|
;
|
||||||
|
; ; Pack
|
||||||
|
; Topping "Pack" ExtendData
|
||||||
|
;
|
||||||
|
; If CART1_STATUS = "EMPTY" Then
|
||||||
|
; Cart "AddMenuID" 1
|
||||||
|
; Else
|
||||||
|
; If CART2_STATUS = "EMPTY" Then
|
||||||
|
; Cart "AddMenuID" 2
|
||||||
|
; Else
|
||||||
|
; If CART3_STATUS = "EMPTY" Then
|
||||||
|
; Cart "AddMenuID" 3
|
||||||
|
; EndIf
|
||||||
|
; EndIf
|
||||||
|
; EndIf
|
||||||
|
;
|
||||||
|
; Var CartUpdate = "true"
|
||||||
|
;
|
||||||
|
;</EventClick>
|
||||||
|
;</Button>
|
||||||
|
|
||||||
|
; next
|
||||||
|
<Button>
|
||||||
|
<X> 673 </X>
|
||||||
|
<Y> 1785 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_next.png" )</Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_next.png" )</FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
If CART_COUNT = 0 Then
|
||||||
|
|
||||||
|
Var PriceDrink = PriceDrinkTmp
|
||||||
|
SAVELOG "USER press next ( topping )"
|
||||||
|
DEBUGVAR topping1
|
||||||
|
DEBUGVAR topping2
|
||||||
|
DEBUGVAR topping3
|
||||||
|
|
||||||
|
DEBUGVAR LidState
|
||||||
|
DEBUGVAR StarwState
|
||||||
|
DEBUGVAR HAVE_UV_DOOR_LID
|
||||||
|
|
||||||
|
If HAVE_UV_DOOR_LID = "true" Then
|
||||||
|
|
||||||
|
If StarwState = "Press" Then
|
||||||
|
Machine StrawOrder
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LidState = "Press" Then
|
||||||
|
Machine LidOrder
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var StarwState = "Enable"
|
||||||
|
Var LidState = "Enable"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
; Set drink
|
||||||
|
Topping "Select" SelectDrink
|
||||||
|
|
||||||
|
; Set option toppinng and pack
|
||||||
|
Topping "Select1-ID" topping1
|
||||||
|
Topping "Select2-ID" topping2
|
||||||
|
Topping "Select3-ID" topping3
|
||||||
|
|
||||||
|
; Pack
|
||||||
|
Topping "Pack" ExtendData
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment.xml"
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var PriceDrink = PriceDrinkTmp
|
||||||
|
SAVELOG "USER press next ( topping ) - new"
|
||||||
|
DEBUGVAR topping1
|
||||||
|
DEBUGVAR topping2
|
||||||
|
DEBUGVAR topping3
|
||||||
|
|
||||||
|
DEBUGVAR LidState
|
||||||
|
DEBUGVAR StarwState
|
||||||
|
DEBUGVAR UserSelectProductCode
|
||||||
|
DEBUGVAR HAVE_UV_DOOR_LID
|
||||||
|
|
||||||
|
If HAVE_UV_DOOR_LID = "true" Then
|
||||||
|
|
||||||
|
If StarwState = "Press" Then
|
||||||
|
Machine StrawOrder
|
||||||
|
Var LedLidBlink = "true"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LidState = "Press" Then
|
||||||
|
Machine LidOrder
|
||||||
|
Var LedLidBlink = "true"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var StarwState = "Enable"
|
||||||
|
Var LidState = "Enable"
|
||||||
|
;
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var SelectDrink = UserSelectProductCode
|
||||||
|
; Set drink
|
||||||
|
Topping "Select" UserSelectProductCode
|
||||||
|
|
||||||
|
; Set option toppinng and pack
|
||||||
|
Topping "Select1-ID" topping1
|
||||||
|
Topping "Select2-ID" topping2
|
||||||
|
Topping "Select3-ID" topping3
|
||||||
|
|
||||||
|
; Pack
|
||||||
|
Topping "Pack" ExtendData
|
||||||
|
|
||||||
|
If CART1_STATUS = "EMPTY" Then
|
||||||
|
Cart "AddMenuID" 1
|
||||||
|
Else
|
||||||
|
If CART2_STATUS = "EMPTY" Then
|
||||||
|
Cart "AddMenuID" 2
|
||||||
|
Else
|
||||||
|
If CART3_STATUS = "EMPTY" Then
|
||||||
|
Cart "AddMenuID" 3
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var CartUpdate = "true"
|
||||||
|
Var ButtonNext = "true"
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> 1302 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> ColorBrown2 </Color>
|
||||||
|
<Value> SpiralSelectdetail </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> 1490 </Y>
|
||||||
|
<Size> 27 </Size>
|
||||||
|
<Font> KanitBoldTTF </Font>
|
||||||
|
<Color> ColorBrown2 </Color>
|
||||||
|
<Value> SpiralSelectheader </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> 1535 </Y>
|
||||||
|
<Size> 27 </Size>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Color> ColorBrown2 </Color>
|
||||||
|
<Value> SpiralSelectdetail </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 924 </X>
|
||||||
|
<Y> 1804 </Y>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Size> 36 </Size>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
<Animation>
|
||||||
|
<Style> "shake-text" </Style>
|
||||||
|
<OnEvent> "OnValueChange" </OnEvent>
|
||||||
|
</Animation>
|
||||||
|
<Value> PriceDrinkTmpShow </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 1000 </X>
|
||||||
|
<Y> 415 </Y>
|
||||||
|
<Filename> show_btn </Filename>
|
||||||
|
<FilenamePress> show_btp </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
; eng
|
||||||
|
If show_eng = "true" Then
|
||||||
|
Var show_eng = "false"
|
||||||
|
Else
|
||||||
|
Var show_eng = "true"
|
||||||
|
EndIf
|
||||||
|
Open CurrentXMLFileName2
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventSecurity>
|
||||||
|
Open "/media/bt/xml/security_alarm.xml"
|
||||||
|
</EventSecurity>
|
||||||
|
|
||||||
|
|
||||||
|
</Page>
|
||||||
757
spiral/xml/page_spiral_thankyou.xml
Normal file
|
|
@ -0,0 +1,757 @@
|
||||||
|
<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 PayFlagCoinQR = 0
|
||||||
|
Var SetFlagCoinQR = 0
|
||||||
|
Var SetFlagCoinQRTimer = 999999
|
||||||
|
Var waitAckPay = 0
|
||||||
|
Var Timeout = 0
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
If TelephoneNumber = "" Then
|
||||||
|
Var TelephoneNumber = "0899999999"
|
||||||
|
EndIf
|
||||||
|
Var Donate = ""
|
||||||
|
Var SuggestID = "CRM00A00P000"
|
||||||
|
Var SessionID3 = "locker4/"
|
||||||
|
Var SessionID4 = ""
|
||||||
|
Var VendingCampaign = IntVendingCampaign
|
||||||
|
|
||||||
|
Var PayType = ""
|
||||||
|
|
||||||
|
Var PayOk = 0
|
||||||
|
Var ChangeFlag = 0
|
||||||
|
|
||||||
|
Var CheckAckCode = 0
|
||||||
|
Var CheckAckCodeTimer = 9999999
|
||||||
|
Var ChangeTimeout = 9999999
|
||||||
|
|
||||||
|
If Seeker.TNumberTaobinCredit = "" Then
|
||||||
|
Var TelephoneNumber = "0899999999"
|
||||||
|
Var PayO2 = ""
|
||||||
|
If Seeker.TNumberTaobinMember = "" Then
|
||||||
|
Else
|
||||||
|
Var TelephoneNumber = Seeker.TNumberTaobinMember
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var TelephoneNumber = Seeker.TNumberTaobinCredit
|
||||||
|
Var PayO2 = Seeker.CoffeePinNumber
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var CreditReference = ""
|
||||||
|
Var CreditReference = Seeker.CreditReferenceTmp
|
||||||
|
Var VendingDiscount = Seeker.VendingDiscount
|
||||||
|
Var VendingCampaign = Seeker.VendingCampaign
|
||||||
|
|
||||||
|
;SendSpiralResult = spiral-success , spiral-failed , spiral-valid , spiral-invalid
|
||||||
|
SPIRAL_SELL ServiceCredit SpiralRef
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
DEBUGVAR LastMakeSpiralResult
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
Var ChangeTimeout = ChangeTimeout - 1
|
||||||
|
Var CheckAckCodeTimer = CheckAckCodeTimer - 1
|
||||||
|
Var SetFlagCoinQRTimer = SetFlagCoinQRTimer - 1
|
||||||
|
|
||||||
|
If Timeout = 3 Then
|
||||||
|
If Seeker.PayWithQR = 0 Then
|
||||||
|
If Seeker.FreeVendingCampaign = 0 Then
|
||||||
|
If Seeker.IntVendingCampaign <= PayAmount Then
|
||||||
|
Var SumCoinAmount = CoinAmount + Seeker.IntVendingCampaign
|
||||||
|
Var SumCoinAmount = SumCoinAmount + Seeker.IntVendingCredit
|
||||||
|
|
||||||
|
If SumCoinAmount >= PayAmount Then
|
||||||
|
Var Canout = SumCoinAmount - PayAmount
|
||||||
|
If Canout > 0 Then
|
||||||
|
;Var GotoStoreCredit0 = 1
|
||||||
|
Var StoreCreditAmount = Canout
|
||||||
|
If SpiralKeepCredit = 0 Then
|
||||||
|
Change StoreCreditAmount
|
||||||
|
EndIf
|
||||||
|
Var ChangeOK = 1
|
||||||
|
Var ChangeTimeout = 120
|
||||||
|
If SpiralKeepCredit = 1 Then
|
||||||
|
Var ChangeOK = 3
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var ChangeOK = 2
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
Var Canout = CoinAmount
|
||||||
|
If Canout > 0 Then
|
||||||
|
Var GotoStoreCredit0 = 1
|
||||||
|
Var StoreCreditAmount = Canout
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var ChangeOK = 2
|
||||||
|
Var VendingTSIDTmp = Seeker.VendingTSID
|
||||||
|
|
||||||
|
If Seeker.TNumberTaobinCredit = "" Then
|
||||||
|
Var TelephoneNumber = "0899999999"
|
||||||
|
Var PayO2 = ""
|
||||||
|
Else
|
||||||
|
Var TelephoneNumber = Seeker.TNumberTaobinCredit
|
||||||
|
Var PayO2 = Seeker.CoffeePinNumber
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ChangeFlag2 = 1 Then
|
||||||
|
Var Canout = CoinAmount
|
||||||
|
If Canout > 0 Then
|
||||||
|
Var GotoStoreCredit0 = 1
|
||||||
|
Var StoreCreditAmount = Canout
|
||||||
|
Var SetFlagCoinQR = 1
|
||||||
|
Var SetFlagCoinQRTimer = 30
|
||||||
|
Change StoreCreditAmount
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;Var TelephoneNumber = "0899999999"
|
||||||
|
;Var PayO2 = ""
|
||||||
|
;Var VendingDiscount = 0
|
||||||
|
;Var VendingCampaign = 0
|
||||||
|
;Var CreditReference = ""
|
||||||
|
;Var ServiceType = "credit"
|
||||||
|
;Var SessionID2 = SelectDrink
|
||||||
|
;Var ServiceCredit = "locker"
|
||||||
|
;Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||||
|
Else
|
||||||
|
If Seeker.StoreCreditFlag = 1 Then
|
||||||
|
Var VendingDiscount = 0
|
||||||
|
Var VendingCampaign = 0
|
||||||
|
Var CreditReference = ""
|
||||||
|
Var ServiceType = "credit"
|
||||||
|
Var SessionID2 = SelectDrink
|
||||||
|
Var ServiceCredit = "locker"
|
||||||
|
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ChangeTimeout < 1 Then
|
||||||
|
If ChangeOK = 1 Then
|
||||||
|
Var ChangeOK = 2
|
||||||
|
Var ChangeTimeout = 60
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
If ChangeTimeout < 1 Then
|
||||||
|
If ChangeFlag2 = 1 Then
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Var ChangeFlag2 = 2
|
||||||
|
Var ChangeTimeout = 60
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
If SetFlagCoinQRTimer < 1 Then
|
||||||
|
If PayFlagCoinQR = 0 Then
|
||||||
|
Var SetFlagCoinQR = 2
|
||||||
|
Var SetFlagCoinQRTimer = 99999
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SetFlagCoinQR = 2 Then
|
||||||
|
DEBUGVAR "tube2"
|
||||||
|
Var SetFlagCoinQR = 3
|
||||||
|
Var TelephoneNumber = "0899999999"
|
||||||
|
Var PayO2 = ""
|
||||||
|
Var VendingDiscount = 0
|
||||||
|
Var VendingCampaign = 0
|
||||||
|
Var CreditReference = ""
|
||||||
|
Var ServiceType = "credit"
|
||||||
|
Var SessionID2 = SelectDrink
|
||||||
|
Var ServiceCredit = "locker"
|
||||||
|
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LastMakeSpiralResult = 1 Then
|
||||||
|
If ChangeOK = 2 Then
|
||||||
|
If PayOk = 0 Then
|
||||||
|
Var SessionID4 = MachineSpiralID
|
||||||
|
Var SessionID4 = SessionID4 + ":"
|
||||||
|
Var SessionID4 = SessionID4 + MachineSpiralSlotID
|
||||||
|
|
||||||
|
Var SessionID3 = SessionID3 + MachineSpiralID
|
||||||
|
Var SessionID3 = SessionID3 + "/"
|
||||||
|
Var SessionID3 = SessionID3 + MachineSpiralSlotID
|
||||||
|
|
||||||
|
If SpiralCodeOk = 1 Then
|
||||||
|
Var SessionID3 = SessionID3 + "/"
|
||||||
|
Var SessionID3 = SessionID3 + Seeker.VendingCode
|
||||||
|
Var SessionID3 = SessionID3 + "/"
|
||||||
|
Var SessionID3 = SessionID3 + Seeker.CodeNumber
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var PayOk = 1
|
||||||
|
Var PayDetail="1/S:0/"
|
||||||
|
Var PayDetail = PayDetail + SessionID4
|
||||||
|
|
||||||
|
If Seeker.PayWithQR = 1 Then
|
||||||
|
If waitAckPay = 0 Then
|
||||||
|
Var waitAckPay = 1
|
||||||
|
Var SVT = "locker"
|
||||||
|
Var ACC = "0899999999"
|
||||||
|
Var DEE = PayDetail
|
||||||
|
|
||||||
|
If Seeker.TNumberTaobinCredit = "" Then
|
||||||
|
Else
|
||||||
|
Var ACC = Seeker.TNumberTaobinCredit
|
||||||
|
EndIf
|
||||||
|
PAYEXT SVT ACC VendingTSIDTmp DEE
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou2.xml"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID3 PriceDrink ServiceCharge Donate
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou2.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
If LastMakeSpiralResult = 1 Then
|
||||||
|
If ChangeOK = 3 Then
|
||||||
|
If PayOk = 0 Then
|
||||||
|
Var SessionID4 = MachineSpiralID
|
||||||
|
Var SessionID4 = SessionID4 + ":"
|
||||||
|
Var SessionID4 = SessionID4 + MachineSpiralSlotID
|
||||||
|
|
||||||
|
Var SessionID3 = SessionID3 + MachineSpiralID
|
||||||
|
Var SessionID3 = SessionID3 + "/"
|
||||||
|
Var SessionID3 = SessionID3 + MachineSpiralSlotID
|
||||||
|
|
||||||
|
If SpiralCodeOk = 1 Then
|
||||||
|
Var SessionID3 = SessionID3 + "/"
|
||||||
|
Var SessionID3 = SessionID3 + Seeker.VendingCode
|
||||||
|
Var SessionID3 = SessionID3 + "/"
|
||||||
|
Var SessionID3 = SessionID3 + Seeker.CodeNumber
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var PayOk = 1
|
||||||
|
Var PayDetail="1/S:0/"
|
||||||
|
Var PayDetail = PayDetail + SessionID4
|
||||||
|
|
||||||
|
If Seeker.PayWithQR = 1 Then
|
||||||
|
If waitAckPay = 0 Then
|
||||||
|
Var waitAckPay = 1
|
||||||
|
Var SVT = "locker"
|
||||||
|
Var ACC = "0899999999"
|
||||||
|
Var DEE = PayDetail
|
||||||
|
|
||||||
|
If Seeker.TNumberTaobinCredit = "" Then
|
||||||
|
Else
|
||||||
|
Var ACC = Seeker.TNumberTaobinCredit
|
||||||
|
EndIf
|
||||||
|
PAYEXT SVT ACC VendingTSIDTmp DEE
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou2.xml"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID3 PriceDrink ServiceCharge Donate
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou2.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SpiralCodeOk = 1 Then
|
||||||
|
If CheckAckCode = 1 Then
|
||||||
|
If CheckAckCodeTimer < 1 Then
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + ExtendData
|
||||||
|
DEBUGVAR SessionID2
|
||||||
|
|
||||||
|
DEBUGVAR SessionID2
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = "locker5/"
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SelectDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.VendingCode
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + "C:"
|
||||||
|
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
|
||||||
|
Var SpiralCodeOk = 2
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_fail2.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LastMakeSpiralResult = 2 Then
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_fail.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;If LastMakeSpiralResult = 2 Then
|
||||||
|
; If ChangeOK = 3 Then
|
||||||
|
; If PayOk = 0 Then
|
||||||
|
; Var PayOk = 1
|
||||||
|
; Var SessionID4 = MachineSpiralID
|
||||||
|
; Var SessionID4 = SessionID4 + ":"
|
||||||
|
; Var SessionID4 = SessionID4 + MachineSpiralSlotID
|
||||||
|
;
|
||||||
|
; Var SessionID3 = SessionID3 + MachineSpiralID
|
||||||
|
; Var SessionID3 = SessionID3 + "/"
|
||||||
|
; Var SessionID3 = SessionID3 + MachineSpiralSlotID
|
||||||
|
;
|
||||||
|
; If SpiralCodeOk = 1 Then
|
||||||
|
; Var SessionID3 = SessionID3 + "/"
|
||||||
|
; Var SessionID3 = SessionID3 + Seeker.VendingCode
|
||||||
|
; Var SessionID3 = SessionID3 + "/"
|
||||||
|
; Var SessionID3 = SessionID3 + Seeker.CodeNumber
|
||||||
|
; EndIf
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; ;Var PayDetail="1/F:1221/0/"
|
||||||
|
; Var PayDetail="1/F:"
|
||||||
|
; Var PayDetail = PayDetail + MachineSpiralErrorCode
|
||||||
|
; Var PayDetail = PayDetail + "/"
|
||||||
|
; Var PayDetail = PayDetail + SessionID4
|
||||||
|
;
|
||||||
|
; If Seeker.PayWithQR = 1 Then
|
||||||
|
; If waitAckPay = 0 Then
|
||||||
|
; Var waitAckPay = 1
|
||||||
|
; Var SVT = "locker"
|
||||||
|
; Var ACC = "0899999999"
|
||||||
|
; Var DEE = PayDetail
|
||||||
|
;
|
||||||
|
; If Seeker.TNumberTaobinCredit = "" Then
|
||||||
|
; Else
|
||||||
|
; Var ACC = Seeker.TNumberTaobinCredit
|
||||||
|
; EndIf
|
||||||
|
; PAYEXT SVT ACC VendingTSIDTmp DEE
|
||||||
|
; If SpiralCodeOk = 1 Then
|
||||||
|
; Var CheckAckCode = 1
|
||||||
|
; Var CheckAckCodeTimer = 10
|
||||||
|
; Else
|
||||||
|
; Open "ROOT/taobin_project/spiral/xml/page_spiral_fail.xml"
|
||||||
|
; EndIf
|
||||||
|
; EndIf
|
||||||
|
; Else
|
||||||
|
; Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID3 PriceDrink ServiceCharge Donate
|
||||||
|
; If SpiralCodeOk = 1 Then
|
||||||
|
; Var CheckAckCode = 1
|
||||||
|
; Var CheckAckCodeTimer = 10
|
||||||
|
; Else
|
||||||
|
; Open "ROOT/taobin_project/spiral/xml/page_spiral_fail.xml"
|
||||||
|
; EndIf
|
||||||
|
; EndIf
|
||||||
|
; EndIf
|
||||||
|
; EndIf
|
||||||
|
;EndIf
|
||||||
|
|
||||||
|
If Timeout > 210 Then
|
||||||
|
Var LastMakeSpiralResult = 2
|
||||||
|
SAVELOG "Spiral Timeout 210 sec"
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_fail.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;If LastMakeSpiralResult = 2 Then
|
||||||
|
; If Seeker.PayWithQR = 0 Then
|
||||||
|
; If Seeker.CodeChannel = 0 Then
|
||||||
|
; If ChangeFlag = 0 Then
|
||||||
|
; Var ChangeFlag = 1
|
||||||
|
; If Seeker.StoreCreditFlag = 1 Then
|
||||||
|
; Var ChangeOK = 3
|
||||||
|
; Else
|
||||||
|
; Change ServiceAmount2
|
||||||
|
; Var ChangeTimeout = 50
|
||||||
|
; Var ChangeFlag2 = 1
|
||||||
|
; EndIf
|
||||||
|
; EndIf
|
||||||
|
; Else
|
||||||
|
; If CoinAmount > 0 Then
|
||||||
|
; If ChangeFlag = 0 Then
|
||||||
|
; Var ChangeFlag = 1
|
||||||
|
; Var ServiceAmount3 = ServiceAmount2 - Seeker.IntVendingCampaign
|
||||||
|
; If Seeker.StoreCreditFlag = 1 Then
|
||||||
|
; Var ChangeOK = 2
|
||||||
|
; Else
|
||||||
|
; Change ServiceAmount3
|
||||||
|
; Var ChangeFlag2 = 1
|
||||||
|
; Var ChangeTimeout = 50
|
||||||
|
; EndIf
|
||||||
|
; EndIf
|
||||||
|
; Else
|
||||||
|
; Var ChangeOK = 2
|
||||||
|
; EndIf
|
||||||
|
; EndIf
|
||||||
|
; Else
|
||||||
|
; Var ChangeOK = 3
|
||||||
|
; EndIf
|
||||||
|
;EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventChangeStatus>
|
||||||
|
If SetFlagCoinQR = 1 Then
|
||||||
|
If ChangeStatus = "payout-end" Then
|
||||||
|
Var SetFlagCoinQR = 2
|
||||||
|
Var PayFlagCoinQR = 1
|
||||||
|
DEBUGVAR "tube1"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
If ChangeOK = 2 Then
|
||||||
|
If ChangeStatus = "payout-end" Then
|
||||||
|
Var ChangeOK = 3
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
If ChangeOK = 1 Then
|
||||||
|
If ChangeStatus = "payout-end" Then
|
||||||
|
Var ChangeOK = 2
|
||||||
|
Var ChangeTimeout = 999
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventChangeStatus>
|
||||||
|
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 700 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 840 </Height>
|
||||||
|
<Refresh> "Reload" </Refresh>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> "ROOT/taobin_project/spiral/video/sp01.mp4" </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
|
||||||
|
If SpiralCodeOk = 1 Then
|
||||||
|
If CheckAckCode = 1 Then
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + ExtendData
|
||||||
|
DEBUGVAR SessionID2
|
||||||
|
|
||||||
|
DEBUGVAR SessionID2
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber = "0899999999"
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = "locker5/"
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SelectDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.VendingCode
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + "C:"
|
||||||
|
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumber ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
|
||||||
|
Var SpiralCodeOk = 2
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_fail2.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
;<Image>
|
||||||
|
;<X> 89 </X>
|
||||||
|
;<Y> 700 </Y>
|
||||||
|
;<Width> 902 </Width>
|
||||||
|
;<Height> 902 </Height>
|
||||||
|
;<Filename> "ROOT/taobin_project/spiral/image/page_spiral/thankyou.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1121 </Y>
|
||||||
|
;<Width>150</Width>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Timeout </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1181 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> ChangeTimeout </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 650 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> LastMakeSpiralResult </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1250 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "SetFlagCoinQRTimer" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1250 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> SetFlagCoinQRTimer </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1350 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "PayOk" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1350 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> PayOk </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1400 </Y>
|
||||||
|
;<Size> 40 </Size
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "ChangeOK" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1400 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> ChangeOK </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1450 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "Seeker.StoreCreditFlag" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1450 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Seeker.StoreCreditFlag </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1500 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "ChangeFlag2" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1500 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> ChangeFlag2 </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1550 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "Seeker.PayWithQR" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1550 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Seeker.PayWithQR </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1600 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "Seeker.CodeChannel" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1600 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Seeker.CodeChannel </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1650 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "ChangeFlag" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1650 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> ChangeFlag </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1700 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "Canout" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1700 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Canout </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1750 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "SpiralCodeOk" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1750 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> SpiralCodeOk </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 292 </X>
|
||||||
|
;<Y> 1800 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> "CheckAckCodeTimer" </Value>
|
||||||
|
;</Text>
|
||||||
|
;
|
||||||
|
;<Text>
|
||||||
|
;<X> 92 </X>
|
||||||
|
;<Y> 1800 </Y>
|
||||||
|
;<Size> 40 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> CheckAckCodeTimer </Value>
|
||||||
|
;</Text>
|
||||||
|
|
||||||
|
</Popup>
|
||||||
41
spiral/xml/page_spiral_thankyou2.xml
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
<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 >= 12 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
EndIf
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 700 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 840 </Height>
|
||||||
|
<Refresh> "Reload" </Refresh>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> "ROOT/taobin_project/spiral/video/sp02.mp4" </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
90
spiral/xml/page_spiral_thankyou_qr.xml
Normal file
|
|
@ -0,0 +1,90 @@
|
||||||
|
<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 waitAckPay = 0
|
||||||
|
Var Timeout = 0
|
||||||
|
Var ServiceType = "locker"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
If TelephoneNumber = "" Then
|
||||||
|
Var TelephoneNumber = "0899999999"
|
||||||
|
EndIf
|
||||||
|
Var Donate = ""
|
||||||
|
Var SuggestID = "CRM00A00P000"
|
||||||
|
Var SessionID3 = "locker4/"
|
||||||
|
Var SessionID4 = ""
|
||||||
|
Var VendingCampaign = IntVendingCampaign
|
||||||
|
Var CreditReference = Seeker.CreditReferenceT
|
||||||
|
Var PayType = ""
|
||||||
|
|
||||||
|
Var PayOk = 0
|
||||||
|
Var ChangeFlag = 0
|
||||||
|
|
||||||
|
Var ChangeTimeout = 0
|
||||||
|
|
||||||
|
Var GotoStoreCredit0 = 0
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
If Timeout = 3 Then
|
||||||
|
|
||||||
|
Var Canout = CoinAmount
|
||||||
|
If Canout > 0 Then
|
||||||
|
Var GotoStoreCredit0 = 1
|
||||||
|
Var StoreCreditAmount = Canout
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If GotoStoreCredit0 = 1 Then
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_payment_storeCredit0.xml"
|
||||||
|
Else
|
||||||
|
Var ChangeOK = 3
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
|
||||||
|
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 89 </X>
|
||||||
|
<Y> 700 </Y>
|
||||||
|
<Width> 902 </Width>
|
||||||
|
<Height> 902 </Height>
|
||||||
|
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/thankyou.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 380 </Height>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> video_menu_0 </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
;<Text>
|
||||||
|
;<X> 492 </X>
|
||||||
|
;<Y> 1121 </Y>
|
||||||
|
;<Width>150</Width>
|
||||||
|
;<Size> 60 </Size>
|
||||||
|
;<Font> KanitTTF </Font>
|
||||||
|
;<Color> 0xB78F24 </Color>
|
||||||
|
;<Value> Timeout </Value>
|
||||||
|
;</Text>
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||