THAI: Update ads popup
BIN
image/event/lucky_draw_ads/bn_close.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
image/event/lucky_draw_ads/bn_close_en.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
image/event/lucky_draw_ads/bn_interested.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/event/lucky_draw_ads/bn_interested_en.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
image/event/lucky_draw_ads/bn_skip.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/event/lucky_draw_ads/bn_skip_en.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/event/lucky_draw_ads/bp_close.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
image/event/lucky_draw_ads/bp_close_en.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
image/event/lucky_draw_ads/bp_interested.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/event/lucky_draw_ads/bp_interested_en.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
image/event/lucky_draw_ads/bp_skip.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/event/lucky_draw_ads/bp_skip_en.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/event/lucky_draw_ads/qr_popup.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
|
|
@ -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"
|
||||
|
|
|
|||