add promo 1-1
This commit is contained in:
parent
296021ae1f
commit
417a7e429e
5 changed files with 152 additions and 0 deletions
BIN
image/display_get_free/img_popup6.png
Normal file
BIN
image/display_get_free/img_popup6.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 120 KiB |
BIN
image/display_get_free/img_popup6F.png
Normal file
BIN
image/display_get_free/img_popup6F.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 123 KiB |
BIN
image/display_get_free_en/img_popup6.png
Normal file
BIN
image/display_get_free_en/img_popup6.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 119 KiB |
BIN
image/display_get_free_en/img_popup6F.png
Normal file
BIN
image/display_get_free_en/img_popup6F.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 125 KiB |
152
xml/page_display_Promo1Get1Free.xml
Normal file
152
xml/page_display_Promo1Get1Free.xml
Normal file
|
|
@ -0,0 +1,152 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/display_get_free_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/display_get_free"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
EndIf
|
||||
|
||||
Var promoTxt = "" + PromotionIDCurrentOrder
|
||||
Var promoTxt = promoTxt + "/1"
|
||||
|
||||
;AddData 27 Seeker.TNumberTaobinMember promoTxt "" ""
|
||||
Var Cid = 27
|
||||
Var PointCrm = ""
|
||||
Var GetScore = "1"
|
||||
AddData Cid Seeker.TNumberTaobinMember promoTxt PointCrm GetScore
|
||||
|
||||
Var img_popup6 = "/img_popup6.png"
|
||||
If Seeker.TaobinErrorNetwork = 1 Then
|
||||
Var img_popup6 = "/img_popup6F.png"
|
||||
EndIf
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var CountDownBrewing = BREW_CNT
|
||||
|
||||
Var ShowCountDownBrewing = CountDownBrewing
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 5 Then
|
||||
; goto lid straw
|
||||
|
||||
;Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
;
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
If MachineStage = "drink-success" Then
|
||||
Var MachineState_Result = 1
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
Var MachineState_Result = 2
|
||||
EndIf
|
||||
</EventMachine>
|
||||
|
||||
|
||||
;<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>
|
||||
|
||||
;<Image>
|
||||
;<X> 0 </X>
|
||||
;<Y> 380 </Y>
|
||||
;<Filename> "ROOT/taobin_project/image/display_get_free/alpha.png" </Filename>
|
||||
;</Image>
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 560 </Y>
|
||||
<State> "Enable" </State>
|
||||
<Filename> Var( DirImage + img_popup6 )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 751 </X>
|
||||
<Y> 413 </Y>
|
||||
<Filename> IMG_CNT </Filename>
|
||||
</Image>
|
||||
;
|
||||
<Text>
|
||||
<X> XPosiShowCountDownBrew </X>
|
||||
<Y> 470 </Y>
|
||||
<Align> End </Align>
|
||||
<Width> 153 </Width>
|
||||
<Size> 88 </Size>
|
||||
<Font> RobotoBold </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> ShowCountDownBrewing </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1680 </Y>
|
||||
<Filename> Var( DirImage + "/bn_accept.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_accept.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
;Open "ROOT/taobin_project/xml/page_display_ExclusiveGift.xml"
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
</Popup>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue