mirror of
https://shylinux.com/x/operation
synced 2025-04-25 01:08:04 +08:00
add some
This commit is contained in:
parent
f6c7570ec0
commit
88c86438cd
@ -1,3 +1,3 @@
|
||||
$output>div.item { text-align:center; padding:10px; width:25%; float:left; }
|
||||
$output>div.item { text-align:center; padding:10px; float:left; }
|
||||
$output>div.item div.value { font-size:24px; }
|
||||
$output>div.item div.title { font-size:12px; }
|
@ -1,7 +1,9 @@
|
||||
Volcanos(chat.ONIMPORT, {
|
||||
_init: function(can, msg) {
|
||||
var count = (parseInt(can.ConfWidth()/80)); if (msg.Length() < count) { count = msg.Length() }
|
||||
var width = can.ConfWidth()/(count||1)
|
||||
can.page.Append(can, can._output, msg.Table(function(value) {
|
||||
return {view: html.ITEM, list: [{view: ["value", "", value.value]}, {view: ["title", "", value.title]}], oncontextmenu: function(event) {
|
||||
return {view: html.ITEM, style: {width: width}, list: [{view: ["value", "", value.value]}, {view: ["title", "", value.title]}], oncontextmenu: function(event) {
|
||||
can.user.carteItem(event, can, value)
|
||||
}}
|
||||
}))
|
||||
|
Loading…
x
Reference in New Issue
Block a user