mirror of
https://shylinux.com/x/community
synced 2025-05-09 15:18:10 +08:00
9 lines
330 B
JavaScript
9 lines
330 B
JavaScript
Volcanos(chat.ONIMPORT, {
|
|
_init: function(can, msg) {
|
|
can.onimport.itemcards(can, msg, function(value) { return [
|
|
{view: html.TITLE, list: [value.title]},
|
|
{view: html.STATUS, list: [value.uid.slice(0, 6), can.base.TimeTrim(value.created_at), value.user_name]},
|
|
{view: html.OUTPUT, list: [value.content]},
|
|
] })
|
|
},
|
|
}) |