This commit is contained in:
Ittipat Lusuk 2025-06-19 16:46:39 +07:00
commit c3d3b9585f
382 changed files with 135091 additions and 4629 deletions

View file

@ -1052,8 +1052,6 @@ Iced Americano 12-01-02-0081 1 2 3 4 5 23 16 24 133 2:13 22
Iced Americano 12-21-01-0081 1 2 3 4 5 23 16 24 133 2:13 22
Iced Americano 12-21-02-0081 1 2 3 4 5 23 16 24 133 2:13 22
เจมิลากาโน่ 12-21-02-0075 1 2 3 5 63 24 133 2:13 22
เจมิลากาโน่ 12-01-02-0075 1 2 3 5 63 24 133 3:13 22
เจมิลานมเย็น 12-03-02-0075 1 2 3 5 63 7 24 133 4:13 22
เจมิลาออรจินอลเย็น 12-05-02-0124 1 63 23 24 133 5:13 22
เจมิลาชาไทยเย็น 12-02-02-0068 1 6 10 63 23 24 133 6:13 22
@ -1441,3 +1439,40 @@ Macallan Lumina Mizuwari 11-99-05-0055 1 27 28 24 100 7:40 32
ชาไต้หวันมะพร้าวปั่น 12-02-02-0117 1 10 62 23 41 24 100 7:40 32
ชาไต้หวันสละเย็น 12-02-01-0118 1 10 21 23 24 100 7:40 32
ชาไต้หวันสละปั่น 12-02-02-0118 1 10 21 23 41 24 100 7:40 32
อเมริกาโนร้อน 12-21-01-0003 1 2 3 4 5 16 24 100 7:40 32
อเมริกาโนเย็น 12-21-02-0001 1 2 3 4 5 23 16 24 100 7:40 32
ลิ้นจี่กาโน่ร้อน 12-21-01-0017 1 2 3 4 5 11 16 24 100 7:40 32
ลิ้นจี่กาโน่เย็น 12-21-02-0017 1 2 3 4 5 11 16 23 24 100 7:40 32
ยูซุกาโน่ร้อน 12-21-01-0040 1 53 3 5 6 7 24 100 7:40 32
ยูซุกาโน่เย็น 12-21-02-0040 1 53 3 5 6 7 23 24 100 7:40 32
มินต์กาโน่ร้อน 12-21-01-0058 1 2 3 5 59 16 24 100 7:40 32
มินต์กาโน่เย็น 12-21-02-0058 1 2 3 5 59 16 23 24 100 7:40 32
กาแฟดำ มะพร้าวน้ำหอมร้อน 12-01-01-0068 1 62 2 3 4 5 16 24 100 7:40 32
กาแฟดำ มะพร้าวน้ำหอมร้อน 12-21-01-0068 1 62 2 3 4 5 16 24 100 7:40 32
ฟรุตพันช์ อเมริกาโนเย็น 12-01-02-0075 1 63 2 3 4 5 23 16 24 100 7:40 32
ฟรุตพันช์ อเมริกาโนเย็น 12-21-02-0075 1 63 2 3 4 5 23 16 24 100 7:40 32
สตรอเบอรี อเมริกาโนร้อน 12-01-01-0093 1 19 2 3 4 5 16 24 100 7:40 32
สตรอเบอรี อเมริกาโนเย็น 12-01-02-0093 1 19 2 3 4 5 23 16 24 100 7:40 32
สตรอเบอรี อเมริกาโนร้อน 12-21-01-0093 1 19 2 3 4 5 16 24 100 7:40 32
สตรอเบอรี อเมริกาโนเย็น 12-21-02-0093 1 19 2 3 4 5 23 16 24 100 7:40 32
สละ อเมริกาโนร้อน 12-01-01-0094 1 21 2 3 4 5 16 24 100 7:40 32
สละ อเมริกาโนเย็น 12-01-02-0094 1 21 2 3 4 5 23 16 24 100 7:40 32
สละ อเมริกาโนร้อน 12-21-01-0094 1 21 2 3 4 5 16 24 100 7:40 32
สละ อเมริกาโนเย็น 12-21-02-0094 1 21 2 3 4 5 23 16 24 100 7:40 32
คาราเมล อเมริกาโนร้อน 12-01-01-0095 1 22 2 3 4 5 16 24 100 7:40 32
คาราเมล อเมริกาโนเย็น 12-01-02-0095 1 22 2 3 4 5 23 16 24 100 7:40 32
คาราเมล อเมริกาโนร้อน 12-21-01-0095 1 22 2 3 4 5 16 24 100 7:40 32
คาราเมล อเมริกาโนเย็น 12-21-02-0095 1 22 2 3 4 5 23 16 24 100 7:40 32
บ๊วย อเมริกาโนร้อน 12-01-01-0096 1 60 2 3 4 5 16 24 100 7:40 32
บ๊วย อเมริกาโนเย็น 12-01-02-0096 1 60 2 3 4 5 23 16 24 100 7:40 32
บ๊วย อเมริกาโนร้อน 12-21-01-0096 1 60 2 3 4 5 16 24 100 7:40 32
บ๊วย อเมริกาโนเย็น 12-21-02-0096 1 60 2 3 4 5 23 16 24 100 7:40 32
อเมริกาโนทรงพลังร้อน 12-01-01-0097 1 34 2 3 4 5 16 24 100 7:40 32
อเมริกาโนทรงพลังเย็น 12-01-02-0097 1 34 2 3 4 5 23 16 24 100 7:40 32
อเมริกาโนทรงพลังร้อน 12-21-01-0097 1 34 2 3 4 5 16 24 100 7:40 32
อเมริกาโนทรงพลังเย็น 12-21-02-0097 1 34 2 3 4 5 23 16 24 100 7:40 32
อเมริกาโน ดับเบิลช็อตใหม่ร้อน 12-01-01-0098 1 2 3 4 5 16 24 100 7:40 32
อเมริกาโน ดับเบิลช็อตใหม่เย็น 12-01-02-0098 1 2 3 4 5 23 16 24 100 7:40 32
อเมริกาโน ดับเบิลช็อตใหม่ร้อน 12-21-01-0098 1 2 3 4 5 16 24 100 7:40 32
อเมริกาโน ดับเบิลช็อตใหม่เย็น 12-21-02-0098 1 2 3 4 5 23 16 24 100 7:40 32

Can't render this file because it has a wrong number of fields in line 40.

View file

@ -277,7 +277,7 @@
002020 Adjust Recipe ปรับสูตร 调整配方 အရသာ ပြင်မယ်
002021 Add up an extra yummy topping [(max 2)###Font=KanitLight,Size=20] เพิ่มส่วนผสมพิเศษ [(เลือกสูงสุด 2 ข้อ)###Font=KanitLight,Size=20] 添加额外美味配料 [(最多可选 2 项)###Font=KanitLight,Size=20] အရသာရှိတဲ့ ထပ်ထည့်မှု[(၂ မျိုး များဆုံး)###Font=KanitLight,Size=20]
002022 D.I.Y. your cup, your style [(max 1)###Font=KanitLight,Size=20] เพิ่มไซรัปฉ่ำๆ D.I.Y ความอร่อยได้เลย [(เลือกสูงสุด 1 ข้อ)###Font=KanitLight,Size=20] 自定义你的杯子,你的风格 [(最多可选 1 项)###Font=KanitLight,Size=20] ကိုယ်ပိုင်စတိုင်နဲ့ ခွက်လုပ်ပါ[(အများဆုံး ၁ အချက်)###Font=KanitLight,Size=20]
Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46 Font=Kanit,Type=Regular,Size=36,Color=0x513C2F,LineHeight=46
002028 Taiwanese tea Intensity ความเจ้มจ้นของชาไต้หวัน 台湾茶浓度 တိုင်ဝမ်လက်ဖက်ရည်အား
002029 Sugar type ประเภทน้ำตาล 糖类选择 သကြား အမျိုးအစား

Can't render this file because it contains an unexpected character in line 212 and column 14.

View file

@ -11,7 +11,8 @@ if "v3" in param and "promotion" in param and "other_catalog" in param:
files = os.listdir(directory_to_process + "/event/event_v3/catalog_other")
files = [f for f in files if f.endswith(".json")]
for filename in files:
files.sort()
for filename in reversed(files):
pro_json_file = open(directory_to_process + "/event/event_v3/catalog_other/"+ filename)
pro_json = json.load(pro_json_file)
start_time = datetime.datetime.strptime(pro_json["start"], "%Y-%m-%dT%H:%M:%S")
@ -25,9 +26,9 @@ if "v3" in param and "promotion" in param and "other_catalog" in param:
pro_content = pro_content.replace("#EventClick", pro_json["event_click"])
all_active_pro += pro_content + "\n\t"
pro_output_file = open(directory_to_process + "/event/event_v3/catalog_other/active_promotions.lxml", 'w')
pro_output_file.write(template_content.replace(";banners", all_active_pro))
pro_output_file.close()
pro_output_file = open(directory_to_process + "/event/event_v3/catalog_other/active_promotions.lxml", 'w')
pro_output_file.write(template_content.replace(";banners", all_active_pro))
pro_output_file.close()
if "v3" in param and "promotion" in param:
file_template = open(directory_to_process + "/page_catalog_group_recommend.lxml", 'r')
@ -43,7 +44,7 @@ if "v3" in param and "promotion" in param:
files = os.listdir(directory_to_process + "/event/event_v3")
files = [f for f in files if f.endswith(".json")]
files.sort()
for filename in files:
for filename in reversed(files):
pro_json_file = open(directory_to_process + "/event/event_v3/"+ filename)
pro_json = json.load(pro_json_file)
start_time = datetime.datetime.strptime(pro_json["start"], "%Y-%m-%dT%H:%M:%S")

View file

@ -0,0 +1,9 @@
{
"start": "2025-07-01T00:00:00",
"end": "2025-07-31T00:00:00",
"state": "AmericanoProState",
"type": "IMAGE",
"media_thai": "ROOT/taobin_project/image/event/americano/americano_banner.png",
"media_eng": "ROOT/taobin_project/image/event/americano/americano_banner.png",
"event_click": "TabMenuVisibleInst 99\r\nOpenInst 2 \"ROOT/taobin_project/inter/tha/xml/multi/v3/page_catalog_group_pro_americano.lxml\""
}

View file

@ -108,6 +108,23 @@
<MenuUnavailableLabel> 000013 </MenuUnavailableLabel>
</Configuration>
<Menus>
<Banner>
<State> AmericanoProState </State>
<Type> IMAGE </Type>
<Media>
eval(
If show_eng = "true" Then
Var return = "ROOT/taobin_project/image/event/americano/americano_banner.png"
Else
Var return = "ROOT/taobin_project/image/event/americano/americano_banner.png"
EndIf
)
</Media>
<EventOnClick>
TabMenuVisibleInst 99
OpenInst 2 "ROOT/taobin_project/inter/tha/xml/multi/v3/page_catalog_group_pro_americano.lxml"
</EventOnClick>
</Banner>
<Banner>
<State> TaiwaneseTeaProState </State>
<Type> IMAGE </Type>

View file

@ -0,0 +1,42 @@
<?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/tha/xml/multi/menu_catalog_default_init.lxml"
Var Timeout = 0
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
SetInstanceIgnoreTouch
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
;include="ROOT/taobin_project/inter/tha/xml/multi/ForProGroup.inc"
TimerReset
</EventTimeout>
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new.lxml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>