THAI: Update ads popup

This commit is contained in:
Kenta420 2024-07-19 16:02:36 +07:00
parent 3a4ec3cd4a
commit bef2d07ffd
14 changed files with 94 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -1,15 +1,18 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xffffff" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
Var Timeout = 0
Var TimeoutTarget = 10
Var ImgDir = "ROOT/taobin_project/image/event/lucky_draw_ads/"
Var Extension = ".png"
Var Show_QR_Popup_State = "Invisible"
Var Text_X = 207
Var Text_Y = 1470
@ -27,7 +30,7 @@
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 10 Then
If Timeout > TimeoutTarget Then
; Go back to lid straw page
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
@ -65,16 +68,101 @@
</Image>
<Button>
<X> 397 </X>
<X> 222 </X>
<Y> 1699 </Y>
<Filename> Var(ImgDir + "bn_next.png") </Filename>
<FilenamePress> Var(ImgDir + "bp_next.png") </FilenamePress>
<FilenameDisable> Var(ImgDir + "bp_next.png") </FilenameDisable>
<Filename>
eval(
Var return = ImgDir + "bn_skip"
Var return = return + Extension
)
</Filename>
<FilenamePress>
eval(
Var return = ImgDir + "bp_skip"
Var return = return + Extension
)
</FilenamePress>
<FilenameDisable>
eval(
Var return = ImgDir + "bp_skip"
Var return = return + Extension
)
</FilenameDisable>
<EventClick>
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
</EventClick>
</Button>
<Button>
<X> 579 </X>
<Y> 1699 </Y>
<Filename>
eval(
Var return = ImgDir + "bn_interested"
Var return = return + Extension
)
</Filename>
<FilenamePress>
eval(
Var return = ImgDir + "bp_interested"
Var return = return + Extension
)
</FilenamePress>
<FilenameDisable>
eval(
Var return = ImgDir + "bp_interested"
Var return = return + Extension
)
</FilenameDisable>
<EventClick>
Var Show_QR_Popup_State = "Enable"
Var Timeout = 0
Var TimeoutTarget = 30
Refresh
</EventClick>
</Button>
; Background QR Popup
<Image>
<X> 0 </X>
<Y> 380 </Y>
<State> Show_QR_Popup_State </State>
<Filename> "ROOT/taobin_project/image/display_point/alpha.png" </Filename>
</Image>
<Image>
<X> 300 </X>
<Y> 816 </Y>
<State> Show_QR_Popup_State </State>
<Filename> Var( ImgDir + "qr_popup.png" ) </Filename>
</Image>
<Button>
<X> 393 </X>
<Y> 1114 </Y>
<State> Show_QR_Popup_State </State>
<Filename>
eval(
Var return = ImgDir + "bn_close"
Var return = return + Extension
)
</Filename>
<FilenamePress>
eval(
Var return = ImgDir + "bp_close"
Var return = return + Extension
)
</FilenamePress>
<FilenameDisable>
eval(
Var return = ImgDir + "bp_close"
Var return = return + Extension
)
</FilenameDisable>
<EventClick>
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
</EventClick>
</Button>
<EventUnitTest4>
Open "ROOT/taobin_project/xml/sometime/page_campaign_ads_lucky_draw.xml"