add peach promotion

This commit is contained in:
Kenta420 2024-01-29 12:01:55 +07:00
parent cd976b3f49
commit 75c033fb31
53 changed files with 17416 additions and 63 deletions

View file

@ -1,6 +1,6 @@
normal_eng=ROOT/taobin_project/image/event/my_mint_my_moment/pro_mymint_th.png normal_eng=ROOT/taobin_project/image/event/pro_peach.png
normal_thai=ROOT/taobin_project/image/event/my_mint_my_moment/pro_mymint_th.png normal_thai=ROOT/taobin_project/image/event/pro_peach.png
press_eng=ROOT/taobin_project/image/event/my_mint_my_moment/pro_mymint_th.png press_eng=ROOT/taobin_project/image/event/pro_peach.png
press_thai=ROOT/taobin_project/image/event/my_mint_my_moment/pro_mymint_th.png press_thai=ROOT/taobin_project/image/event/pro_peach.png
disable_eng=ROOT/taobin_project/image/event/my_mint_my_moment/pro_mymint_th.png disable_eng=ROOT/taobin_project/image/event/pro_peach.png
disable_thai=ROOT/taobin_project/image/event/my_mint_my_moment/pro_mymint_th.png disable_thai=ROOT/taobin_project/image/event/pro_peach.png

BIN
image/event/pro_peach.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Before After
Before After

View file

@ -1 +1 @@
/event/promotion_mymint.xml /event/promotion_peach.xml

View file

@ -1 +1 @@
Var BigButtonEnable = "Invisible" Open "ROOT/taobin_project/xml/page_catalog_group_pro_peach.xml"

10853
xml/event/promotion_peach.xml Normal file

File diff suppressed because it is too large Load diff

View file

@ -2,8 +2,7 @@
<Button> <Button>
<X> 42 </X> <X> 42 </X>
<Y> 520 </Y> <Y> 520 </Y>
<State> BigButtonEnable </State>
<State> BigButtonEnable </State>
<Filename> <Filename>
eval( eval(
If show_eng = "true" Then If show_eng = "true" Then
@ -16,64 +15,26 @@
<FilenamePress> <FilenamePress>
eval( eval(
If show_eng = "true" Then If show_eng = "true" Then
Var return = ###normal_eng Var return = ###press_eng
Else Else
Var return = ###normal_thai Var return = ###press_thai
EndIf EndIf
) )
</FilenamePress> </FilenamePress>
<FilenameDisable> <FilenameDisable>
eval( eval(
If show_eng = "true" Then If show_eng = "true" Then
Var return = ###normal_eng Var return = ###disable_eng
Else Else
Var return = ###normal_thai Var return = ###disable_thai
EndIf EndIf
) )
</FilenameDisable> </FilenameDisable>
<EventOnClick> <EventOnClick>
Open "ROOT/taobin_project/xml/page_catalog_group_pro_mymint.xml" ###EventOnClick
</EventOnClick> </EventOnClick>
<Video>
<X> 42 </X>
<Y> 520 </Y>
<Width> 484 </Width>
<Height> 616 </Height>
<Loop> "true" </Loop>
<State>
eval(
If show_eng = "true" Then
Var return = "Invisible"
Else
Var return = "Enable"
EndIf
)
</State>
<Filename> "ROOT/taobin_project/image/event/my_mint_my_moment/pro_mymint_th.mp4" </Filename>
</Video>
<Video>
<X> 42 </X>
<Y> 520 </Y>
<Width> 484 </Width>
<Height> 616 </Height>
<State>
eval(
If show_eng = "true" Then
Var return = "Enable"
Else
Var return = "Invisible"
EndIf
)
</State>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/image/event/my_mint_my_moment/pro_mymint_en.mp4" </Filename>
</Video>
</Button> </Button>
<EventUnitTest1> <EventUnitTest1>

View file

@ -16,15 +16,15 @@ Else
; zone promote ; zone promote
If OpenFromPageBoard = 1 Then If OpenFromPageBoard = 1 Then
If RerunProEnable = 1 Then If ProPeachEnable = 1 Then
Var BigButtonEnable = "Enable" Var BigButtonEnable = "Enable"
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_rerun.xml" OpenInst 2 "ROOT/taobin_project/xml/event/promotion_peach.xml"
Var OpenFromPageBoard = 0 Var OpenFromPageBoard = 0
Else Else
If pro15THBEnable = 1 Then If RerunProEnable = 1 Then
Var BigButtonEnable = "Enable" Var BigButtonEnable = "Enable"
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_15THB.xml" OpenInst 2 "ROOT/taobin_project/xml/event/promotion_rerun.xml"
Var OpenFromPageBoard = 0 Var OpenFromPageBoard = 0
Else Else
@ -40,9 +40,9 @@ Else
Open "ROOT/taobin_project/xml/event/promotion_rerun.xml" Open "ROOT/taobin_project/xml/event/promotion_rerun.xml"
Else Else
If pro15THBEnable = 1 Then If ProPeachEnable = 1 Then
Var BigButtonEnable = "Enable" Var BigButtonEnable = "Enable"
Open "ROOT/taobin_project/xml/event/promotion_15THB.xml" Open "ROOT/taobin_project/xml/event/promotion_peach.xml"
Else Else
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml" Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"

View file

@ -57,6 +57,9 @@ Var FromMyMintPro = 0
Var RerunProEnable = 0 Var RerunProEnable = 0
Var FromRerunPro = 0 Var FromRerunPro = 0
; Enable pro Peach, Feb 1 - 13
Var ProPeachEnable = 0
Var NewCollectPoint = 1 Var NewCollectPoint = 1
If SystemDateMonthInt = 10 Then If SystemDateMonthInt = 10 Then
@ -104,14 +107,25 @@ If SystemDateMonthInt = 1 Then
EndIf EndIf
If SystemDateMonthInt = 2 Then
If SystemDateDayInt >= 1 Then
If SystemDateDayInt <= 13 Then
Var ProPeachEnable = 1
EndIf
EndIf
EndIf
If BoxID = 173149 Then If BoxID = 173149 Then
Var RerunProEnable = 1 Var RerunProEnable = 0
Var ProPeachEnable = 1
EndIf EndIf
If BoxID = 105005 Then If BoxID = 105005 Then
Var RerunProEnable = 1 Var RerunProEnable = 0
Var ProPeachEnable = 1
EndIf EndIf
If BoxID = 175668 Then If BoxID = 175668 Then
@ -169,6 +183,7 @@ If InternationalEnable = 1 Then
Var MysteryProEnable = 0 Var MysteryProEnable = 0
Var PepweenEnable = 0 Var PepweenEnable = 0
Var RerunProEnable = 0 Var RerunProEnable = 0
Var ProPeachEnable = 0
EndIf EndIf

View file

@ -544,7 +544,7 @@
Var block_index_override = 0 Var block_index_override = 0
Var block_index_move = 0 Var block_index_move = 0
</Script> </Script>
; menu_new_list 60 ; menu_new_list 61
; ==================> Len = 17 ; ==================> Len = 17
; 12-01-01-0001 - - ; 12-01-01-0001 - -
<Block> <Block>

View file

@ -0,0 +1,45 @@
<?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.py
?>
Var Timeout = 0
<?hurr
#include=menu_catalog_new_menu.py
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?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

View file

@ -0,0 +1,45 @@
<?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.py
?>
Var Timeout = 0
<?hurr
#include=menu_catalog_new_menu.py
?>
</EventOpen>
<?hurr
#include=menu_catalog_new.py
?>
<?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