This commit is contained in:
yumoqing 2025-10-26 14:11:07 +08:00
parent e204e2d3cd
commit 684a2d3c65
3 changed files with 6 additions and 44 deletions

View File

@ -12,7 +12,7 @@
"record_view":{ "record_view":{
"widgettype": "urlwidget", "widgettype": "urlwidget",
"options":{ "options":{
"url": "{{entire_url('channel_show.ui')}}", "url": "{{entire_url('/channel_show.ui')}}",
"params": { "params": {
"id": "${id}" "id": "${id}"
} }

View File

@ -10,51 +10,13 @@
"data_method":"POST", "data_method":"POST",
"col_cwidth":22, "col_cwidth":22,
"record_view":{ "record_view":{
"widgettype":"HBox", "widgettype":"urlwidget",
"options":{ "options":{
"cwidth":22, "url":"{{entire_url('/channel_show.ui')}}",
"cheight":5 "params":{
}, "id": "${id}"
"subwidgets":[
{
"widgettype":"Image",
"options":{
"cwidth":1.5,
"cheight":1.5,
"url":"${logo_url}",
"default_url":"/imgs/tv.png"
}
},
{
"widgettype":"Title6",
"options":{
"text":"${tv_name}",
"halign":"left"
}
} }
], }
"binds":[
{
"wid":"self",
"event":"click",
"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"
}
}
]
} }
} }
} }