mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
opt some
This commit is contained in:
parent
134e960e64
commit
f394b6f97c
@ -15,7 +15,7 @@ Volcanos(chat.ONIMPORT, {
|
|||||||
} cb && cb(msg)
|
} cb && cb(msg)
|
||||||
},
|
},
|
||||||
textView: function(can, value, key, type) { return value[key] && {text: [can.user.transValue(can, value, key), "", [type, value[key], can.Conf("_trans.value."+key+".style."+value[key])||""]]} },
|
textView: function(can, value, key, type) { return value[key] && {text: [can.user.transValue(can, value, key), "", [type, value[key], can.Conf("_trans.value."+key+".style."+value[key])||""]]} },
|
||||||
itemcards: function(can, msg, cb) {
|
itemcards: function(can, msg, cb, cbs) {
|
||||||
if (msg.IsDetail()) { var value = msg.TableDetail(); msg.Show(can)
|
if (msg.IsDetail()) { var value = msg.TableDetail(); msg.Show(can)
|
||||||
can.page.Select(can, can._output, html.TR, function(target) {
|
can.page.Select(can, can._output, html.TR, function(target) {
|
||||||
if (target.className.indexOf("_uid") > -1) {
|
if (target.className.indexOf("_uid") > -1) {
|
||||||
@ -24,7 +24,7 @@ Volcanos(chat.ONIMPORT, {
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
can.page.Append(can, can._output, msg.Table(function(value) {
|
can.page.Append(can, can._output, msg.Table(function(value) {
|
||||||
return can.onimport.itemcard(can, value, cb(value))
|
return can.onimport.itemcard(can, value, cb(value), cbs)
|
||||||
})), msg.Result() && can.onappend.board(can, msg)
|
})), msg.Result() && can.onappend.board(can, msg)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user