bugfix
This commit is contained in:
parent
ab3b124526
commit
1011c711d2
@ -1,56 +1,60 @@
|
|||||||
{
|
{
|
||||||
"widgettype":"DynamicColumn",
|
"widgettype":"Cols",
|
||||||
|
"id":"channel_list",
|
||||||
"options":{
|
"options":{
|
||||||
"title":"频道列表",
|
"width": "100%",
|
||||||
"data_url":"{{entire_url('get_channels.dspy')}}",
|
"height": "100%",
|
||||||
|
"data_url": "{{entire_url('/api/channels.dspy')}}",
|
||||||
"data_params":{
|
"data_params":{
|
||||||
},
|
},
|
||||||
"data_method":"POST",
|
"data_method":"POST",
|
||||||
"col_cwidth":22,
|
"col_cwidth":22,
|
||||||
"record_view":{
|
"record_view":{
|
||||||
{
|
"widgettype":"HBox",
|
||||||
"widgettype":"HBox",
|
"options":{
|
||||||
"options":{
|
"cwidth":22,
|
||||||
"cwidth":22,
|
"cheight":5
|
||||||
"cheight":3
|
},
|
||||||
|
"subwidgets":[
|
||||||
|
{
|
||||||
|
"widgettype":"Image",
|
||||||
|
"options":{
|
||||||
|
"cwidth":1.5,
|
||||||
|
"cheight":1.5,
|
||||||
|
"url":"${logo_url}",
|
||||||
|
"default_url":"/imgs/tv.png"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"subwidgets":[
|
{
|
||||||
{
|
"widgettype":"Title6",
|
||||||
"widgettype":"Image",
|
"options":{
|
||||||
"options":{
|
"text":"${tv_name}",
|
||||||
"cwidth":1.5,
|
"halign":"left"
|
||||||
"cheight":1,5,
|
}
|
||||||
"url":"{{params_kw.logo_url}}",
|
}
|
||||||
"default_url":"{{entire_url('/imgs/tv.png')}}"
|
],
|
||||||
}
|
"binds":[
|
||||||
|
{
|
||||||
|
"wid":"self",
|
||||||
|
"event":"click",
|
||||||
|
"actiontype":"urlwidget",
|
||||||
|
"target":"PopupWindow",
|
||||||
|
"popup_options":{
|
||||||
|
"width":"80%",
|
||||||
|
"height":"80%",
|
||||||
|
"title":"${tv_name}"
|
||||||
},
|
},
|
||||||
{
|
"options":{
|
||||||
"widgettype":"Title6",
|
"params":{
|
||||||
"options":"{
|
"tv_name": "${tv_name}",
|
||||||
"css":"filler",
|
"url":"${url}",
|
||||||
"text":"${tv_name}",
|
"id":"${id}"
|
||||||
"wrap":true,
|
|
||||||
"halign":"left"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
"binds":[
|
|
||||||
{
|
|
||||||
"wid":"self",
|
|
||||||
"event":"click",
|
|
||||||
"actiontype":"urlwidgt",
|
|
||||||
"target":"PopupWindow",
|
|
||||||
"popup_options":{
|
|
||||||
},
|
},
|
||||||
"options":{
|
"method": "POST",
|
||||||
"params":{
|
"url":"/play.ui"
|
||||||
"id":"${id}"
|
|
||||||
},
|
|
||||||
"url":"/play.ui"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
}
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
"widgettype":"Title4",
|
"widgettype":"Title4",
|
||||||
"options":{
|
"options":{
|
||||||
"height":"auto",
|
"height":"auto",
|
||||||
"otext":"{{params_kw.get('tagname','Liked')}}",
|
"otext":"全球电视📺",
|
||||||
"i18n":true,
|
"i18n":true,
|
||||||
"wrap":true
|
"wrap":true
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
"otext":"Search"
|
"otext":"Search"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{% if params_kw._is_mobile == "1" %}
|
{% if int(params_kw._is_mobile) == 1 %}
|
||||||
{
|
{
|
||||||
"id":"tv_name",
|
"id":"tv_name",
|
||||||
"widgettype":"UiStr",
|
"widgettype":"UiStr",
|
||||||
|
|||||||
@ -30,7 +30,7 @@
|
|||||||
"event":"changed",
|
"event":"changed",
|
||||||
"actiontype":"method",
|
"actiontype":"method",
|
||||||
"target":"channel_list",
|
"target":"channel_list",
|
||||||
"method":"render"
|
"method":"load_first_page"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user