THAI: Bad valentine promotion
This commit is contained in:
parent
01408bb477
commit
f4f2d64d1f
48 changed files with 12065 additions and 85 deletions
|
|
@ -1 +1 @@
|
|||
/event/promotion_15THB.xml
|
||||
/event/promotion_bad_valentine.xml
|
||||
11402
xml/event/promotion_bad_valentine.xml
Normal file
11402
xml/event/promotion_bad_valentine.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1 +1 @@
|
|||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_15THB.xml"
|
||||
Var BigButtonEnable = "Invisible"
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@
|
|||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 520 </Y>
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
|
|
@ -15,26 +16,64 @@
|
|||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###press_eng
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###press_thai
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###disable_eng
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###disable_thai
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
###EventOnClick
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_bad_valentine.xml"
|
||||
|
||||
</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/bad_valentine/bad_valentine_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/bad_valentine/bad_valentine_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
|
|
|
|||
|
|
@ -16,15 +16,15 @@ Else
|
|||
; zone promote
|
||||
If OpenFromPageBoard = 1 Then
|
||||
|
||||
If ProPeachEnable = 1 Then
|
||||
If ProBadValentineEnable = 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_peach.xml"
|
||||
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_bad_valentine.xml"
|
||||
Var OpenFromPageBoard = 0
|
||||
|
||||
Else
|
||||
If RerunProEnable = 1 Then
|
||||
If ProPeachEnable = 1 Then
|
||||
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
|
||||
|
||||
Else
|
||||
|
|
@ -33,14 +33,14 @@ Else
|
|||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If ProPeachEnable = 1 Then
|
||||
If ProBadValentineEnable = 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
Open "ROOT/taobin_project/xml/event/promotion_peach.xml"
|
||||
Open "ROOT/taobin_project/xml/event/promotion_bad_valentine.xml"
|
||||
|
||||
Else
|
||||
If RerunProEnable = 1 Then
|
||||
If ProPeachEnable = 1 Then
|
||||
Var BigButtonEnable = "Enable"
|
||||
Open "ROOT/taobin_project/xml/event/promotion_rerun.xml"
|
||||
Open "ROOT/taobin_project/xml/event/promotion_peach.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -60,6 +60,9 @@ Var FromRerunPro = 0
|
|||
; Enable pro Peach, Feb 1 - 13
|
||||
Var ProPeachEnable = 0
|
||||
|
||||
; Enable Bad valentine, Feb 14 - 29
|
||||
Var ProBadValentineEnable = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
|
||||
Var NewFlowPaymentCode = 0
|
||||
|
|
@ -116,6 +119,10 @@ If SystemDateMonthInt = 2 Then
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 14 Then
|
||||
Var ProBadValentineEnable = 1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -136,7 +143,7 @@ If BoxID = 201316 Then
|
|||
EndIf
|
||||
|
||||
If BoxID = 105005 Then
|
||||
Var ProPeachEnable = 1
|
||||
Var ProBadValentineEnable = 1
|
||||
Var NewFlowPaymentCode = 1
|
||||
EndIf
|
||||
|
||||
|
|
@ -177,6 +184,7 @@ If InternationalEnable = 1 Then
|
|||
Var PepweenEnable = 0
|
||||
Var RerunProEnable = 0
|
||||
Var ProPeachEnable = 0
|
||||
Var ProBadValentineEnable = 0
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue