This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-08-16 07:53:19 +08:00
parent 4d4edacaf5
commit 98889b3cb6

View File

@ -3,10 +3,7 @@ Volcanos(chat.ONIMPORT, {
if (msg.IsDetail()) { var value = msg.TableDetail(); msg.Option("_share_title", value.title), msg.Option("_share_content", value.content) }
can.onimport.itemcards(can, msg, function(value) { return [
{view: html.TITLE, list: [{text: value.title}]},
{view: html.STATUS, list: [
{text: value.uid.slice(0, 6)}, {text: can.base.TimeTrim(value.created_at)},
{text: value.user_name}, {text: [can.user.transValue(can, value, "user_class_role"), "", [aaa.ROLE, can.onimport.roleStyle(can, value, "user_class_role")]]},
]},
{view: html.STATUS, list: [{text: value.uid.slice(0, 6)}, {text: can.base.TimeTrim(value.created_at)}, {text: value.user_name}]},
{view: html.OUTPUT, list: [{text: value.content}]},
] })
},