mirror of
https://shylinux.com/x/volcanos
synced 2025-04-26 01:04:06 +08:00
opt some
This commit is contained in:
parent
939cc60874
commit
44766bf44b
2
frame.js
2
frame.js
@ -465,7 +465,7 @@ Volcanos("onappend", { _init: function(can, meta, list, cb, target, field) { met
|
|||||||
var msg = can.request(event)
|
var msg = can.request(event)
|
||||||
msg.Option(can.Option()), msg.Option(line)
|
msg.Option(can.Option()), msg.Option(line)
|
||||||
var cb = can.onaction[item] || can.onaction["运行"]
|
var cb = can.onaction[item] || can.onaction["运行"]
|
||||||
cb? cb(event, can, item): can.run(event, ["action", item, key, value.trim()], function(res) {
|
cb? cb(event, can, item): can.run(event, ["action", item, key=="value"? line.key: key, value.trim()], function(res) {
|
||||||
can.ui.display.innerHTML = ""
|
can.ui.display.innerHTML = ""
|
||||||
can.onappend.table(can, can.ui.display, "table", res)
|
can.onappend.table(can, can.ui.display, "table", res)
|
||||||
can.onappend.board(can, can.ui.display, "board", res)
|
can.onappend.board(can, can.ui.display, "board", res)
|
||||||
|
@ -42,7 +42,7 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
|
|||||||
|
|
||||||
can.rate = can.ctrl.rate.value = 1
|
can.rate = can.ctrl.rate.value = 1
|
||||||
limit = can.ctrl.limit.value = parseInt(msg.Option("limit"))||1
|
limit = can.ctrl.limit.value = parseInt(msg.Option("limit"))||1
|
||||||
can.height = can.ctrl.height.value = parseInt(msg.Option("height"))||400
|
can.height = can.ctrl.height.value = parseInt(msg.Option("height"))||200
|
||||||
can.Option("path") != "最近/" && can.onimport.page(can, list, begin, limit)
|
can.Option("path") != "最近/" && can.onimport.page(can, list, begin, limit)
|
||||||
},
|
},
|
||||||
page: function(can, list, begin, limit) { can.ui.display.innerHTML = ""
|
page: function(can, list, begin, limit) { can.ui.display.innerHTML = ""
|
||||||
@ -62,6 +62,7 @@ Volcanos("onfigure", {help: "组件菜单", list: [],
|
|||||||
image: function(can, path) {
|
image: function(can, path) {
|
||||||
return {img: path, height: can.height}
|
return {img: path, height: can.height}
|
||||||
},
|
},
|
||||||
|
jpeg: function(can, path) { return can.onfigure.image(can, path) },
|
||||||
jpg: function(can, path) { return can.onfigure.image(can, path) },
|
jpg: function(can, path) { return can.onfigure.image(can, path) },
|
||||||
png: function(can, path) { return can.onfigure.image(can, path) },
|
png: function(can, path) { return can.onfigure.image(can, path) },
|
||||||
qrc: function(can, path) { return can.onfigure.image(can, path) },
|
qrc: function(can, path) { return can.onfigure.image(can, path) },
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
fieldset li.H2 {
|
||||||
|
font-weight:bold;
|
||||||
|
font-size:20px;
|
||||||
|
}
|
||||||
fieldset h2.story {
|
fieldset h2.story {
|
||||||
clear:both;
|
clear:both;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user