7.16 fix songgran
This commit is contained in:
parent
4abbb1bb4e
commit
d24f316a28
19 changed files with 91 additions and 840 deletions
|
|
@ -239,21 +239,6 @@
|
|||
</EventTimeout>
|
||||
|
||||
|
||||
;<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_1 </Filename>
|
||||
;</Video>
|
||||
|
||||
; under line
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
|
|
@ -335,12 +320,8 @@
|
|||
SAVELOG "Click rec"
|
||||
Var NextPage = "-"
|
||||
|
||||
; zone promote
|
||||
If SongkranEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
EndIf
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -3304,15 +3285,15 @@ VOLCANO" </Value>
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - - 12-03-03-0009
|
||||
; - - 12-03-03-0032
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0009.Button,$Sum1203030009) </State>
|
||||
<State> Flag( 12-03-03-0032.Button,$Sum1203030032) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030009 </State>
|
||||
<State> $Sum1203030032 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano.png" </FilenameDisable>
|
||||
|
|
@ -3327,13 +3308,13 @@ VOLCANO" </Value>
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-03-03-0009.Price
|
||||
Var PriceD3 = $12-03-03-0032.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-03-03-0009"
|
||||
Var PD_CODE3 = "12-03-03-0032"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-03-03-0009.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0032.Button
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
|
|
@ -3354,7 +3335,7 @@ VOLCANO" </Value>
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-03-03-0009"
|
||||
Topping "Load" "12-03-03-0032"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -3367,10 +3348,10 @@ VOLCANO" </Value>
|
|||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $12-03-03-0009.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0009.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0009.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0009.description
|
||||
Var menu_name_eng_blender = $12-03-03-0032.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0032.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0032.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0032.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -3472,7 +3453,7 @@ VOLCANO" </Value>
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-03-0009.Button </State>
|
||||
<State> $12-03-03-0032.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -3482,8 +3463,8 @@ VOLCANO" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-03-0009.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0009.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-03-03-0032.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0032.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -3508,10 +3489,10 @@ VOLCANO" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1203030009 = "Disable" Then
|
||||
If $Sum1203030032 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0009.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0032.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -3547,7 +3528,7 @@ VOLCANO" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1203030009 </State>
|
||||
<State> $Sum1203030032 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue