add image file / drinkok.xml add button
This commit is contained in:
parent
64e9f2b4ab
commit
ca374272bd
76 changed files with 1060 additions and 599 deletions
|
|
@ -6,13 +6,78 @@
|
|||
out_xml('<ScrollHeight> "auto" </ScrollHeight>\r\n')
|
||||
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
|
||||
out_xml('<Column> 4 </Column>\r\n')
|
||||
out_xml('<Script>\r\n')
|
||||
|
||||
print("current_file_name " + current_file_name)
|
||||
|
||||
if current_file_name == "page_catalog_group_recommend.skt":
|
||||
touch_less_gen = True
|
||||
else:
|
||||
touch_less_gen = False
|
||||
|
||||
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('</Script>\r\n')
|
||||
|
||||
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> WebAppShow </State>\r\n')
|
||||
out_xml('\t<Service> testservice </Service>\r\n')
|
||||
|
||||
out_xml('\t</QRCode>\r\n')
|
||||
out_xml('</Block>\r\n')
|
||||
|
||||
out_xml('; menu_new_list '+ str(len(menu_new_list))+'\r\n')
|
||||
for spl in menu_new_list:
|
||||
#product_code = s
|
||||
|
||||
menu_img = spl[7]
|
||||
out_xml( '\t; '+ spl[4] + ' ' + spl[5] + ' ' + spl[6]+ ' \r\n')
|
||||
out_xml( '<Block>\r\n')
|
||||
|
|
@ -112,9 +177,9 @@
|
|||
|
||||
|
||||
out_xml( '\t\t\r\n')
|
||||
out_xml( '\t\tDEBUGVAR menu_name_eng_hot\r\n')
|
||||
out_xml( '\t\tDEBUGVAR menu_name_eng_cold\r\n')
|
||||
out_xml( '\t\tDEBUGVAR menu_name_eng_blender\r\n')
|
||||
out_xml( '\t\tDEBUGVAR PD_STAGE_1\r\n')
|
||||
out_xml( '\t\tDEBUGVAR PD_STAGE_2\r\n')
|
||||
out_xml( '\t\tDEBUGVAR PD_STAGE_3\r\n')
|
||||
out_xml( '\t\t\r\n')
|
||||
out_xml( '\t\t\r\n')
|
||||
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_select4.xml"\r\n')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue