AUS: Update images menus & added Valentine promotion
This commit is contained in:
parent
5052d38f14
commit
7c65209023
119 changed files with 10121 additions and 5360 deletions
|
|
@ -2,48 +2,32 @@
|
|||
print("Version 1 ignore ")
|
||||
else:
|
||||
if current_file_name == "page_catalog_group_recommend.skt":
|
||||
touch_less_gen = True
|
||||
recommend_page = True
|
||||
else:
|
||||
touch_less_gen = False
|
||||
recommend_page = False
|
||||
|
||||
print ("######################################################################################################")
|
||||
idx_of_eng = 2
|
||||
out_xml('<FrameScroll> \r\n')
|
||||
if touch_less_gen == True:
|
||||
out_xml('<Max> 16 </Max>\r\n')
|
||||
if recommend_page == True:
|
||||
out_xml('<Max> 12 </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')
|
||||
out_xml('<Column> 4 </Column>\r\n')
|
||||
if recommend_page == True:
|
||||
out_xml(';layout_mode\r\n')
|
||||
out_xml('<Script>\r\n')
|
||||
|
||||
print("current_file_name " + current_file_name)
|
||||
|
||||
|
||||
if touch_less_gen == False:
|
||||
|
||||
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 = 4\r\n')
|
||||
out_xml('\t Var block_index_move = 1\r\n')
|
||||
|
||||
|
||||
out_xml('\tIf Seeker = "curr" Then\r\n')
|
||||
out_xml('\t\tVar TouchLessStg = "Enable"\r\n')
|
||||
out_xml('\t\tVar TouchLessQrStg = "Enable"\r\n')
|
||||
out_xml('\tElse\r\n')
|
||||
out_xml('\t\tVar TouchLessStg = "Disable"\r\n')
|
||||
out_xml('\t\tVar TouchLessQrStg = "Invisible"\r\n')
|
||||
out_xml('\tEndIf\r\n')
|
||||
|
||||
out_xml('\tIf WebAppShow = "Invisible" Then\r\n')
|
||||
out_xml('\t\tVar TouchLessStg = "Disable"\r\n')
|
||||
out_xml('\t\tVar TouchLessQrStg = "Invisible"\r\n')
|
||||
out_xml('\tEndIf\r\n')
|
||||
out_xml('\t\tVar block_index_override = 0\r\n')
|
||||
out_xml('\t\tVar block_index_move = 0\r\n')
|
||||
if recommend_page:
|
||||
out_xml('\t\t;banner_shifting\r\n')
|
||||
|
||||
|
||||
out_xml('</Script>\r\n')
|
||||
|
|
@ -51,36 +35,7 @@
|
|||
pd_code_available = '##-##-##-####'
|
||||
count = 0
|
||||
count_test = 0
|
||||
if touch_less_gen == True:
|
||||
out_xml( '<Block>\r\n')
|
||||
out_xml('\t<MarginLeft> 33 </MarginLeft>\r\n')
|
||||
out_xml('\t<MarginTop> 22 </MarginTop>\r\n')
|
||||
out_xml('\t<Width> 225 </Width>\r\n')
|
||||
out_xml('\t<Height> 296 </Height>\r\n')
|
||||
out_xml('\t<State> "Enable" </State> \r\n')
|
||||
out_xml('\t<Image>\r\n')
|
||||
out_xml('\t<X> 0 </X>\r\n')
|
||||
out_xml('\t<Y> 0 </Y>\r\n')
|
||||
out_xml('\t<State> TouchLessStg </State> \r\n')
|
||||
out_xml('\t<Filename> Var( DirImage + "/touch_less_order.png" )</Filename>\r\n')
|
||||
out_xml('\t<FilenameDisable> Var( DirImage + "/touch_less_order_db.png" )</FilenameDisable>\r\n')
|
||||
out_xml('\t</Image>\r\n')
|
||||
out_xml('\t<QRCode>\r\n')
|
||||
out_xml('\t<X> 40 </X>\r\n')
|
||||
out_xml('\t<Y> 153 </Y>\r\n')
|
||||
out_xml('\t<Width> 150 </Width>\r\n')
|
||||
out_xml('\t<Color> "0xeae6e1" </Color>\r\n')
|
||||
out_xml('\t<QRColor> "0x513C2F" </Color>\r\n')
|
||||
out_xml('\t<Height> 150 </Height>\r\n')
|
||||
|
||||
#out_xml('\t<State> TouchLessQrStg </State>\r\n')
|
||||
#out_xml('\t<Service> "Herr" </Service>\r\n')
|
||||
out_xml('\t<State> TouchLessQrStg </State>\r\n')
|
||||
out_xml('\t<Service> testservice </Service>\r\n')
|
||||
|
||||
out_xml('\t</QRCode>\r\n')
|
||||
out_xml('</Block>\r\n')
|
||||
out_xml(';dummy_layout.inc\r\n')
|
||||
out_xml(';dummy_layout.inc\r\n')
|
||||
|
||||
|
||||
out_xml('; menu_new_list '+ str(len(menu_new_list))+'\r\n')
|
||||
|
|
@ -119,7 +74,7 @@
|
|||
str_con_var += spl[6] + '-'
|
||||
|
||||
str_con_var = str_con_var.replace("-", "")
|
||||
if touch_less_gen == True:
|
||||
if recommend_page == True:
|
||||
str_con += "Disable=Invisible,"
|
||||
|
||||
str_con += "$Sum" + str_con_var
|
||||
|
|
@ -578,7 +533,7 @@
|
|||
str_con_var += spl[10] + '-'
|
||||
|
||||
str_con_var = str_con_var.replace("-", "")
|
||||
if touch_less_gen == True:
|
||||
if recommend_page == True:
|
||||
str_con += "Disable=Invisible,"
|
||||
|
||||
str_con += "$Sum" + str_con_var
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue