taobin_project/xml/page_topping_select5.xml
2025-03-12 21:09:47 +07:00

142 lines
3.4 KiB
XML

<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
Var UserSeletedSugar = 0
Var y_topping_bg = 912
WEB "DISABLE"
DEBUGVAR Seeker
Var BGSugarNew = "Invisible"
DEBUGVAR video_menu_0
DEBUGVAR SelectDrink
DEBUGVAR PictureDrink
DEBUGVAR new_layout
If new_layout = "true" Then
Else
If SelectDrinkLen = 0 Then
SAVELOG "SelectDrinkLen=0"
Open "ROOT/taobin_project/xml/page_catalog.xml"
EndIf
If PriceDrink = 0 Then
SAVELOG "PriceDrink=0"
Open "ROOT/taobin_project/xml/page_catalog.xml"
EndIf
EndIf
Var SaveProductCodeSelect = SelectDrink
Var UserSelectProductCode = SelectDrink
Var showText4 = "Invisible"
Var showText7 = "Invisible"
DEBUGVAR UserSelectProductCode
DEBUGVAR JXMLVersionInt
Var CHECK_EventOpen_Double = 0
If RecipeTag3 = "CoffeePlay" Then
Open "ROOT/taobin_project/xml/page_topping_select8.xml"
EndIf
If RecipeTag4 = "MultiTopping" Then
EndIf
If Only20 = "true" Then
Open "ROOT/taobin_project/xml/page_topping_select7_copy.xml"
Else
If NoSugarStepRight2 = "true" Then
Open "ROOT/taobin_project/xml/page_topping_select7_copy.xml"
Else
If HalfPrice = "true" Then
Open "ROOT/taobin_project/xml/page_topping_select7_copy.xml"
EndIf
EndIf
EndIf
If FromPowerUpPro = 1 Then
If FreePowerup = "Enable" Then
Open "ROOT/taobin_project/xml/page_topping_select7.xml"
EndIf
EndIf
DEBUGVAR ToppingNewUINewSystem
If ToppingNewUINewSystem = 1 Then
Var ProductMilkCat = "12-03-03-0105,12-03-02-0005,12-03-03-0005,12-03-01-0001,12-03-02-0001,12-03-03-0001,12-03-01-0004,12-03-02-0004,12-03-03-0004,12-03-02-0006,12-03-03-0006,12-03-01-0002,12-03-02-0002,12-03-03-0002,12-03-02-0065,12-03-03-0065,12-03-02-0067,12-03-03-0067,12-01-03-0078,12-21-03-0078,12-02-03-0057,12-02-03-0058,12-01-03-0010,12-03-02-0010,12-03-03-0010,12-03-03-0011,12-03-03-0009,12-03-01-0019,12-03-02-0019,12-03-03-0019,12-03-03-0032,12-03-03-0026,12-03-02-0058,12-03-03-0058,12-03-02-0059,12-03-03-0059,12-03-03-0027,12-03-03-0094,12-03-03-0095,12-03-03-0100,12-03-03-0101,12-03-03-0102,12-03-03-0103,12-03-03-0104"
STRCONTAIN PD_CODE1 ProductMilkCat IsCatalogMilk
DEBUGVAR IsCatalogMilk
If IsCatalogMilk = "true" Then
Open "ROOT/taobin_project/xml/page_topping_select8.xml"
EndIf
STRCONTAIN PD_CODE2 ProductMilkCat IsCatalogMilk
DEBUGVAR IsCatalogMilk
If IsCatalogMilk = "true" Then
Open "ROOT/taobin_project/xml/page_topping_select8.xml"
EndIf
STRCONTAIN PD_CODE3 ProductMilkCat IsCatalogMilk
DEBUGVAR IsCatalogMilk
If IsCatalogMilk = "true" Then
Open "ROOT/taobin_project/xml/page_topping_select8.xml"
EndIf
EndIf
Open "ROOT/taobin_project/xml/page_topping_select7.xml"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
DEBUGVAR Timeout
Var Timeout = Timeout + 1
If Timeout > 40 Then
Var Timeout = 0
If Seeker = "next" Then
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
Else
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
Open "ROOT/taobin_project/xml/page_catalog.xml"
EndIf
EndIf
Refresh
TimerReset
</EventTimeout>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Width> 1080 </Width>
<Height> 1540 </Height>
<Color> "0xeae6e1" </Color>
</Image>
</Page>