Volcanos(chat.ONIMPORT, { _init: function(can, msg) { var USER_CLASS_ROLE = "user_class_role" if (msg.IsDetail()) { can.onexport.share_title(can, msg, USER_CLASS_ROLE); return msg.Show(can) } can.onimport.itemcards(can, msg, function(value) { value._style = [value[USER_CLASS_ROLE]] return [ {view: html.TITLE, list: [{text: value.user_name}, {text: [can.user.transValue(can, value, USER_CLASS_ROLE), "", [aaa.ROLE, value[USER_CLASS_ROLE]]]}, ]}, {view: html.STATUS, list: [{text: value.uid.slice(0, 6)}, {text: can.base.TimeTrim(value.created_at)}]}, ] }) }, })