mirror of
https://shylinux.com/x/community
synced 2025-04-27 10:18:28 +08:00
11 lines
691 B
JavaScript
11 lines
691 B
JavaScript
Volcanos(chat.ONIMPORT, {
|
|
_init: function(can, msg) {
|
|
can.onimport.myView(can, msg, function(value) { return [
|
|
{view: html.TITLE, list: [value.reception_name]},
|
|
{view: html.STATUS, list: [can.user.trans(can, "begin_time:", "开始时间:"), value.begin_time]},
|
|
{view: html.STATUS, list: [can.user.trans(can, "end_time:", "结束时间:"), value.end_time]},
|
|
{view: html.STATUS, list: [can.user.trans(can, "open:", "放号量:"), value.total, can.user.trans(can, "plan:", "预约量:"), value.count]},
|
|
{view: html.STATUS, list: [can.user.trans(can, "expired:", "过号量:"), value.expire||"0", can.user.trans(can, "finish:", "完成量:"), value.finish||"0"]},
|
|
] })
|
|
},
|
|
}) |