This commit is contained in:
kong 2021-11-30 13:52:43 +07:00
parent 270ee86c09
commit 1a60ddb6f8
10 changed files with 76 additions and 13 deletions

View file

@ -30,6 +30,51 @@
DEBUGVAR CART2_PRICE
DEBUGVAR CART3_PRICE
Var $next.productCode = "xx-xx-nn-next"
Var $prev.productCode = "xx-xx-nn-prev"
Var $curr.productCode = "xx-xx-nn-curr"
Var $next.productPrice = 10
Var $prev.productPrice = 20
Var $curr.productPrice = 30
DEBUGVAR $next.productCode
DEBUGVAR $prev.productCode
DEBUGVAR $curr.productCode
DEBUGVAR $next.productPrice
DEBUGVAR $prev.productPrice
DEBUGVAR $curr.productPrice
Var seeker = "next"
DEBUGVAR seeker
DEBUGVAR seeker.productCode
DEBUGVAR seeker.productPrice
Var seeker.productCode = "nn-nn-nn-setn"
DEBUGVAR seeker.productCode
DEBUGVAR seeker.productPrice
Var TelephoneNumber = seeker.productCode
Var seeker = "prev"
DEBUGVAR seeker
DEBUGVAR seeker.productCode
Var seeker.productPrice = 100
Var seeker.productCode = "-------------"
DEBUGVAR seeker.productCode
DEBUGVAR seeker.productPrice
; again
Var seeker = "next"
DEBUGVAR seeker
DEBUGVAR seeker.productCode
DEBUGVAR seeker.productPrice
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
@ -178,9 +223,23 @@
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
DEBUGVAR CART1_READY
DEBUGVAR CART2_READY
DEBUGVAR CART3_READY
Var seeker = "prev"
DEBUGVAR seeker
DEBUGVAR seeker.productCode
DEBUGVAR seeker.productPrice
TransferVar "prev" "next"
DEBUGVAR seeker
DEBUGVAR seeker.productCode
DEBUGVAR seeker.productPrice
Var seeker = "prev"
DEBUGVAR seeker
DEBUGVAR seeker.productCode
DEBUGVAR seeker.productPrice
</EventClick>
</Button>
@ -271,7 +330,6 @@
<Color> 0x513C2F </Color>
<Refresh> "Enable" </Refresh>
<Value> TelephoneNumber </Value>
<Format> Telnum-mask-1 </Format>
</Text>