DO
This commit is contained in:
parent
0afb455100
commit
a3e6c11b82
12 changed files with 17310 additions and 6 deletions
1348
xml/dummy_layout.inc
Normal file
1348
xml/dummy_layout.inc
Normal file
File diff suppressed because it is too large
Load diff
17
xml/dummy_layout.py
Normal file
17
xml/dummy_layout.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
if current_file_name == "page_catalog_group_songkran.skt":
|
||||
print( "dir= " + directory_to_process + "/page_catalog_group_recommend.xml");
|
||||
file_xml = open(directory_to_process + "/page_catalog_group_recommend.xml", 'r')
|
||||
#print(file_xml.read())
|
||||
# ; include-file=dummy_layout.inc
|
||||
file_inc = open(directory_to_process + "/dummy_layout.inc", 'r')
|
||||
file_inc_content = file_inc.read()
|
||||
print( file_inc_content)
|
||||
content_data = file_xml.read().replace("; include-file=dummy_layout.inc", file_inc_content)
|
||||
|
||||
file_xml3 = open(directory_to_process + "/page_catalog_group_recommend3.xml", 'w')
|
||||
file_xml3.write( content_data)
|
||||
file_xml3.close()
|
||||
file_xml.close()
|
||||
|
||||
|
||||
|
|
@ -182,7 +182,11 @@
|
|||
If ShowPromoitonOreo = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend2.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
If SongkranEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend3.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -80,6 +80,8 @@
|
|||
|
||||
out_xml('\t</QRCode>\r\n')
|
||||
out_xml('</Block>\r\n')
|
||||
out_xml('; include-file=dummy_layout.inc\r\n')
|
||||
|
||||
|
||||
out_xml('; menu_new_list '+ str(len(menu_new_list))+'\r\n')
|
||||
for spl in menu_new_list:
|
||||
|
|
|
|||
|
|
@ -783,6 +783,12 @@
|
|||
Var ShowPromoitonOreo = 0
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 4 Then
|
||||
If SystemDateDayInt > 7 Then
|
||||
Var SongkranEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
</EventOpen>
|
||||
|
|
|
|||
|
|
@ -67,3 +67,5 @@
|
|||
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -563,6 +563,7 @@
|
|||
<Service> testservice </Service>
|
||||
</QRCode>
|
||||
</Block>
|
||||
; include-file=dummy_layout.inc
|
||||
; menu_new_list 44
|
||||
; ==================> Len = 16
|
||||
; 12-06-01-0001 - -
|
||||
|
|
@ -12245,3 +12246,5 @@ LIMENADE SODA" </Value>
|
|||
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
|
|
|
|||
13597
xml/page_catalog_group_recommend3.xml
Normal file
13597
xml/page_catalog_group_recommend3.xml
Normal file
File diff suppressed because it is too large
Load diff
48
xml/page_catalog_group_songkran.skt
Normal file
48
xml/page_catalog_group_songkran.skt
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<?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 Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_inc.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
<?hurr
|
||||
#include=dummy_layout.py
|
||||
?>
|
||||
2280
xml/page_catalog_group_songkran.xml
Normal file
2280
xml/page_catalog_group_songkran.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -226,9 +226,6 @@
|
|||
|
||||
|
||||
If SongkranEnable = 1 Then
|
||||
If UserSelectProductCode = "12-01-02-0053" Then
|
||||
Var PromotionIDCurrentOrder = 3
|
||||
EndIf
|
||||
If UserSelectProductCode = "12-01-02-0054" Then
|
||||
Var PromotionIDCurrentOrder = 3
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -108,8 +108,8 @@
|
|||
Var RandomPromotionMyworld = 0
|
||||
Var RandomSalePackage = 0
|
||||
|
||||
Var XMLPageVersion = "7.05"
|
||||
Var XMLPageVersionInt = 705
|
||||
Var XMLPageVersion = "7.06"
|
||||
Var XMLPageVersionInt = 706
|
||||
</EventOpen>
|
||||
|
||||
<Text>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue