AUS: Add coconut promotion
This commit is contained in:
parent
5665af3706
commit
8ca07a13e4
19 changed files with 26351 additions and 2847 deletions
BIN
inter/aus/image/event/coconut.png
Normal file
BIN
inter/aus/image/event/coconut.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 322 KiB |
|
|
@ -1,6 +1,6 @@
|
|||
normal_eng=ROOT/taobin_project/image/event/bn_MerdekaPromotionPepsi1.png
|
||||
normal_thai=ROOT/taobin_project/image/event/bn_MerdekaPromotionPepsi1.png
|
||||
press_eng=ROOT/taobin_project/image/event/bn_MerdekaPromotionPepsi1.png
|
||||
press_thai=ROOT/taobin_project/image/event/bn_MerdekaPromotionPepsi1.png
|
||||
disable_eng=ROOT/taobin_project/image/event/bd_MerdekaPromotionPepsi1.png
|
||||
disable_thai=ROOT/taobin_project/image/event/bd_MerdekaPromotionPepsi1.png
|
||||
normal_eng=ROOT/taobin_project/inter/aus/image/event/coconut.png
|
||||
normal_thai=ROOT/taobin_project/inter/aus/image/event/coconut.png
|
||||
press_eng=ROOT/taobin_project/inter/aus/image/event/coconut.png
|
||||
press_thai=ROOT/taobin_project/inter/aus/image/event/coconut.png
|
||||
disable_eng=ROOT/taobin_project/inter/aus/image/event/coconut.png
|
||||
disable_thai=ROOT/taobin_project/inter/aus/image/event/coconut.png
|
||||
BIN
inter/aus/image/payment_cash/bd_pay_with_codeOther.png
Normal file
BIN
inter/aus/image/payment_cash/bd_pay_with_codeOther.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
BIN
inter/aus/image/payment_cash/bn_pay_with_codeOther.png
Normal file
BIN
inter/aus/image/payment_cash/bn_pay_with_codeOther.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
BIN
inter/aus/image/payment_cash/bp_pay_with_codeOther.png
Normal file
BIN
inter/aus/image/payment_cash/bp_pay_with_codeOther.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6 KiB |
File diff suppressed because it is too large
Load diff
|
|
@ -1,18 +1,16 @@
|
|||
|
||||
if False:
|
||||
print("params=" + param)
|
||||
print( "dir= " + directory_to_process + "/page_catalog_group_recommend.lxml");
|
||||
file_xml = open(directory_to_process + "/page_catalog_group_recommend.lxml", 'r')
|
||||
file_content_main = file_xml.read()
|
||||
#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("params=" + param)
|
||||
print( "dir= " + directory_to_process + "/page_catalog_group_recommend.lxml");
|
||||
file_xml = open(directory_to_process + "/page_catalog_group_recommend.lxml", 'r')
|
||||
file_content_main = file_xml.read()
|
||||
#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()
|
||||
|
||||
|
||||
file_xml.close()
|
||||
|
||||
file_xml.close()
|
||||
|
||||
if "template1" in param:
|
||||
file_inc2 = open(directory_to_process + "/event/promotion_template1.inc", 'r')
|
||||
file_inc2_content = file_inc2.read()
|
||||
file_inc_img = open(directory_to_process + "/../image/event/image_template1", 'r')
|
||||
|
|
@ -51,7 +49,7 @@ if False:
|
|||
#print("tmp1=" + tmp1)
|
||||
#print("tmp2=" + tmp2)
|
||||
|
||||
content_data = tmp1 + tmp2
|
||||
content_data = tmp1 + tmp2
|
||||
|
||||
file_xml3_out = open(directory_to_process + "/event/out_put_file1.txt", 'r')
|
||||
file_xml3_out_content = file_xml3_out.read()
|
||||
|
|
@ -63,7 +61,7 @@ if False:
|
|||
file_xml3.write( content_data)
|
||||
file_xml3.close()
|
||||
|
||||
|
||||
if "template2" in param:
|
||||
file_inc2 = open(directory_to_process + "/event/promotion_template2.inc", 'r')
|
||||
file_inc2_content = file_inc2.read()
|
||||
file_inc_img = open(directory_to_process + "/../image/event/image_template2", 'r')
|
||||
|
|
@ -102,7 +100,7 @@ if False:
|
|||
#print("tmp1=" + tmp1)
|
||||
#print("tmp2=" + tmp2)
|
||||
|
||||
content_data = tmp1 + tmp2
|
||||
content_data = tmp1 + tmp2
|
||||
|
||||
file_xml3_out = open(directory_to_process + "/event/out_put_file2.txt", 'r')
|
||||
file_xml3_out_content = file_xml3_out.read()
|
||||
|
|
@ -113,7 +111,8 @@ if False:
|
|||
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
|
||||
file_xml3.write( content_data)
|
||||
file_xml3.close()
|
||||
|
||||
|
||||
if "template3" in param:
|
||||
file_inc3 = open(directory_to_process + "/event/promotion_template3.inc", 'r')
|
||||
file_inc3_content = file_inc3.read()
|
||||
file_inc_img = open(directory_to_process + "/../image/event/image_template3", 'r')
|
||||
|
|
@ -153,7 +152,7 @@ if False:
|
|||
#print("tmp1=" + tmp1)
|
||||
#print("tmp3=" + tmp3)
|
||||
|
||||
content_data = tmp1 + tmp3
|
||||
content_data = tmp1 + tmp3
|
||||
|
||||
file_xml3_out = open(directory_to_process + "/event/out_put_file3.txt", 'r')
|
||||
file_xml3_out_content = file_xml3_out.read()
|
||||
|
|
@ -164,3 +163,115 @@ if False:
|
|||
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
|
||||
file_xml3.write( content_data)
|
||||
file_xml3.close()
|
||||
|
||||
|
||||
if "template4" in param:
|
||||
# NOTE: promotion_template4.inc, image_template4, promotion_onclick4.inc, out_put_file4.txt
|
||||
|
||||
# promotion 4
|
||||
file_inc3 = open(directory_to_process + "/event/promotion_template4.inc", 'r')
|
||||
file_inc3_content = file_inc3.read()
|
||||
file_inc_img = open(directory_to_process + "/../image/event/image_template4", 'r')
|
||||
file_inc3_img_content = file_inc_img.read()
|
||||
|
||||
# replace key.
|
||||
|
||||
sp_key = file_inc3_img_content.split("\n")
|
||||
print("sp_key = " + str(len( sp_key)))
|
||||
for sp_line in sp_key:
|
||||
sp_line = sp_line.strip()
|
||||
key_val = sp_line.split("=")
|
||||
print("Kenta420:", key_val)
|
||||
if len( key_val) == 2:
|
||||
print("k = " + key_val[0] + " val=" + key_val[1])
|
||||
file_inc3_content = file_inc3_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
|
||||
|
||||
|
||||
file_inc_event_click = open(directory_to_process + "/event/promotion_onclick4.inc", 'r')
|
||||
file_inc_event_click_content = file_inc_event_click.read()
|
||||
|
||||
file_inc3_content = file_inc3_content.replace("###EventOnClick", file_inc_event_click_content)
|
||||
|
||||
|
||||
print(file_inc3_content)
|
||||
|
||||
#print( file_inc_content)
|
||||
content_data_was_repack = file_content_main.replace(";dummy_layout.inc", file_inc_content)
|
||||
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc3_content)
|
||||
|
||||
begin_text = content_data.index(";TAGESP")
|
||||
end_text = content_data.index(";TAGESP", begin_text + 7)
|
||||
#print("sub text = " + str(begin_text) + " end = " + str(end_text))
|
||||
tmp1 = content_data[: begin_text - 7]
|
||||
|
||||
tmp3 = content_data[ end_text:-1]
|
||||
#print("tmp1=" + tmp1)
|
||||
#print("tmp3=" + tmp3)
|
||||
|
||||
content_data = tmp1 + tmp3
|
||||
|
||||
file_xml3_out = open(directory_to_process + "/event/out_put_file4.txt", 'r')
|
||||
file_xml3_out_content = file_xml3_out.read()
|
||||
file_xml3_out_content = file_xml3_out_content.strip()
|
||||
file_xml3_out_content = file_xml3_out_content.replace("\r", "")
|
||||
file_xml3_out_content = file_xml3_out_content.replace("\n", "")
|
||||
|
||||
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
|
||||
file_xml3.write( content_data)
|
||||
file_xml3.close()
|
||||
|
||||
|
||||
|
||||
if "template5" in param:
|
||||
|
||||
# promotion thai tea
|
||||
file_inc3 = open(directory_to_process + "/event/promotion_template5.inc", 'r')
|
||||
file_inc3_content = file_inc3.read()
|
||||
file_inc_img = open(directory_to_process + "/../image/event/image_template5", 'r')
|
||||
file_inc3_img_content = file_inc_img.read()
|
||||
|
||||
# replace key.
|
||||
|
||||
sp_key = file_inc3_img_content.split("\n")
|
||||
print("sp_key = " + str(len( sp_key)))
|
||||
for sp_line in sp_key:
|
||||
sp_line = sp_line.strip()
|
||||
key_val = sp_line.split("=")
|
||||
print("Kenta420:", key_val)
|
||||
if len( key_val) == 2:
|
||||
print("k = " + key_val[0] + " val=" + key_val[1])
|
||||
file_inc3_content = file_inc3_content.replace( "###" + key_val[0], '"' + key_val[1].strip() + '"')
|
||||
|
||||
|
||||
file_inc_event_click = open(directory_to_process + "/event/promotion_onclick5.inc", 'r')
|
||||
file_inc_event_click_content = file_inc_event_click.read()
|
||||
|
||||
file_inc3_content = file_inc3_content.replace("###EventOnClick", file_inc_event_click_content)
|
||||
|
||||
|
||||
print(file_inc3_content)
|
||||
|
||||
#print( file_inc_content)
|
||||
content_data_was_repack = file_content_main.replace(";dummy_layout.inc", file_inc_content)
|
||||
content_data = content_data_was_repack.replace(";BigLogoLayout", file_inc3_content)
|
||||
|
||||
begin_text = content_data.index(";TAGESP")
|
||||
end_text = content_data.index(";TAGESP", begin_text + 7)
|
||||
#print("sub text = " + str(begin_text) + " end = " + str(end_text))
|
||||
tmp1 = content_data[: begin_text - 7]
|
||||
|
||||
tmp3 = content_data[ end_text:-1]
|
||||
#print("tmp1=" + tmp1)
|
||||
#print("tmp3=" + tmp3)
|
||||
|
||||
content_data = tmp1 + tmp3
|
||||
|
||||
file_xml3_out = open(directory_to_process + "/event/out_put_file5.txt", 'r')
|
||||
file_xml3_out_content = file_xml3_out.read()
|
||||
file_xml3_out_content = file_xml3_out_content.strip()
|
||||
file_xml3_out_content = file_xml3_out_content.replace("\r", "")
|
||||
file_xml3_out_content = file_xml3_out_content.replace("\n", "")
|
||||
|
||||
file_xml3 = open(directory_to_process + file_xml3_out_content, 'w')
|
||||
file_xml3.write( content_data)
|
||||
file_xml3.close()
|
||||
|
|
@ -1 +1 @@
|
|||
/event/promotion_3.xml
|
||||
/event/promotion_coconut.xml
|
||||
13133
inter/aus/xml/event/promotion_coconut.xml
Normal file
13133
inter/aus/xml/event/promotion_coconut.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,320 +1 @@
|
|||
Var BigButtonEnable = "Invisible"
|
||||
|
||||
DEBUGVAR BigButtonEnable
|
||||
DEBUGVAR OreoGuarantee
|
||||
|
||||
; Enable all 4 buttons
|
||||
Var SubRandMilkButtonEnable = "Enable"
|
||||
DEBUGVAR SubRandMilkButtonEnable
|
||||
|
||||
Var SubRandTeaButtonEnable = "Enable"
|
||||
DEBUGVAR SubRandTeaButtonEnable
|
||||
|
||||
Var SubRandCoffButtonEnable = "Enable"
|
||||
DEBUGVAR SubRandCoffButtonEnable
|
||||
|
||||
Var SubRandAllButtonEnable = "Enable"
|
||||
DEBUGVAR SubRandAllButtonEnable
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
; For real, yeah for real
|
||||
; All random cup
|
||||
|
||||
Var IndexOfAllRandom = 0
|
||||
Var IndexOfMilk = 0
|
||||
Var IndexOfTea = 0
|
||||
Var IndexOfCoffee = 0
|
||||
|
||||
Var IndexOfRateupOreoAll = 0
|
||||
Var IndexOfRateupOreoMilk = 0
|
||||
Var IndexOfRateupOreoTea = 0
|
||||
Var IndexOfRateupOreoCoffee = 0
|
||||
|
||||
; Oreo smoothie volcano
|
||||
If $12-99-03-0020.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0020"
|
||||
Var ListOfMilk[IndexOfMilk] = "12-99-03-0020"
|
||||
|
||||
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0020"
|
||||
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0020"
|
||||
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfMilk = IndexOfMilk + 1
|
||||
|
||||
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
|
||||
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
|
||||
EndIf
|
||||
|
||||
; Pink milk oreo volcano
|
||||
If $12-99-03-0021.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0021"
|
||||
Var ListOfMilk[IndexOfMilk] = "12-99-03-0021"
|
||||
|
||||
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0021"
|
||||
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0021"
|
||||
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfMilk = IndexOfMilk + 1
|
||||
|
||||
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
|
||||
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
|
||||
EndIf
|
||||
|
||||
; Choco oreo volcano
|
||||
If $12-99-03-0022.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0022"
|
||||
Var ListOfMilk[IndexOfMilk] = "12-99-03-0022"
|
||||
|
||||
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0022"
|
||||
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0022"
|
||||
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfMilk = IndexOfMilk + 1
|
||||
|
||||
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
|
||||
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
|
||||
EndIf
|
||||
|
||||
; Caramel milk oreo volcano
|
||||
If $12-99-03-0023.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0023"
|
||||
Var ListOfMilk[IndexOfMilk] = "12-99-03-0023"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfMilk = IndexOfMilk + 1
|
||||
|
||||
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0023"
|
||||
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0023"
|
||||
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
|
||||
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
|
||||
EndIf
|
||||
|
||||
; Thai milk tea oreo smoothie
|
||||
If $12-99-03-0024.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0024"
|
||||
Var ListOfTea[IndexOfTea] = "12-99-03-0024"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfTea = IndexOfTea + 1
|
||||
|
||||
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0024"
|
||||
Var ListOfOreoTea[IndexOfRateupOreoTea] = "12-99-03-0024"
|
||||
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
|
||||
Var IndexOfRateupOreoTea = IndexOfRateupOreoTea + 1
|
||||
EndIf
|
||||
|
||||
; Cafe late oreo smoothie
|
||||
If $12-99-03-0025.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0025"
|
||||
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0025"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfCoffee = IndexOfCoffee + 1
|
||||
|
||||
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0025"
|
||||
Var ListOfOreoCoffee[IndexOfRateupOreoCoffee] = "12-99-03-0025"
|
||||
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
|
||||
Var IndexOfRateupOreoCoffee = IndexOfRateupOreoCoffee + 1
|
||||
EndIf
|
||||
|
||||
; Strawberry milk oreo volcano
|
||||
If $12-99-03-0026.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0026"
|
||||
Var ListOfMilk[IndexOfMilk] = "12-99-03-0026"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfMilk = IndexOfMilk + 1
|
||||
|
||||
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0026"
|
||||
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0026"
|
||||
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
|
||||
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
|
||||
EndIf
|
||||
|
||||
; Melon milk oreo volcano
|
||||
If $12-99-03-0027.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0027"
|
||||
Var ListOfMilk[IndexOfMilk] = "12-99-03-0027"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfMilk = IndexOfMilk + 1
|
||||
|
||||
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0027"
|
||||
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0027"
|
||||
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
|
||||
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
|
||||
EndIf
|
||||
|
||||
; Bana^2 milk oreo volcano
|
||||
If $12-99-03-0028.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0028"
|
||||
Var ListOfMilk[IndexOfMilk] = "12-99-03-0028"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfMilk = IndexOfMilk + 1
|
||||
|
||||
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0028"
|
||||
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0028"
|
||||
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
|
||||
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
|
||||
EndIf
|
||||
|
||||
; Hojicha oreo volcano
|
||||
If $12-99-03-0028.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0029"
|
||||
Var ListOfTea[IndexOfTea] = "12-99-03-0029"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfTea = IndexOfTea + 1
|
||||
|
||||
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0029"
|
||||
Var ListOfOreoTea[IndexOfRateupOreoTea] = "12-99-03-0029"
|
||||
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
|
||||
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
|
||||
EndIf
|
||||
|
||||
; Thai milk tea smoothie
|
||||
If $12-99-03-0030.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0030"
|
||||
Var ListOfTea[IndexOfTea] = "12-99-03-0030"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfTea = IndexOfTea + 1
|
||||
EndIf
|
||||
|
||||
; Melon milk smoothie
|
||||
If $12-99-03-0031.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0031"
|
||||
Var ListOfMilk[IndexOfMilk] = "12-99-03-0031"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfMilk = IndexOfMilk + 1
|
||||
EndIf
|
||||
|
||||
; Taiwanese tea smoothie
|
||||
If $12-99-03-0032.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0032"
|
||||
Var ListOfTea[IndexOfTea] = "12-99-03-0032"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfTea = IndexOfTea + 1
|
||||
EndIf
|
||||
|
||||
; THAI MILK TEA OREO SMOOTHIE
|
||||
If $12-99-03-0040.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0040"
|
||||
Var ListOfTea[IndexOfTea] = "12-99-03-0040"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfTea = IndexOfTea + 1
|
||||
|
||||
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0040"
|
||||
Var ListOfOreoTea[IndexOfRateupOreoTea] = "12-99-03-0040"
|
||||
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
|
||||
Var IndexOfRateupOreoTea = IndexOfRateupOreoTea + 1
|
||||
EndIf
|
||||
|
||||
; THAI MILK TEA SMOOTHIE
|
||||
If $12-99-03-0041.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0041"
|
||||
Var ListOfTea[IndexOfTea] = "12-99-03-0041"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfTea = IndexOfTea + 1
|
||||
EndIf
|
||||
|
||||
|
||||
; Tokyo bana^2 milk smoothie
|
||||
If $12-99-03-0033.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0033"
|
||||
Var ListOfMilk[IndexOfMilk] = "12-99-03-0033"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfMilk = IndexOfMilk + 1
|
||||
EndIf
|
||||
|
||||
; Hojicha smoothie
|
||||
If $12-99-03-0034.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0034"
|
||||
Var ListOfTea[IndexOfTea] = "12-99-03-0034"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfTea = IndexOfTea + 1
|
||||
EndIf
|
||||
|
||||
; Cocoa bana^2 smoothie
|
||||
If $12-99-03-0035.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0035"
|
||||
Var ListOfMilk[IndexOfMilk] = "12-99-03-0035"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfMilk = IndexOfMilk + 1
|
||||
EndIf
|
||||
|
||||
; Taiwanese tea cafe latte smoothie
|
||||
If $12-99-03-0036.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0036"
|
||||
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0036"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfCoffee = IndexOfCoffee + 1
|
||||
EndIf
|
||||
|
||||
; Melon cafe latte smoothie
|
||||
If $12-99-03-0037.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0037"
|
||||
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0037"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfCoffee = IndexOfCoffee + 1
|
||||
EndIf
|
||||
|
||||
; Taiwanese tea cafe latte smoothie v2
|
||||
If $12-99-03-0038.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0038"
|
||||
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0038"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfCoffee = IndexOfCoffee + 1
|
||||
EndIf
|
||||
|
||||
; Melon cafe latte smoothie v2
|
||||
If $12-99-03-0039.Button = "Enable" Then
|
||||
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0039"
|
||||
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0039"
|
||||
Var IndexOfAllRandom = IndexOfAllRandom + 1
|
||||
Var IndexOfCoffee = IndexOfCoffee + 1
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR IndexOfAllRandom
|
||||
DEBUGVAR IndexOfCoffee
|
||||
DEBUGVAR IndexOfMilk
|
||||
DEBUGVAR IndexOfTea
|
||||
|
||||
DEBUGVAR IndexOfRateupOreoAll
|
||||
DEBUGVAR IndexOfRateupOreoCoffee
|
||||
DEBUGVAR IndexOfRateupOreoMilk
|
||||
DEBUGVAR IndexOfRateupOreoTea
|
||||
|
||||
If IndexOfAllRandom = 0 Then
|
||||
Var SubRandAllButtonEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
If IndexOfCoffee = 0 Then
|
||||
Var SubRandCoffButtonEnable = "Disable"
|
||||
EndIf
|
||||
If IndexOfMilk = 0 Then
|
||||
Var SubRandMilkButtonEnable = "Disable"
|
||||
EndIf
|
||||
If IndexOfTea = 0 Then
|
||||
Var SubRandTeaButtonEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
|
||||
If IndexOfRateupOreoAll = 0 Then
|
||||
Var SubRandAllButtonEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
If IndexOfRateupOreoCoffee = 0 Then
|
||||
Var SubRandCoffButtonEnable = "Disable"
|
||||
EndIf
|
||||
If IndexOfRateupOreoMilk = 0 Then
|
||||
Var SubRandMilkButtonEnable = "Disable"
|
||||
EndIf
|
||||
If IndexOfRateupOreoTea = 0 Then
|
||||
Var SubRandTeaButtonEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
Var ResultRandomIndex = 0
|
||||
|
||||
|
||||
Refresh
|
||||
Open "ROOT/taobin_project/inter/aus/xml/page_catalog_group_promotion_coconut.lxml"
|
||||
|
|
@ -1,305 +1,48 @@
|
|||
;
|
||||
;
|
||||
;
|
||||
|
||||
; Sub-button for 4 random menu
|
||||
|
||||
;
|
||||
;
|
||||
;
|
||||
|
||||
<Button>
|
||||
<X> 43 </X>
|
||||
<Y> 519 </Y>
|
||||
<State> SubRandMilkButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
Var return = "ROOT/taobin_project/image/event/bn_random_milk.png"
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
Var return = "ROOT/taobin_project/image/event/bn_random_milk.png"
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
Var return = "ROOT/taobin_project/image/event/bd_random_milk.png"
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventClick>
|
||||
Var OreoGuarantee = OreoGuarantee + 1
|
||||
Var ResultRandomIndex = 0
|
||||
DEBUGVAR OreoGuarantee
|
||||
If OreoGuarantee > 4 Then
|
||||
Var IndexOfMilk = IndexOfMilk - 1
|
||||
Random2 0 IndexOfMilk ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfMilk[ResultRandomIndex]
|
||||
DEBUGVAR ListOfMilk[ResultRandomIndex]
|
||||
|
||||
Var OreoGuarantee = 0
|
||||
Else
|
||||
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk - 1
|
||||
Random2 0 IndexOfRateupOreoMilk ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfOreoMilk[ResultRandomIndex]
|
||||
DEBUGVAR ListOfOreoMilk[ResultRandomIndex]
|
||||
EndIf
|
||||
|
||||
DEBUGVAR ResultRandomIndex
|
||||
|
||||
Topping "Load" ProductCodeRandom
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 91</X>
|
||||
<Y> 635 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> SubRandMilkButtonEnable </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 301 </X>
|
||||
<Y> 519 </Y>
|
||||
<State> SubRandTeaButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
Var return = "ROOT/taobin_project/image/event/bn_random_tea.png"
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
Var return = "ROOT/taobin_project/image/event/bn_random_tea.png"
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
Var return = "ROOT/taobin_project/image/event/bd_random_tea.png"
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventClick>
|
||||
Var OreoGuarantee = OreoGuarantee + 1
|
||||
Var ResultRandomIndex = 0
|
||||
DEBUGVAR OreoGuarantee
|
||||
DEBUGVAR IndexOfTea
|
||||
DEBUGVAR IndexOfRateupOreoTea
|
||||
If OreoGuarantee > 4 Then
|
||||
|
||||
Var IndexOfTea = IndexOfTea - 1
|
||||
Random2 0 IndexOfTea ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfTea[ResultRandomIndex]
|
||||
DEBUGVAR ListOfTea[ResultRandomIndex]
|
||||
|
||||
Var OreoGuarantee = 0
|
||||
Else
|
||||
|
||||
Var IndexOfRateupOreoTea = IndexOfRateupOreoTea - 1
|
||||
Random2 0 IndexOfRateupOreoTea ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfOreoTea[ResultRandomIndex]
|
||||
DEBUGVAR ListOfOreoTea[ResultRandomIndex]
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR ResultRandomIndex
|
||||
|
||||
Topping "Load" ProductCodeRandom
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 349 </X>
|
||||
<Y> 635 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> SubRandTeaButtonEnable </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 43 </X>
|
||||
<Y> 837 </Y>
|
||||
<State> SubRandCoffButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
Var return = "ROOT/taobin_project/image/event/bn_random_coffee.png"
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
Var return = "ROOT/taobin_project/image/event/bn_random_coffee.png"
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
Var return = "ROOT/taobin_project/image/event/bd_random_coffee.png"
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventClick>
|
||||
Var OreoGuarantee = OreoGuarantee + 1
|
||||
Var ResultRandomIndex = 0
|
||||
DEBUGVAR OreoGuarantee
|
||||
DEBUGVAR IndexOfCoffee
|
||||
DEBUGVAR IndexOfRateupOreoCoffee
|
||||
If OreoGuarantee > 4 Then
|
||||
|
||||
Var IndexOfCoffee = IndexOfCoffee - 1
|
||||
Random2 0 IndexOfCoffee ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfCoffee[ResultRandomIndex]
|
||||
DEBUGVAR ListOfCoffee[ResultRandomIndex]
|
||||
|
||||
Var OreoGuarantee = 0
|
||||
|
||||
Else
|
||||
|
||||
Var IndexOfRateupOreoCoffee = IndexOfRateupOreoCoffee - 1
|
||||
Random2 0 IndexOfRateupOreoCoffee ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfOreoCoffee[ResultRandomIndex]
|
||||
DEBUGVAR ListOfOreoCoffee[ResultRandomIndex]
|
||||
|
||||
EndIf
|
||||
DEBUGVAR ResultRandomIndex
|
||||
|
||||
Topping "Load" ProductCodeRandom
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 91</X>
|
||||
<Y> 953 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> SubRandCoffButtonEnable </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 301 </X>
|
||||
<Y> 837 </Y>
|
||||
<State> SubRandAllButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
Var return = "ROOT/taobin_project/image/event/bn_random_all.png"
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
Var return = "ROOT/taobin_project/image/event/bn_random_all.png"
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
Var return = "ROOT/taobin_project/image/event/bd_random_all.png"
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventClick>
|
||||
Var OreoGuarantee = OreoGuarantee + 1
|
||||
Var ResultRandomIndex = 0
|
||||
DEBUGVAR OreoGuarantee
|
||||
If OreoGuarantee > 4 Then
|
||||
Var IndexOfAllRandom = IndexOfAllRandom - 1
|
||||
Random2 0 IndexOfAllRandom ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfAllRandom[ResultRandomIndex]
|
||||
DEBUGVAR ListOfAllRandom[ResultRandomIndex]
|
||||
Var OreoGuarantee = 0
|
||||
Else
|
||||
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll - 1
|
||||
Random2 0 IndexOfRateupOreoAll ResultRandomIndex
|
||||
Var ProductCodeRandom = ListOfOreoAll[ResultRandomIndex]
|
||||
DEBUGVAR ListOfOreoAll[ResultRandomIndex]
|
||||
|
||||
EndIf
|
||||
DEBUGVAR ResultRandomIndex
|
||||
|
||||
Topping "Load" ProductCodeRandom
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 349</X>
|
||||
<Y> 953 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> SubRandAllButtonEnable </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
; Big button for mys event
|
||||
;
|
||||
;
|
||||
;
|
||||
|
||||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_en.png"
|
||||
<Y> 520 </Y>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_th.png"
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_en.png"
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###press_eng
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_th.png"
|
||||
Var return = ###press_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_en.png"
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###disable_eng
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_th.png"
|
||||
Var return = ###disable_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
<EventOnClick>
|
||||
|
||||
###EventOnClick
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BigButtonEnable = "Enable"
|
||||
Var BigButtonEnable = "Enable"
|
||||
Refresh
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
Var BigButtonEnable = "Invisible"
|
||||
Refresh
|
||||
</EventUnitTest2>
|
||||
</EventUnitTest2>
|
||||
|
|
@ -6,16 +6,20 @@ Var BigButtonEnable = "Enable"
|
|||
|
||||
Var RecommendPage = "ROOT/taobin_project/inter/aus/xml/page_catalog_group_recommend.lxml"
|
||||
|
||||
If WinterWarmersCatalogFlag = 1 Then
|
||||
Var RecommendPage = "ROOT/taobin_project/inter/aus/xml/event/promotion_winter_warmers.lxml"
|
||||
EndIf
|
||||
;If WinterWarmersCatalogFlag = 1 Then
|
||||
; Var RecommendPage = "ROOT/taobin_project/inter/aus/xml/event/promotion_winter_warmers.lxml"
|
||||
;EndIf
|
||||
;
|
||||
;If WestfieldCatalogFlag = 1 Then
|
||||
; Var RecommendPage = "ROOT/taobin_project/inter/aus/xml/event/promotion_westfield.lxml"
|
||||
;EndIf
|
||||
;
|
||||
;If AnniverseryPro = 1 Then
|
||||
; Var RecommendPage = "ROOT/taobin_project/inter/aus/xml/event/promotion_anniversary_1st.lxml"
|
||||
;EndIf
|
||||
|
||||
If WestfieldCatalogFlag = 1 Then
|
||||
Var RecommendPage = "ROOT/taobin_project/inter/aus/xml/event/promotion_westfield.lxml"
|
||||
EndIf
|
||||
|
||||
If AnniverseryPro = 1 Then
|
||||
Var RecommendPage = "ROOT/taobin_project/inter/aus/xml/event/promotion_anniversary_1st.lxml"
|
||||
If CoconutProFlag = 1 Then
|
||||
Var RecommendPage = "ROOT/taobin_project/inter/aus/xml/event/promotion_coconut.xml"
|
||||
EndIf
|
||||
|
||||
If OpenFromPageBoard = 1 Then
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ Var WinterWarmersCatalogFlag = 0
|
|||
|
||||
Var WestfieldCatalogFlag = 0
|
||||
|
||||
Var CoconutProFlag = 1
|
||||
|
||||
; 2 - 29 Sep
|
||||
Var AnniverseryPro = 0
|
||||
|
||||
|
|
@ -28,11 +30,5 @@ EndIf
|
|||
|
||||
Var XMLLiveInfoEnable = 1
|
||||
|
||||
|
||||
If BoxID = 200027 Then
|
||||
Var AnniverseryPro = 1
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR Propepsi99Enable
|
||||
DEBUGVAR DisplayFormatFull
|
||||
File diff suppressed because it is too large
Load diff
4110
inter/aus/xml/page_catalog_group_promotion_coconut.lxml
Normal file
4110
inter/aus/xml/page_catalog_group_promotion_coconut.lxml
Normal file
File diff suppressed because it is too large
Load diff
40
inter/aus/xml/page_catalog_group_promotion_coconut.skt
Normal file
40
inter/aus/xml/page_catalog_group_promotion_coconut.skt
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_default_init.lxml"
|
||||
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new_menu.lxml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/inter/aus/xml/menu_catalog_new.lxml"
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1534,94 +1534,182 @@ EndIf
|
|||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 328 </X>
|
||||
<Y> 1499 </Y>
|
||||
<State> PayState3</State>
|
||||
<Filename> "ROOT/taobin_project/inter/aus/image/payment_cash/bn_pay_qrcode.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/aus/image/payment_cash/bp_pay_qrcode.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/aus/image/payment_cash/bd_pay_qrcode.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
;<Button>
|
||||
;<X> 216 </X>
|
||||
;<Y> 1499 </Y>
|
||||
;<State> PayState3</State>
|
||||
;<Filename> "ROOT/taobin_project/inter/aus/image/payment_cash/bn_pay_qrcode.png" </Filename>
|
||||
;<FilenamePress> "ROOT/taobin_project/inter/aus/image/payment_cash/bp_pay_qrcode.png" </FilenamePress>
|
||||
;<FilenameDisable> "ROOT/taobin_project/inter/aus/image/payment_cash/bd_pay_qrcode.png" </FilenameDisable>
|
||||
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
;<Volume> SoundVolume </Volume>
|
||||
;<EventClick>
|
||||
;
|
||||
; If Timeout < 120 Then
|
||||
; If CoinInFlag = 0 Then
|
||||
; If CancelFlag = 0 Then
|
||||
; If alphaState = "Invisible" Then
|
||||
;
|
||||
; Var QR_POPUP = "/img_popup1.png"
|
||||
; Var QRCODE99 = ""
|
||||
;
|
||||
; Var LOADING_STATE = "Enable"
|
||||
;
|
||||
; Var FlagQROpened = 1
|
||||
; Var alphaState = "Enable"
|
||||
;
|
||||
; VendingQR ON
|
||||
;
|
||||
; Var SessionID2 = SelectSlot + ":"
|
||||
; Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||
;
|
||||
; Var CreditAmount1 = ""
|
||||
; Var ServiceAmountFlow = ""
|
||||
; Var TelephoneNumberQR = "0899999999"
|
||||
; Var ServiceType = "coffee"
|
||||
; Var ECommerceQR = ""
|
||||
; Var ECommerceQR = ECommerceQR + PriceDrink
|
||||
; Var ECommerceQR = ECommerceQR + "/"
|
||||
; Var ECommerceQR = ECommerceQR + DiscountDrink
|
||||
; Var ECommerceQR = ECommerceQR + "/"
|
||||
; Var ECommerceQR = ECommerceQR + SessionID2
|
||||
; Var ECommerceQR = ECommerceQR + "/"
|
||||
; Var ECommerceQR = ECommerceQR + SelectDrink
|
||||
; Var ECommerceQR = ECommerceQR + "/"
|
||||
; Var ECommerceQR = ECommerceQR + "FZB:2/"
|
||||
;
|
||||
; If Seeker.IntVendingCampaign > 0 Then
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
; EndIf
|
||||
;
|
||||
; If Seeker.IntVendingCredit > 0 Then
|
||||
; If Seeker.IntVendingCampaign > 0 Then
|
||||
; Var ECommerceQR = ECommerceQR + "|"
|
||||
; EndIf
|
||||
; Var ECommerceQR = ECommerceQR + "CRD"
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.TNumberTaobinCredit
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.IntVendingCredit
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + PointCrm
|
||||
; EndIf
|
||||
;
|
||||
;
|
||||
; Var ServiceParameter = "max"
|
||||
; Var ServiceCharge = 0
|
||||
; Var AccountType = "new"
|
||||
; Var testservice = "kbank"
|
||||
; Var tc = ""
|
||||
; Var GetScore = ""
|
||||
; Var OperatorName = ""
|
||||
; Var SessionID = ""
|
||||
;
|
||||
; Var PayDetail2 = Seeker.PayDetail2
|
||||
; GetPayInfo TelephoneNumberQR ECommerceQR ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||
; Var ReqPayInfoFlag = 1
|
||||
; Refresh
|
||||
; EndIf
|
||||
; EndIf
|
||||
; EndIf
|
||||
; EndIf
|
||||
;
|
||||
;
|
||||
;</EventClick>
|
||||
;</Button>
|
||||
If Timeout < 120 Then
|
||||
If CoinInFlag = 0 Then
|
||||
If CancelFlag = 0 Then
|
||||
If alphaState = "Invisible" Then
|
||||
|
||||
Var QR_POPUP = "/img_popup1.png"
|
||||
Var QRCODE99 = ""
|
||||
|
||||
Var LOADING_STATE = "Enable"
|
||||
|
||||
Var FlagQROpened = 1
|
||||
Var alphaState = "Enable"
|
||||
|
||||
VendingQR ON
|
||||
|
||||
Var SessionID2 = SelectSlot + ":"
|
||||
Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||
|
||||
Var CreditAmount1 = ""
|
||||
Var ServiceAmountFlow = ""
|
||||
Var TelephoneNumberQR = "0899999999"
|
||||
Var ServiceType = "coffee"
|
||||
Var ECommerceQR = ""
|
||||
Var ECommerceQR = ECommerceQR + PriceDrink
|
||||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + DiscountDrink
|
||||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + SessionID2
|
||||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + SelectDrink
|
||||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + "FZB:2/"
|
||||
|
||||
If Seeker.IntVendingCampaign > 0 Then
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
EndIf
|
||||
|
||||
If Seeker.IntVendingCredit > 0 Then
|
||||
If Seeker.IntVendingCampaign > 0 Then
|
||||
Var ECommerceQR = ECommerceQR + "|"
|
||||
EndIf
|
||||
Var ECommerceQR = ECommerceQR + "CRD"
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.TNumberTaobinCredit
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.IntVendingCredit
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + PointCrm
|
||||
EndIf
|
||||
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
Var GetScore = ""
|
||||
Var OperatorName = ""
|
||||
Var SessionID = ""
|
||||
|
||||
Var PayDetail2 = Seeker.PayDetail2
|
||||
GetPayInfo TelephoneNumberQR ECommerceQR ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||
Var ReqPayInfoFlag = 1
|
||||
Refresh
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 552 </X>
|
||||
<Y> 1499 </Y>
|
||||
<State> PayState3</State>
|
||||
<Filename> "ROOT/taobin_project/inter/aus/image/payment_cash/bn_pay_with_codeOther.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/aus/image/payment_cash/bp_pay_with_codeOther.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/aus/image/payment_cash/bd_pay_with_codeOther.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If Timeout < 120 Then
|
||||
If CoinInFlag = 0 Then
|
||||
If CancelFlag = 0 Then
|
||||
If alphaState = "Invisible" Then
|
||||
|
||||
Var QR_POPUP = "/img_popup1.png"
|
||||
Var QRCODE99 = ""
|
||||
|
||||
Var LOADING_STATE = "Enable"
|
||||
|
||||
Var FlagQROpened = 1
|
||||
Var alphaState = "Enable"
|
||||
|
||||
VendingQR ON
|
||||
|
||||
Var SessionID2 = SelectSlot + ":"
|
||||
Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||
|
||||
Var CreditAmount1 = ""
|
||||
Var ServiceAmountFlow = ""
|
||||
Var TelephoneNumberQR = "0899999999"
|
||||
Var ServiceType = "coffee"
|
||||
Var ECommerceQR = ""
|
||||
Var ECommerceQR = ECommerceQR + PriceDrink
|
||||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + DiscountDrink
|
||||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + SessionID2
|
||||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + SelectDrink
|
||||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + "FZB:2/"
|
||||
|
||||
If Seeker.IntVendingCampaign > 0 Then
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
EndIf
|
||||
|
||||
If Seeker.IntVendingCredit > 0 Then
|
||||
If Seeker.IntVendingCampaign > 0 Then
|
||||
Var ECommerceQR = ECommerceQR + "|"
|
||||
EndIf
|
||||
Var ECommerceQR = ECommerceQR + "CRD"
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.TNumberTaobinCredit
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.IntVendingCredit
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + PointCrm
|
||||
EndIf
|
||||
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
Var GetScore = ""
|
||||
Var OperatorName = ""
|
||||
Var SessionID = ""
|
||||
|
||||
Var PayDetail2 = Seeker.PayDetail2
|
||||
GetPayInfo TelephoneNumberQR ECommerceQR ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||
Var ReqPayInfoFlag = 1
|
||||
Refresh
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 360 </X>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue