diff --git a/page/index.css b/page/index.css index ee75cace..c434bda6 100644 --- a/page/index.css +++ b/page/index.css @@ -44,6 +44,9 @@ div.story[data-type=spark] span:hover { cursor:copy; } +.hidden { + display:none; +} select { height:25px; font-size:14px; box-shadow: 4px 4px 10px 1px #626bd0; diff --git a/panel/cmd.js b/panel/cmd.js index 7f3f6a65..b2573201 100644 --- a/panel/cmd.js +++ b/panel/cmd.js @@ -1,5 +1,6 @@ Volcanos("onaction", {help: "交互操作", list: [], _init: function(can, msg, list, cb, target) { can.onmotion.float.auto(can, can._output, chat.CARTE) + can.onmotion.float.auto(can, window, chat.CARTE) can.base.isFunc(cb) && cb() }, onmain: function(can) { can._names = location.pathname diff --git a/plugin/state.js b/plugin/state.js index 6076aa58..9ad17525 100644 --- a/plugin/state.js +++ b/plugin/state.js @@ -99,11 +99,16 @@ Volcanos("onaction", {help: "交互操作", list: [ can.search(event, ["Header.onaction.share"]) }, "生成脚本": function(event, can, button) { var conf = can.Conf() - var ui = can.user.toast(can, {title: button, duration: -1, width: -300, - content: '