2024-10-03 19:08:39 +08:00

15 lines
644 B
JavaScript

Volcanos(chat.ONIMPORT, {
_init: function(can, msg) { var USER_PLACE_ROLE = msg.Option("_user_place_role")
if (msg.IsDetail()) { msg.Option("_share_title", msg.Append("user_name")) }
can.onimport.myView(can, msg, function(value) { value._style = [value.who, value.member_status]
return [
{view: html.TITLE, list: [value.user_name,
can.onimport.authView(can, value), can.onimport.textView(can, value, USER_PLACE_ROLE),
value.member_status != "normal" && can.onimport.textView(can, value, "member_status"),
can.onimport.titleAction(can, value),
]},
{view: html.STATUS, list: [value.user_info]},
]
})
},
})