54 lines
1.2 KiB
XML
54 lines
1.2 KiB
XML
{
|
|
"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)"
|
|
}
|
|
]
|
|
}
|