Fix recommend not auto open
This commit is contained in:
parent
c9ae570ef0
commit
3eacf4e3f7
16 changed files with 1102 additions and 1082 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -126,24 +126,7 @@
|
|||
<MenuUnavailableLabel> 000013 </MenuUnavailableLabel>
|
||||
</Configuration>
|
||||
<Menus>
|
||||
<Banner>
|
||||
<State> BoostEnergyProState </State>
|
||||
<Type> IMAGE </Type>
|
||||
<Media>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/boost_energy/boost_energy.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/boost_energy/boost_energy.png"
|
||||
EndIf
|
||||
)
|
||||
</Media>
|
||||
<EventOnClick>
|
||||
RootLayoutVisible 10 "hide"
|
||||
OpenInst 2 "ROOT/taobin_project/inter/tha/xml/multi/v3/page_catalog_group_pro_boost_energy.lxml"
|
||||
</EventOnClick>
|
||||
</Banner>
|
||||
|
||||
|
||||
; ==================> Len = 3
|
||||
; - 12-05-02-0133 -
|
||||
<Menu>
|
||||
|
|
|
|||
|
|
@ -7,14 +7,14 @@
|
|||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
||||
; soda and other
|
||||
Var Menu1Selected = "PressForever"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
Var RecommendTimeOut = 0
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_show_and_refresh.lxml"
|
||||
|
||||
|
||||
SetInstanceIgnoreTouch
|
||||
|
||||
|
||||
|
|
@ -25,11 +25,9 @@
|
|||
DEBUGVAR SlientRefreshIndex
|
||||
|
||||
TRY "ROOT/taobin_project/inter/tha/show_lang.ev"
|
||||
|
||||
|
||||
RefreshAll
|
||||
|
||||
|
||||
DEBUGVAR NextPage
|
||||
</EventOpen>
|
||||
|
||||
<EventOnShow>
|
||||
|
|
@ -41,17 +39,17 @@
|
|||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/InstanceGetSetString.inc"
|
||||
|
||||
|
||||
|
||||
GetVisible inst_show_exclude_group
|
||||
|
||||
|
||||
If inst_show_exclude_group_counter = "" Then
|
||||
Var inst_show_exclude_group_counter = 45
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If inst_show_exclude_group = 1 Then
|
||||
If inst_show_exclude_group_counter > 0 Then
|
||||
|
||||
|
||||
Var inst_show_exclude_group_counter = inst_show_exclude_group_counter - 1
|
||||
|
||||
If inst_show_exclude_group_counter = 0 Then
|
||||
|
|
@ -61,7 +59,26 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If NextPage = "-" Then
|
||||
|
||||
Else
|
||||
|
||||
If CupOnArm = "true" Then
|
||||
If RecommendTimeOut > 9 Then
|
||||
SAVELOG "COA9"
|
||||
Var NextPage = "-"
|
||||
Open NextPage
|
||||
EndIf
|
||||
Else
|
||||
If RecommendTimeOut > 30 Then
|
||||
SAVELOG "COA30"
|
||||
Var NextPage = "-"
|
||||
Open NextPage
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
Var RecommendTimeOut = RecommendTimeOut + 1
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
; this file for generate from page_catalog_group_recommend.skt
|
||||
<Popup>
|
||||
|
|
@ -9,14 +9,14 @@
|
|||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
|
||||
; soda and other
|
||||
Var Menu1Selected = "PressForever"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
Var RecommendTimeOut = 0
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_show_and_refresh.lxml"
|
||||
|
||||
|
||||
SetInstanceIgnoreTouch
|
||||
|
||||
|
||||
|
|
@ -27,11 +27,9 @@
|
|||
DEBUGVAR SlientRefreshIndex
|
||||
|
||||
TRY "ROOT/taobin_project/inter/tha/show_lang.ev"
|
||||
|
||||
|
||||
RefreshAll
|
||||
|
||||
|
||||
DEBUGVAR NextPage
|
||||
</EventOpen>
|
||||
|
||||
<EventOnShow>
|
||||
|
|
@ -43,17 +41,17 @@
|
|||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/InstanceGetSetString.inc"
|
||||
|
||||
|
||||
|
||||
GetVisible inst_show_exclude_group
|
||||
|
||||
|
||||
If inst_show_exclude_group_counter = "" Then
|
||||
Var inst_show_exclude_group_counter = 45
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If inst_show_exclude_group = 1 Then
|
||||
If inst_show_exclude_group_counter > 0 Then
|
||||
|
||||
|
||||
Var inst_show_exclude_group_counter = inst_show_exclude_group_counter - 1
|
||||
|
||||
If inst_show_exclude_group_counter = 0 Then
|
||||
|
|
@ -63,7 +61,26 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If NextPage = "-" Then
|
||||
|
||||
Else
|
||||
|
||||
If CupOnArm = "true" Then
|
||||
If RecommendTimeOut > 9 Then
|
||||
SAVELOG "COA9"
|
||||
Var NextPage = "-"
|
||||
Open NextPage
|
||||
EndIf
|
||||
Else
|
||||
If RecommendTimeOut > 30 Then
|
||||
SAVELOG "COA30"
|
||||
Var NextPage = "-"
|
||||
Open NextPage
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
Var RecommendTimeOut = RecommendTimeOut + 1
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
|
@ -71,7 +88,7 @@
|
|||
|
||||
|
||||
|
||||
<?hurr
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v3.py
|
||||
?>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue