mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
add some
This commit is contained in:
parent
46d4aaf0f4
commit
e7c8114430
@ -471,7 +471,7 @@ body.width1>div.input td { padding:0; }
|
||||
body.width1 div.input.float table input { width:100% !important; }
|
||||
/* display */
|
||||
fieldset:not(.Action) { position:relative; }
|
||||
fieldset>form.option:not(.hide) { float:left; }
|
||||
fieldset>form.option:not(.hide) { float:left; display:contents; }
|
||||
fieldset>div.action:not(.hide):not(.flex) { display:contents; } .hide, .hidden { display:none; }
|
||||
body:not(.mobile) fieldset:not(.Action):not(.output):not(.cmd)>div.action:not(.hide):not(.flex) { display:flex; overflow:hidden; }
|
||||
fieldset.panel>legend, fieldset.panel>div.status { display:none; }
|
||||
|
@ -45,7 +45,9 @@ Volcanos("user", {
|
||||
confirm: function(text) { return confirm(JSON.stringify(text)) },
|
||||
prompt: function(tip, def, cb, silent) { (text = silent? def: prompt(tip, def||"")) != undefined && typeof cb == code.FUNCTION && cb(text); return text },
|
||||
reload: function(force) { (force || confirm("重新加载页面?")) && location.reload() },
|
||||
jumps: function(url) { location.href = url },
|
||||
jumps: function(url) {
|
||||
location.href = url
|
||||
},
|
||||
opens: function(url) {
|
||||
if (window.parent && window.parent.openurl) { return window.parent.openurl(url) }
|
||||
window.openurl? window.openurl(url): this.open(url)
|
||||
@ -362,7 +364,9 @@ Volcanos("user", {
|
||||
can.user.trans(can, kit.Dict(value.name, value.help))
|
||||
if (value.type == "oauth") { hassso = true }
|
||||
if (value.type == cli.QRCODE) {
|
||||
_list.push(value.name), list[value.name] = function(target) { can.page.Modify(can, target, arg[2]) }
|
||||
_list.push(value.name), list[value.name] = function(target) {
|
||||
can.user.isWeiXin || can.page.Modify(can, target, arg[2])
|
||||
}
|
||||
} else if (value.type == mdb.PLUGIN) {
|
||||
_list.push(value.name), list[value.name] = function(target) {
|
||||
can.onappend.plugin(can, {space: value.space, index: value.index, args: can.core.Split(value.args), height: html.QRCODE_HEIGHT, width: 420, style: html.OUTPUT}, function(sub) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user