mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
923ba3ff64
commit
f2475b7ecc
@ -11,7 +11,7 @@ Volcanos(chat.ONIMPORT, {
|
|||||||
},
|
},
|
||||||
card: function(can, msg, target, filter) { target = target||can.ui.content||can._output
|
card: function(can, msg, target, filter) { target = target||can.ui.content||can._output
|
||||||
can.page.Append(can, target, msg.Table(function(value) { if (filter && filter(value)) { return }
|
can.page.Append(can, target, msg.Table(function(value) { if (filter && filter(value)) { return }
|
||||||
var img = can.misc.Resource(can, value.icon = value.icons||value.icon||value.image, msg.Option(ice.MSG_USERPOD), msg.Option(ice.MSG_USERWEB))
|
var img = can.misc.Resource(can, value.icon = value.icons||value.icon||value.image)
|
||||||
return {view: [[html.ITEM, value.type, value.status, "s-"+value.name]], list: [
|
return {view: [[html.ITEM, value.type, value.status, "s-"+value.name]], list: [
|
||||||
{view: [wiki.TITLE, html.DIV], list: [
|
{view: [wiki.TITLE, html.DIV], list: [
|
||||||
value.icon && {className: can.base.contains(img, ".jpg")? "jpg": "", img: img},
|
value.icon && {className: can.base.contains(img, ".jpg")? "jpg": "", img: img},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user