From ae59eb36ab9d60674f150b887bbe3e3015ff462a Mon Sep 17 00:00:00 2001 From: kong Date: Tue, 24 May 2022 15:55:20 +0700 Subject: [PATCH] FIX ice tab --- xml/menu_new_layout_gen.py | 27 +- xml/page_catalog_group_coffee.xml | 400 ++++++++++++------------- xml/page_catalog_group_milk.xml | 90 +++--- xml/page_catalog_group_other.xml | 210 ++++++------- xml/page_catalog_group_recommend.xml | 422 +++++++++++++-------------- xml/page_catalog_group_tea.xml | 242 +++++++-------- xml/page_catalog_group_whey.xml | 90 +++--- xml/page_thankyouConti.xml | 7 +- xml/page_topping_select4.xml | 6 +- 9 files changed, 752 insertions(+), 742 deletions(-) diff --git a/xml/menu_new_layout_gen.py b/xml/menu_new_layout_gen.py index e795a084..eb82c7a7 100644 --- a/xml/menu_new_layout_gen.py +++ b/xml/menu_new_layout_gen.py @@ -88,15 +88,26 @@ out_xml('\t 225 \r\n') out_xml('\t 296 \r\n') str_con = "" + str_con_var = "" if spl[4] != '-': str_con += spl[4] + '.Button,' if spl[5] != '-': str_con += spl[5] + '.Button,' if spl[6] != '-': str_con += spl[6] + '.Button,' - + + if spl[4] != '-': + str_con_var += spl[4] + '-' + if spl[5] != '-': + str_con_var += spl[5] + '-' + if spl[6] != '-': + str_con_var += spl[6] + '-' + + str_con_var = str_con_var.replace("-", "") if touch_less_gen == True: - str_con += "Disable=Invisible" + str_con += "Disable=Invisible," + + str_con += "$Sum" + str_con_var out_xml( '\t Flag( '+ str_con + ') \r\n') @@ -122,7 +133,7 @@ out_xml( '\t