MYS: prep pro Yuzu template WIP
This commit is contained in:
parent
985cfb267f
commit
1d3c15fa5b
27 changed files with 62721 additions and 1541 deletions
|
|
@ -199,9 +199,9 @@ ROSALYN ALMOST DIRTY 12-01-02-0037 1 7 50 2 3 4 5 24 66 6:06 32
|
|||
|
||||
|
||||
|
||||
นมยูซุร้อน 12-03-01-0023 1 53 6 16 24 120 3:00 23
|
||||
นมยูซุเย็น 12-03-02-0023 1 53 6 23 24 120 4:00 23
|
||||
นมยูซุปั่น 12-03-03-0023 1 53 6 23 41 24 120 5:00 23
|
||||
นมโตเกียวบานาน่า 12-03-01-0023 1 56 6 16 24 120 3:00 23
|
||||
นมโตเกียวบานาน่า 12-03-02-0023 1 56 6 23 24 120 4:00 23
|
||||
นมโตเกียวบานาน่า 12-03-03-0023 1 56 6 23 41 24 120 5:00 23
|
||||
ยูซุโซดา 12-05-02-0045 1 53 23 23 13 24 120 6:00 23
|
||||
|
||||
อเมริกาโซดา 12-01-02-0041 1 2 3 4 5 23 16 13 24 120 3:00 23
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 40.
|
12129
inter/mys/xml/event/double_promotion_thai_tea_and_yuzu.lxml
Normal file
12129
inter/mys/xml/event/double_promotion_thai_tea_and_yuzu.lxml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -12,7 +12,7 @@ file_inc_content = file_inc.read()
|
|||
|
||||
file_xml.close()
|
||||
|
||||
|
||||
if "template1" in param:
|
||||
file_inc2 = open(directory_to_process + "/event/promotion_template1.inc", 'r')
|
||||
file_inc2_content = file_inc2.read()
|
||||
file_inc_img = open(directory_to_process + "/../image/event/image_template1", 'r')
|
||||
|
|
@ -63,7 +63,7 @@ file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
|
|||
file_xml3.write( content_data)
|
||||
file_xml3.close()
|
||||
|
||||
|
||||
if "template2" in param:
|
||||
file_inc2 = open(directory_to_process + "/event/promotion_template2.inc", 'r')
|
||||
file_inc2_content = file_inc2.read()
|
||||
file_inc_img = open(directory_to_process + "/../image/event/image_template2", 'r')
|
||||
|
|
@ -114,6 +114,7 @@ file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
|
|||
file_xml3.write( content_data)
|
||||
file_xml3.close()
|
||||
|
||||
if "template3" in param:
|
||||
file_inc3 = open(directory_to_process + "/event/promotion_template3.inc", 'r')
|
||||
file_inc3_content = file_inc3.read()
|
||||
file_inc_img = open(directory_to_process + "/../image/event/image_template3", 'r')
|
||||
|
|
@ -166,7 +167,7 @@ file_xml3.write( content_data)
|
|||
file_xml3.close()
|
||||
|
||||
|
||||
|
||||
if "template4" in param:
|
||||
# NOTE: promotion_template4.inc, image_template4, promotion_onclick4.inc, out_put_file4.txt
|
||||
|
||||
# promotion 4
|
||||
|
|
@ -222,6 +223,9 @@ file_xml3.write( content_data)
|
|||
file_xml3.close()
|
||||
|
||||
|
||||
|
||||
if "template5" in param:
|
||||
|
||||
# promotion thai tea
|
||||
file_inc3 = open(directory_to_process + "/event/promotion_template5.inc", 'r')
|
||||
file_inc3_content = file_inc3.read()
|
||||
|
|
@ -273,3 +277,81 @@ file_xml3_out_content = file_xml3_out_content.replace("\n", "")
|
|||
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
|
||||
file_xml3.write( content_data)
|
||||
file_xml3.close()
|
||||
|
||||
|
||||
|
||||
|
||||
###############################################################
|
||||
# MULTI PRO
|
||||
###############################################################
|
||||
print("dummy.current_file_name=", current_file_name)
|
||||
if "multi_promotion" in param:
|
||||
|
||||
print("Should gen multi")
|
||||
|
||||
files = os.listdir(directory_to_process + "/event/")
|
||||
files = [f for f in files if f.startswith("multi_promotion_config")]
|
||||
for filename in files:
|
||||
recommend_multi_pro = open(directory_to_process + "/page_catalog_group_recommend_multi_pro.lxml", "r")
|
||||
recommend_multi_pro_buff = recommend_multi_pro.read()
|
||||
recommend_multi_pro.close()
|
||||
|
||||
#read config
|
||||
multi_pro_config_file = open(directory_to_process + "/event/"+ filename)
|
||||
multi_pro_config = json.load(multi_pro_config_file)
|
||||
|
||||
index = 0
|
||||
promotion_name = []
|
||||
while index < len(multi_pro_config):
|
||||
promotion_config = multi_pro_config[index]
|
||||
index += 1
|
||||
|
||||
# add promotion name for create filename later
|
||||
promotion_name.append(promotion_config["name"])
|
||||
|
||||
#load template
|
||||
template_file = open(directory_to_process + promotion_config["template"])
|
||||
template = template_file.read()
|
||||
template_file.close()
|
||||
for key, value in promotion_config["config"].items():
|
||||
template = template.replace("###"+key, '"' + value.strip() + '"')
|
||||
|
||||
promotion_block_str = '\r\n<Block>\r\n\t<State> PromotionState{0} </State>\r\n\t<MarginLeft> 33 </MarginLeft>\r\n\t<MarginTop> 22 </MarginTop>\r\n\t<Width> 484 </Width>\r\n\t<Height> 602 </Height>\r\n'.format(index)
|
||||
|
||||
promotion_block_str += template
|
||||
promotion_block_str += '\r\n</Block>\r\n'
|
||||
|
||||
recommend_multi_pro_buff = re.sub(r'(?is)(;block{0}).*(;endblock{0})'.format(index), r'\1{0}\2'.format(promotion_block_str), recommend_multi_pro_buff)
|
||||
|
||||
if index == 2:
|
||||
# expend block3 to full width bottom
|
||||
inner_block = re.search(r'(?is);block{0}(.*);endblock{0}'.format(index+1), recommend_multi_pro_buff).group(1)
|
||||
inner_block = inner_block.replace("<Width> 516 </Width>", "<Width> 1032 </Width>", 2)
|
||||
inner_block = inner_block.replace("<Max> 4 </Max>", "<Max> 8 </Max>", 1)
|
||||
inner_block = inner_block.replace("<Column> 2 </Column>", "<Column> 4 </Column>", 1)
|
||||
recommend_multi_pro_buff = re.sub(r'(?is)(;block{0}).*(;endblock{0})'.format(index+1), r'\1{0}\2'.format(inner_block), recommend_multi_pro_buff)
|
||||
|
||||
# remove block4
|
||||
recommend_multi_pro_buff = re.sub(r'(?is)(;block{0}).*(;endblock{0})'.format(index+2), r'\1\2', recommend_multi_pro_buff)
|
||||
|
||||
if index == 3:
|
||||
# create expand block
|
||||
inner_block2 = re.search(r'(?is)(;block{0}.*;endblock{0})'.format(index+1), recommend_multi_pro_buff).group(1)
|
||||
inner_block2 = inner_block2.replace(";block{0}".format(index+1), ";block{0}-expand".format(index+1))
|
||||
inner_block2 = inner_block2.replace(";endblock{0}".format(index+1), ";endblock{0}-expand".format(index+1))
|
||||
|
||||
inner_block2 = inner_block2.replace("<Width> 516 </Width>", "<Width> 1032 </Width>", 2)
|
||||
# inner_block2 = inner_block2.replace("<State> \"Enable\" </State> ", "<State>\r\n\teval(\r\n\tIf PromotionState{0} = \"Enable\" Then\r\n\t\tVar block_expend_show = \"Invisible\"\r\n\tElse\r\n\t\tVar block_expend_show = \"Enable\"\r\n\tEndIf\r\n\tVar return = block_expend_show\r\n\t)\r\n</State>".format(index), 1)
|
||||
inner_block2 = inner_block2.replace("<Max> 4 </Max>", "<Max>\r\neval(\r\n\tIf CountEnablePromotion > 2 Then\r\n\t\tVar max_count = 4\r\n\tElse\r\n\t\tVar max_count = 8\r\n\tEndIf\r\n\tVar return = max_count\r\n)\r\n</Max>", 1)
|
||||
inner_block2 = inner_block2.replace("<Column> 2 </Column>", "<Column>\r\neval(\r\n\tIf CountEnablePromotion > 2 Then\r\n\t\tVar column_count = 2\r\n\tElse\r\n\t\tVar column_count = 4\r\n\tEndIf\r\n\tVar return = column_count\r\n)\r\n</Column>", 1)
|
||||
recommend_multi_pro_buff = re.sub(r'(?is);block{0}.*;endblock{0}'.format(index+1), inner_block2, recommend_multi_pro_buff)
|
||||
|
||||
|
||||
# create promotion file
|
||||
count_name_dict = {
|
||||
2: "double_",
|
||||
3: "triple_"
|
||||
}
|
||||
promo_file = open(directory_to_process + "/event/" + count_name_dict[len(multi_pro_config)]+ "promotion_" + "_and_".join(promotion_name) + ".lxml", "w")
|
||||
promo_file.write(recommend_multi_pro_buff)
|
||||
promo_file.close()
|
||||
28
inter/mys/xml/event/multi_promotion_config_thtea_yuzu.json
Normal file
28
inter/mys/xml/event/multi_promotion_config_thtea_yuzu.json
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
{
|
||||
"name": "thai_tea",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
|
||||
"normal_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
|
||||
"press_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
|
||||
"press_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
|
||||
"disable_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
|
||||
"disable_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
|
||||
"event_on_click": "ROOT/taobin_project/inter/mys/xml/page_catalog_group_pro_thai_tea.lxml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "yuzu",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
|
||||
"normal_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
|
||||
"press_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
|
||||
"press_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
|
||||
"disable_eng": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
|
||||
"disable_thai": "ROOT/taobin_project/inter/mys/image/event/pro_thai_tea/pro_thai_tea_big_btn.png",
|
||||
"event_on_click": "ROOT/taobin_project/inter/mys/xml/page_catalog_group_pro_yuzu.lxml"
|
||||
}
|
||||
}
|
||||
]
|
||||
38
inter/mys/xml/event/promotion_template.inc
Normal file
38
inter/mys/xml/event/promotion_template.inc
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
|
||||
<Button>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###press_eng
|
||||
Else
|
||||
Var return = ###press_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###disable_eng
|
||||
Else
|
||||
Var return = ###disable_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open ###event_on_click
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
</Button>
|
||||
|
|
@ -4,21 +4,56 @@
|
|||
; zone promote
|
||||
DEBUGVAR FruityRayaEnable
|
||||
DEBUGVAR ProThaiTeaEnable
|
||||
DEBUGVAR ProYuzuEnable
|
||||
|
||||
Var CountEnablePromotion = 0
|
||||
Var PromotionState1 = "Invisible"
|
||||
Var PromotionState2 = "Invisible"
|
||||
|
||||
If ProThaiTeaEnable = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
If ProYuzuEnable = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
DEBUGVAR CountEnablePromotion
|
||||
|
||||
If OpenFromPageBoard = 1 Then
|
||||
|
||||
If ProThaiTeaEnable = 1 Then
|
||||
; has-ongoing-pro
|
||||
If CountEnablePromotion >= 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
|
||||
If CountEnablePromotion = 1 Then
|
||||
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/event/promotion_thai_tea.lxml"
|
||||
EndIf
|
||||
|
||||
If CountEnablePromotion = 2 Then
|
||||
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/event/double_promotion_thai_tea_and_yuzu.lxml"
|
||||
EndIf
|
||||
|
||||
Var OpenFromPageBoard = 0
|
||||
Else
|
||||
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/page_catalog_group_recommend.lxml"
|
||||
EndIf
|
||||
Else
|
||||
|
||||
If ProThaiTeaEnable = 1 Then
|
||||
; has-ongoing-pro
|
||||
If CountEnablePromotion >= 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
|
||||
If CountEnablePromotion = 1 Then
|
||||
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/event/promotion_thai_tea.lxml"
|
||||
EndIf
|
||||
|
||||
If CountEnablePromotion = 2 Then
|
||||
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/event/double_promotion_thai_tea_and_yuzu.lxml"
|
||||
EndIf
|
||||
|
||||
Var OpenFromPageBoard = 0
|
||||
Else
|
||||
OpenInst 2 "ROOT/taobin_project/inter/mys/xml/page_catalog_group_recommend.lxml"
|
||||
|
|
|
|||
|
|
@ -27,16 +27,25 @@ EndIf
|
|||
|
||||
If SystemDateMonthInt = 7 Then
|
||||
Var ProThaiTeaEnable = 1
|
||||
|
||||
If SystemDateDayInt >= 15 Then
|
||||
Var ProYuzuEnable = 1
|
||||
Else
|
||||
Var ProYuzuEnable = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 8 Then
|
||||
If SystemDateDayInt < 31 Then
|
||||
Var ProThaiTeaEnable = 1
|
||||
Var ProYuzuEnable = 1
|
||||
Else
|
||||
Var ProThaiTeaEnable = 0
|
||||
Var ProYuzuEnable = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If BoxID = 177746 Then
|
||||
Var ProThaiTeaEnable = 1
|
||||
Var ProYuzuEnable = 1
|
||||
EndIf
|
||||
|
|
|
|||
152
inter/mys/xml/event/yuzu/page_get_free_1_yuzu.lxml
Normal file
152
inter/mys/xml/event/yuzu/page_get_free_1_yuzu.lxml
Normal file
|
|
@ -0,0 +1,152 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
Var Timeout = 0
|
||||
DEBUGVAR TelephoneNumber
|
||||
DEBUGVAR FromProYuzu
|
||||
DEBUGVAR Seeker.VendingCode
|
||||
DEBUGVAR Seeker.ProYuzu
|
||||
DEBUGVAR Seeker.UseProYuzuCode
|
||||
|
||||
Var Cid = 43
|
||||
Var param1 = ""
|
||||
Var param2 = ""
|
||||
Var param3 = ""
|
||||
|
||||
If FromProYuzu = 1 Then
|
||||
|
||||
If TelephoneNumber = "" Then
|
||||
|
||||
Else
|
||||
DEBUGVAR TelephoneNumber
|
||||
; Telephone must not empty
|
||||
If Seeker.CodeChannel = 1 Then
|
||||
DEBUGVAR Seeker.CodeChannel
|
||||
Var Seeker.UseProYuzuCode = 1
|
||||
Var Seeker.ProYuzu = 1
|
||||
Else
|
||||
Var Seeker.ProYuzu = 1
|
||||
Var Seeker.UseProYuzuCode = 0
|
||||
DEBUGVAR Seeker.ProYuzu
|
||||
DEBUGVAR Seeker.UseProYuzuCode
|
||||
|
||||
; support-for-multi-pro-with-same-cid
|
||||
Var param1 = "701"
|
||||
|
||||
AddData Cid TelephoneNumber param1 param2 param3
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
; reset flag
|
||||
Var FromProYuzu = 0
|
||||
|
||||
; goto lid straw
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var CountDownBrewing = BREW_CNT
|
||||
|
||||
Var ShowCountDownBrewing = CountDownBrewing
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 2 Then
|
||||
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>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;<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>
|
||||
|
||||
<Text>
|
||||
<X> 99 </X>
|
||||
<Y> 1300 </Y>
|
||||
<Align> center </Align>
|
||||
<Size> 48 </Size>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> "Please wait for coupon from SMS ... "
|
||||
</Text>
|
||||
|
||||
</Popup>
|
||||
|
|
@ -15,7 +15,7 @@ else:
|
|||
f.close()
|
||||
else:
|
||||
print("new layout catalog enable.")
|
||||
f = open( directory_to_process + "/menu_catalog_new.xml", "r")
|
||||
f = open( directory_to_process + "/menu_catalog_new.lxml", "r")
|
||||
#print(f.read())
|
||||
out_xml(f.read())
|
||||
f.close()
|
||||
|
|
|
|||
|
|
@ -6,23 +6,35 @@
|
|||
else:
|
||||
touch_less_gen = False
|
||||
|
||||
if current_file_name == "page_catalog_group_recommend_multi_pro.skt":
|
||||
multi_pro_gen = True
|
||||
else:
|
||||
multi_pro_gen = False
|
||||
|
||||
print("Found multi pro skt: ", multi_pro_gen )
|
||||
|
||||
print ("######################################################################################################")
|
||||
idx_of_eng = 2
|
||||
out_xml('<FrameScroll> \r\n')
|
||||
if touch_less_gen == True:
|
||||
out_xml('<Max> 16 </Max>\r\n')
|
||||
elif multi_pro_gen:
|
||||
out_xml('<Max> 4 </Max>\r\n')
|
||||
out_xml('<X> 10 </X>\r\n')
|
||||
out_xml('<Y> 497 </Y>\r\n')
|
||||
out_xml('<Width> 1080 </Width>\r\n')
|
||||
out_xml('<ScrollHeight> "auto" </ScrollHeight>\r\n')
|
||||
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
|
||||
if multi_pro_gen:
|
||||
out_xml('<Column> 2 </Column>\r\n')
|
||||
else:
|
||||
out_xml('<Column> 4 </Column>\r\n')
|
||||
out_xml('<Script>\r\n')
|
||||
|
||||
print("current_file_name " + current_file_name)
|
||||
|
||||
|
||||
if touch_less_gen == False:
|
||||
if touch_less_gen == False or multi_pro_gen:
|
||||
|
||||
out_xml('\t Var block_index_override = 0\r\n')
|
||||
out_xml('\t Var block_index_move = 0\r\n')
|
||||
|
|
@ -86,6 +98,9 @@
|
|||
out_xml('; menu_new_list '+ str(len(menu_new_list))+'\r\n')
|
||||
for spl in menu_new_list:
|
||||
#product_code = s
|
||||
print("> ",spl, len(spl))
|
||||
# spl = spl[0]
|
||||
|
||||
if spl[0] == "IGNORE":
|
||||
continue
|
||||
|
||||
|
|
@ -1011,7 +1026,35 @@
|
|||
#if count_test > 8 :
|
||||
# break
|
||||
|
||||
|
||||
if multi_pro_gen:
|
||||
for i in range(1, 5):
|
||||
out_xml(';block'+str(i)+'\r\n')
|
||||
out_xml('\t<Block>\r\n')
|
||||
out_xml('\t\t<State> \"Enable\" </State> \r\n')
|
||||
# out_xml('\t\t<MarginTop> 22 </MarginTop>\r\n')
|
||||
# out_xml('\t\t<MarginLeft> 33 </MarginLeft>\r\n')
|
||||
out_xml('\t\t<Width> 516 </Width>\r\n')
|
||||
out_xml('\t\t<Height> 636 </Height>\r\n')
|
||||
out_xml('\t\t<FrameScroll>\r\n')
|
||||
out_xml('\t\t\t<Max> 4 </Max>\r\n')
|
||||
out_xml('\t\t\t<X> 0 </X>\r\n')
|
||||
out_xml('\t\t\t<Y> 0 </Y>\r\n')
|
||||
out_xml('\t\t\t<Width> 516 </Width>\r\n')
|
||||
out_xml('\t\t\t<Height> 636 </Height>\r\n')
|
||||
out_xml('\t\t\t<ScrollHeight> "auto" </ScrollHeight>\r\n')
|
||||
out_xml('\t\t\t<Scroll> "Vertical" </Scroll>\r\n')
|
||||
out_xml('\t\t\t<Column> 2 </Column>\r\n')
|
||||
out_xml('\t\t\t<Script>\r\n')
|
||||
out_xml('\t\t\t\tVar block_index_override = 0\r\n')
|
||||
out_xml('\t\t\t\tVar block_index_move = 0\r\n')
|
||||
out_xml('\t\t\t</Script>\r\n')
|
||||
GenListMenu()
|
||||
out_xml('\t\t</FrameScroll>\r\n')
|
||||
out_xml('\t\t</Block>\r\n')
|
||||
out_xml(';endblock'+str(i)+'\r\n')
|
||||
else:
|
||||
out_xml('; menu_new_list '+ str(len(menu_new_list))+'\r\n')
|
||||
GenListMenu()
|
||||
|
||||
out_xml('</FrameScroll>\r\n')
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
if "v2" in param:
|
||||
def GenMenuProductCodeBlock( str_hot_product_code, str_cold_product_code, str_blend_product_code):
|
||||
def GenMenuProductCodeBlock(spl, str_hot_product_code, str_cold_product_code, str_blend_product_code):
|
||||
#print(" size " + str( len(spl)) + " img=" + spl[ idx_img][1] )
|
||||
out_xml( '\t; ==================> Len = ' + str(len(spl)) + '\r\n')
|
||||
menu_img = spl[ idx_img][1]
|
||||
|
|
@ -182,6 +182,17 @@
|
|||
out_xml( '\t\tVar SelectDrinkType = 0\r\n')
|
||||
|
||||
|
||||
# zone pro
|
||||
if "fruity_raya" in current_file_name:
|
||||
out_xml( '\t\tVar FromFruityRaya = 1 \r\n')
|
||||
|
||||
if "thai_tea" in current_file_name:
|
||||
out_xml( '\t\tVar FromProThaiTea = 1 \r\n')
|
||||
|
||||
if "yuzu" in current_file_name:
|
||||
out_xml( '\t\tVar FromProYuzu = 1 \r\n')
|
||||
|
||||
|
||||
out_xml( '\t\t\r\n')
|
||||
out_xml( '\t\t\r\n')
|
||||
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_select6.lxml"\r\n')
|
||||
|
|
@ -452,7 +463,7 @@
|
|||
|
||||
out_xml( '</Block>\r\n')
|
||||
|
||||
def GenMenuBlock( idx_hot_product_code, idx_cold_product_code, idx_blend_product_code):
|
||||
def GenMenuBlock(spl, idx_hot_product_code, idx_cold_product_code, idx_blend_product_code):
|
||||
GenMenuProductCodeBlock( spl[ idx_name][ idx_hot_product_code], spl[ idx_name][ idx_cold_product_code] , spl[ idx_name][ idx_blend_product_code] )
|
||||
|
||||
|
||||
|
|
@ -488,27 +499,40 @@
|
|||
else:
|
||||
touch_less_gen = False
|
||||
|
||||
if current_file_name == "page_catalog_group_recommend_multi_pro.skt":
|
||||
multi_pro_gen = True
|
||||
else:
|
||||
multi_pro_gen = False
|
||||
|
||||
print("Found multi pro skt: ", multi_pro_gen )
|
||||
|
||||
out_xml('<FrameScroll> \r\n')
|
||||
if touch_less_gen == True:
|
||||
out_xml('<Max> 16 </Max>\r\n')
|
||||
elif multi_pro_gen:
|
||||
out_xml('<Max> 4 </Max>\r\n')
|
||||
out_xml('<X> 10 </X>\r\n')
|
||||
out_xml('<Y> 497 </Y>\r\n')
|
||||
out_xml('<Width> 1080 </Width>\r\n')
|
||||
out_xml('<ScrollHeight> "auto" </ScrollHeight>\r\n')
|
||||
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
|
||||
if multi_pro_gen:
|
||||
out_xml('<Column> 2 </Column>\r\n')
|
||||
else:
|
||||
out_xml('<Column> 4 </Column>\r\n')
|
||||
out_xml('<Script>\r\n')
|
||||
|
||||
print("current_file_name " + current_file_name)
|
||||
|
||||
|
||||
if touch_less_gen == False:
|
||||
if touch_less_gen == False or multi_pro_gen:
|
||||
|
||||
out_xml('\t Var block_index_override = 0\r\n')
|
||||
out_xml('\t Var block_index_move = 0\r\n')
|
||||
else:
|
||||
out_xml('\t Var block_index_override = 0\r\n')
|
||||
out_xml('\t Var block_index_move = 0\r\n')
|
||||
|
||||
out_xml('\t Var block_index_override = 4\r\n')
|
||||
out_xml('\t Var block_index_move = 1\r\n')
|
||||
#out_xml('\t Var block_index_override = 4\r\n')
|
||||
#out_xml('\t Var block_index_move = 1\r\n')
|
||||
#out_xml('\tIf Seeker = "curr" Then\r\n')
|
||||
|
|
@ -561,6 +585,7 @@
|
|||
out_xml(';dummy_layout.inc\r\n')
|
||||
#
|
||||
#out_xml('; menu_new_list '+ str(len(menu_new_list))+'\r\n')
|
||||
def GenListMenu():
|
||||
for spl in menu_new_list:
|
||||
#product_code = s
|
||||
#if spl[ idx_of_eng] == "IGNORE":
|
||||
|
|
@ -586,9 +611,9 @@
|
|||
print("\t\t==> ignore ")
|
||||
else:
|
||||
print("\t\t==> gen ")
|
||||
GenMenuProductCodeBlock( hot_pd[ idx], cold_pd[ idx], blend_pd[ idx] )
|
||||
GenMenuProductCodeBlock(spl, hot_pd[ idx], cold_pd[ idx], blend_pd[ idx] )
|
||||
else:
|
||||
GenMenuBlock( idx_hot_product_code, idx_cold_product_code, idx_blend_product_code)
|
||||
GenMenuBlock(spl, idx_hot_product_code, idx_cold_product_code, idx_blend_product_code)
|
||||
#out_xml( '\t; parallel '+ spl[ idx_name][ idx_hot_product_code2] + ' ' + spl[ idx_name][ idx_cold_product_code2] + ' ' + spl[ idx_name][ idx_blend_product_code2] + ' \r\n')
|
||||
#print("++++++++++++++++++++++++++++++ " + str( count_test) )
|
||||
#count_test = count_test + 1
|
||||
|
|
@ -596,7 +621,40 @@
|
|||
# break
|
||||
if len( spl[idx_name] ) >= 11:
|
||||
if spl[ idx_name][ idx_hot_product_code2] != "-" or spl[ idx_name][ idx_cold_product_code2] != "-" or spl[ idx_name][ idx_blend_product_code2] != "-":
|
||||
GenMenuBlock( idx_hot_product_code2, idx_cold_product_code2, idx_blend_product_code2)
|
||||
GenMenuBlock(spl, idx_hot_product_code2, idx_cold_product_code2, idx_blend_product_code2)
|
||||
|
||||
|
||||
if multi_pro_gen:
|
||||
print("multi_pro_gen")
|
||||
for i in range(1, 5):
|
||||
out_xml(';block'+str(i)+'\r\n')
|
||||
out_xml('\t<Block>\r\n')
|
||||
out_xml('\t\t<State> \"Enable\" </State> \r\n')
|
||||
# out_xml('\t\t<MarginTop> 22 </MarginTop>\r\n')
|
||||
# out_xml('\t\t<MarginLeft> 33 </MarginLeft>\r\n')
|
||||
out_xml('\t\t<Width> 516 </Width>\r\n')
|
||||
out_xml('\t\t<Height> 636 </Height>\r\n')
|
||||
out_xml('\t\t<FrameScroll>\r\n')
|
||||
out_xml('\t\t\t<Max> 4 </Max>\r\n')
|
||||
out_xml('\t\t\t<X> 0 </X>\r\n')
|
||||
out_xml('\t\t\t<Y> 0 </Y>\r\n')
|
||||
out_xml('\t\t\t<Width> 516 </Width>\r\n')
|
||||
out_xml('\t\t\t<Height> 636 </Height>\r\n')
|
||||
out_xml('\t\t\t<ScrollHeight> "auto" </ScrollHeight>\r\n')
|
||||
out_xml('\t\t\t<Scroll> "Vertical" </Scroll>\r\n')
|
||||
out_xml('\t\t\t<Column> 2 </Column>\r\n')
|
||||
out_xml('\t\t\t<Script>\r\n')
|
||||
out_xml('\t\t\t\tVar block_index_override = 0\r\n')
|
||||
out_xml('\t\t\t\tVar block_index_move = 0\r\n')
|
||||
out_xml('\t\t\t</Script>\r\n')
|
||||
GenListMenu()
|
||||
out_xml('\t\t</FrameScroll>\r\n')
|
||||
out_xml('\t\t</Block>\r\n')
|
||||
out_xml(';endblock'+str(i)+'\r\n')
|
||||
else:
|
||||
out_xml('; menu_new_list '+ str(len(menu_new_list))+'\r\n')
|
||||
GenListMenu()
|
||||
|
||||
|
||||
out_xml('</FrameScroll>\r\n')
|
||||
|
||||
|
|
|
|||
|
|
@ -644,6 +644,7 @@
|
|||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 5
|
||||
; ==================> Len = 3
|
||||
; - 12-04-02-1018 -
|
||||
<Block>
|
||||
|
|
|
|||
|
|
@ -624,6 +624,7 @@
|
|||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
; ==================> Len = 3
|
||||
; - 11-99-05-0001 -
|
||||
<Block>
|
||||
|
|
|
|||
|
|
@ -635,6 +635,7 @@
|
|||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 60
|
||||
; ==================> Len = 3
|
||||
; 12-01-01-0001 - -
|
||||
<Block>
|
||||
|
|
|
|||
|
|
@ -645,6 +645,7 @@
|
|||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
; ==================> Len = 3
|
||||
; 12-03-01-0005 12-03-02-0005 12-03-03-0005
|
||||
<Block>
|
||||
|
|
|
|||
|
|
@ -620,6 +620,7 @@
|
|||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 10
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0045 -
|
||||
<Block>
|
||||
|
|
@ -725,6 +726,7 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
Var FromFruityRaya = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
|
@ -995,9 +997,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromFruityRaya = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -1270,9 +1272,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromFruityRaya = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -1545,9 +1547,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromFruityRaya = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -1816,9 +1818,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromFruityRaya = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -2091,9 +2093,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromFruityRaya = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -2366,9 +2368,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromFruityRaya = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -2637,9 +2639,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromFruityRaya = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -2912,9 +2914,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromFruityRaya = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -3183,9 +3185,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromFruityRaya = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -3454,9 +3456,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromFruityRaya = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
|
|||
|
|
@ -632,6 +632,7 @@
|
|||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 22
|
||||
; ==================> Len = 3
|
||||
; 12-01-01-1003 12-01-02-1001 -
|
||||
<Block>
|
||||
|
|
|
|||
|
|
@ -632,6 +632,7 @@
|
|||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 21
|
||||
; ==================> Len = 3
|
||||
; 12-03-01-0005 12-03-02-0005 12-03-03-0005
|
||||
<Block>
|
||||
|
|
|
|||
|
|
@ -634,6 +634,7 @@
|
|||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 53
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0007 12-05-03-0007
|
||||
<Block>
|
||||
|
|
|
|||
|
|
@ -620,6 +620,7 @@
|
|||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 7
|
||||
; ==================> Len = 3
|
||||
; 12-02-01-0024 12-02-02-0024 12-02-03-0024
|
||||
<Block>
|
||||
|
|
@ -725,9 +726,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromProThaiTea = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -1000,9 +1001,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromProThaiTea = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -1275,9 +1276,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromProThaiTea = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -1550,9 +1551,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromProThaiTea = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -1825,9 +1826,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromProThaiTea = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -2100,9 +2101,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromProThaiTea = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -2375,9 +2376,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromProThaiTea = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -2650,9 +2651,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromProThaiTea = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
@ -2925,9 +2926,9 @@
|
|||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var FromProThaiTea = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select6.lxml"
|
||||
|
||||
</EventOnClick>
|
||||
|
|
|
|||
2281
inter/mys/xml/page_catalog_group_pro_yuzu.lxml
Normal file
2281
inter/mys/xml/page_catalog_group_pro_yuzu.lxml
Normal file
File diff suppressed because it is too large
Load diff
46
inter/mys/xml/page_catalog_group_pro_yuzu.skt
Normal file
46
inter/mys/xml/page_catalog_group_pro_yuzu.skt
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
Var FromProYuzu = 0
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
@ -646,10 +646,11 @@
|
|||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
Var block_index_override = 4
|
||||
Var block_index_move = 1
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 42
|
||||
;TAGESP
|
||||
; ==================> Len = 3
|
||||
; - - 12-03-03-0026
|
||||
|
|
|
|||
46186
inter/mys/xml/page_catalog_group_recommend_multi_pro.lxml
Normal file
46186
inter/mys/xml/page_catalog_group_recommend_multi_pro.lxml
Normal file
File diff suppressed because it is too large
Load diff
80
inter/mys/xml/page_catalog_group_recommend_multi_pro.skt
Normal file
80
inter/mys/xml/page_catalog_group_recommend_multi_pro.skt
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Menu1Selected = "PressForever"
|
||||
|
||||
Var OreoBigButtonEnable = "Enable"
|
||||
|
||||
If $12-01-01-0001.Button = "Invisible" Then
|
||||
Var esp102101001Enable = "Invisible"
|
||||
Var esp122101001Enable = "Enable"
|
||||
|
||||
Else
|
||||
Var esp102101001Enable = "Enable"
|
||||
Var esp122101001Enable = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
Else
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
|
||||
EndIf
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.lxml"
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
<Button>
|
||||
<X> 780 </X>
|
||||
<Y> 500 </Y>
|
||||
<State> buttonRemoveCup </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 500 </Interval>
|
||||
<Filename> Var(RootPath + "image/main_page/bn_remove_cup.png") </Filename>
|
||||
<Filename> Var(RootPath + "image/main_page/bp_remove_cup.png") </Filename>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
|
|
@ -637,6 +637,7 @@
|
|||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 46
|
||||
; ==================> Len = 3
|
||||
; 12-02-01-0001 12-02-02-0001 12-02-03-0001
|
||||
<Block>
|
||||
|
|
|
|||
|
|
@ -640,6 +640,7 @@
|
|||
Var block_index_move = 0
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
; ==================> Len = 3
|
||||
; - 12-04-02-0001 -
|
||||
<Block>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue