1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-06-11 20:49:36 +08:00
parent 923ba3ff64
commit f2475b7ecc

View File

@ -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},