mirror of
https://shylinux.com/x/volcanos
synced 2025-04-26 01:04:06 +08:00
opt some
This commit is contained in:
parent
56a78ef23d
commit
9198f0e1ae
@ -193,6 +193,7 @@ div.code {
|
|||||||
padding:10px; border:solid 3px green;
|
padding:10px; border:solid 3px green;
|
||||||
text-align:left; white-space:pre;
|
text-align:left; white-space:pre;
|
||||||
overflow:auto;
|
overflow:auto;
|
||||||
|
clear:both;
|
||||||
}
|
}
|
||||||
div.story {
|
div.story {
|
||||||
text-align:left;
|
text-align:left;
|
||||||
|
@ -65,7 +65,8 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
|
|||||||
can.onkeypop.input(event, can); switch (event.key) {
|
can.onkeypop.input(event, can); switch (event.key) {
|
||||||
case "Enter": can.run(event, [can._SEARCH, "Search.onimport.select", "*", event.target.value]); break
|
case "Enter": can.run(event, [can._SEARCH, "Search.onimport.select", "*", event.target.value]); break
|
||||||
}
|
}
|
||||||
}}] }]); can.onmotion.autosize(can, ui.input, 240, 120)
|
}}] }])
|
||||||
|
// ; can.onmotion.autosize(can, ui.input, 240, 120)
|
||||||
can.user.isMobile && can.page.Modify(can, ui.first, {style: {float: "right"}})
|
can.user.isMobile && can.page.Modify(can, ui.first, {style: {float: "right"}})
|
||||||
},
|
},
|
||||||
_avatar: function(can, msg) {
|
_avatar: function(can, msg) {
|
||||||
@ -275,7 +276,7 @@ Volcanos("onaction", {help: "交互数据", list: [], _init: function(can, msg,
|
|||||||
logout: function(event, can) { can.user.logout(can) },
|
logout: function(event, can) { can.user.logout(can) },
|
||||||
|
|
||||||
River: function(can) { can.run({}, [can._SEARCH, "River.onmotion.toggle"]) },
|
River: function(can) { can.run({}, [can._SEARCH, "River.onmotion.toggle"]) },
|
||||||
Footer: function(can) { can.run({}, [can._SEARCH, "River.onmotion.autosize"]) },
|
Footer: function(can) { can.run({}, [can._SEARCH, "River.onmotion.toggle"]) },
|
||||||
})
|
})
|
||||||
Volcanos("onexport", {help: "导出数据", list: [],
|
Volcanos("onexport", {help: "导出数据", list: [],
|
||||||
height: function(can) { return can._target.offsetHeight },
|
height: function(can) { return can._target.offsetHeight },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user