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