kivyterminal/py/iptv/ui/index.ui

54 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-10-17 18:50:28 +08:00
{
"widgettype":"TabsPanel",
"options":{
"do_default_tab":false,
"bgcolor":"#ff7f7f",
"tab_pos":"bottom_left",
"tabs":[
{
"text":"频道",
"content":{
"widgettype":"urlwidget",
"options":{
"url":"{{entire_url('channel_list.ui')}}"
}
}
},
{
"text":"视频",
"content":{
"widgettype":"urlwidget",
"options":{
"url":"{{entire_url('resource.ui')}}"
}
}
},
{
"text":"我的",
"content":{
"widgettype":"urlwidget",
"options":{
"url":"{{entire_url('cbs_news.ui')}}"
}
}
}
]
},
"binds":[
{
"wid":"self",
"event":"on_content_show",
"actiontype":"script",
"target":"app",
"script":"self.vplayer_play(*args)"
},
{
"wid":"self",
"event":"on_content_hide",
"actiontype":"script",
"target":"app",
"script":"self.vplayer_stop(*args)"
}
]
}