forked from x/volcanos
opt some
This commit is contained in:
parent
b4bba85634
commit
bb8ee36e0a
@ -199,10 +199,6 @@ Volcanos("onaction", {help: "交互数据", list: [], _init: function(can, meta,
|
||||
},
|
||||
carte: function(event, can, list, cb) { can.user.carte(event, can, can.onaction, list, cb) },
|
||||
river: function(event, can) { can.onaction.River(can) },
|
||||
tutor: function(event, can) { can.user.open("/chat/cmd/src/help/tutor.shy") },
|
||||
manual: function(event, can) { can.user.open("/chat/cmd/src/help/manual.shy") },
|
||||
program: function(event, can) { can.user.open("/chat/cmd/src/help/program.shy") },
|
||||
refer: function(event, can) { can.user.open("/chat/cmd/src/help/refer.shy") },
|
||||
|
||||
black: function(event, can, button) {
|
||||
can.onlayout.topic(can, button)
|
||||
|
@ -20,7 +20,7 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
|
||||
can.onmotion.hidden(can, can._action)
|
||||
width = can.Conf("width"), height = can.Conf("height")
|
||||
}
|
||||
if (location.pathname.indexOf("/chat/cmd") == 0) {
|
||||
if (can.user.isCmd) {
|
||||
width = window.innerWidth, height = window.innerHeight
|
||||
can.page.Modify(can, can._output, {style: {width: width, height: height}})
|
||||
}
|
||||
|
@ -1,3 +1,6 @@
|
||||
fieldset.word>div.legend {
|
||||
display:none;
|
||||
}
|
||||
fieldset.word>div.output {
|
||||
clear:none;
|
||||
float:left;
|
||||
|
@ -9,7 +9,7 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
|
||||
// delete(data.meta)
|
||||
})
|
||||
|
||||
if (location.pathname.indexOf("/chat/cmd") == 0) {
|
||||
if (can.user.isCmd) {
|
||||
can.page.ClassList.add(can, can._fields, "cmd")
|
||||
can.page.Modify(can, can.sup._navmenu, {style: {height: window.innerHeight}})
|
||||
if (can.sup._navmenu) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user