merge double triple pro to multi pro
This commit is contained in:
parent
866f21d4e8
commit
3cca67f106
45 changed files with 40205 additions and 75720 deletions
|
|
@ -60,7 +60,7 @@
|
|||
else:
|
||||
triple_pro_gen = False
|
||||
|
||||
if current_file_name == "page_catalog_group_recommend_multiple_pro.skt":
|
||||
if current_file_name == "page_catalog_group_recommend_multi_pro.skt":
|
||||
multi_pro_gen = True
|
||||
else:
|
||||
multi_pro_gen = False
|
||||
|
|
@ -1321,22 +1321,37 @@
|
|||
if spl[0].startswith("TAG"):
|
||||
out_xml( '\t;' + spl[0] + '\r\n')
|
||||
|
||||
count_test = count_test + 1
|
||||
count_test = count_test + 1
|
||||
#if count_test > 8 :
|
||||
# break
|
||||
|
||||
|
||||
if multi_pro_gen:
|
||||
for i in range(1, 5):
|
||||
out_put(';block'+i+'\r\n')
|
||||
out_put('\t<Block>\r\n')
|
||||
out_put('\t\t<State> ### </State> \r\n')
|
||||
out_put('\t\t<MarginTop> 22 </MarginTop>\r\n')
|
||||
out_put('\t\t<Width> 484 </Width>\r\n')
|
||||
out_put('\t\t<Height> 602 </Height>\r\n')
|
||||
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_put('\t\t</Block>')
|
||||
out_put(';endblock'+i+'\r\n')
|
||||
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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue