mirror of
https://shylinux.com/x/volcanos
synced 2025-07-02 04:21:19 +08:00
add some
This commit is contained in:
parent
138cc4da33
commit
44b2d6d643
@ -495,7 +495,8 @@ fieldset.vimer>div.output div.project fieldset.plug div.output.card>div.item { m
|
|||||||
div.float { position:fixed; }
|
div.float { position:fixed; }
|
||||||
div.output { position:relative; }
|
div.output { position:relative; }
|
||||||
div.output>div.code { position:sticky; left:0; }
|
div.output>div.code { position:sticky; left:0; }
|
||||||
div.output>div.code>img { margin:5px; max-width:100%; }
|
// div.output>div.code>img { margin:5px; max-width:100%; }
|
||||||
|
div.output>div.code>img { max-width:100%; }
|
||||||
div.output.flex { overflow:hidden; align-items:flex-start; justify-content: flex-start; }
|
div.output.flex { overflow:hidden; align-items:flex-start; justify-content: flex-start; }
|
||||||
div.layout.flex>* { float:left; clear:none; }
|
div.layout.flex>* { float:left; clear:none; }
|
||||||
div.flex:not(.hide) { display:flex; align-items:center; justify-content:center; }
|
div.flex:not(.hide) { display:flex; align-items:center; justify-content:center; }
|
||||||
|
@ -353,7 +353,10 @@ Volcanos(chat.ONIMPORT, {
|
|||||||
} var plugin = can._stacks_current[0], _action = plugin._action, _output = plugin._output; current = plugin.current||{}
|
} var plugin = can._stacks_current[0], _action = plugin._action, _output = plugin._output; current = plugin.current||{}
|
||||||
value.index.split(".").pop() == "credit" && (ACTION_HEIGHT = 0)
|
value.index.split(".").pop() == "credit" && (ACTION_HEIGHT = 0)
|
||||||
value.index == "web.team.renzhengshouquan.profile" && (ACTION_HEIGHT = 0)
|
value.index == "web.team.renzhengshouquan.profile" && (ACTION_HEIGHT = 0)
|
||||||
value.type = html.STORY, value.style = html.OUTPUT, value.height = (can.user.isMobile? window.innerHeight: can.ConfHeight())-ACTION_HEIGHT
|
value.type = html.STORY, value.style = html.OUTPUT
|
||||||
|
value.height = (can.user.isMobile? window.innerHeight: can.ConfHeight())-ACTION_HEIGHT
|
||||||
|
value.height = can._stacks_root.ConfHeight()-ACTION_HEIGHT
|
||||||
|
// (can.user.isMobile? window.innerHeight: can.ConfHeight())-ACTION_HEIGHT
|
||||||
can.onappend.plugin(can._stacks_root, value, function(sub) { can.onimport.myField(can, sub), can.onmotion.slideIn(sub)
|
can.onappend.plugin(can._stacks_root, value, function(sub) { can.onimport.myField(can, sub), can.onmotion.slideIn(sub)
|
||||||
var STREET_NAME = plugin.sub.Conf("_street_name"), PLACE_NAME = plugin.sub.Conf("_place_name")
|
var STREET_NAME = plugin.sub.Conf("_street_name"), PLACE_NAME = plugin.sub.Conf("_place_name")
|
||||||
var run = sub.run; sub.run = function(event, cmds, cb) {
|
var run = sub.run; sub.run = function(event, cmds, cb) {
|
||||||
@ -367,10 +370,18 @@ Volcanos(chat.ONIMPORT, {
|
|||||||
if (can._stacks_current.length == 1) { return cb && cb()}
|
if (can._stacks_current.length == 1) { return cb && cb()}
|
||||||
if (sub._history.length > 1) { sub.request(event, {_toast: "reload"}); return sub.onimport.back(event, sub), cb && cb() }
|
if (sub._history.length > 1) { sub.request(event, {_toast: "reload"}); return sub.onimport.back(event, sub), cb && cb() }
|
||||||
var _last = can._stacks_current.pop()
|
var _last = can._stacks_current.pop()
|
||||||
can.onmotion.slideOut(_last, function() { var last = can._stacks_current[can._stacks_current.length-1]; last._select()
|
can.onmotion.slideOut(_last, function() { var last = can._stacks_current[can._stacks_current.length-1]
|
||||||
|
if (_last._index == "web.team.renzhengshouquan.profile") {
|
||||||
|
if (last._index == "web.team.production.credit") {
|
||||||
|
can._stacks_current.pop(), last = can._stacks_current[can._stacks_current.length-1]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
last._select()
|
||||||
can.onmotion.delay(can, function() { can._root.Action.onlayout._init(can) })
|
can.onmotion.delay(can, function() { can._root.Action.onlayout._init(can) })
|
||||||
last.request(event, {_toast: "reload"})
|
last.request(event, {_toast: "reload"})
|
||||||
if (last.ConfIndex().split(".").pop() == "message") { last.Update(event) }
|
if (last.ConfIndex().split(".").pop() == "message") {
|
||||||
|
last._history.pop(), last.Option("uid", ""), last.Update(event)
|
||||||
|
}
|
||||||
// can._stacks_current.length == 1 && last._output.innerHTML == "" && last.Update(event)
|
// can._stacks_current.length == 1 && last._output.innerHTML == "" && last.Update(event)
|
||||||
last._output.innerHTML == "" && last.Update(event), cb && cb()
|
last._output.innerHTML == "" && last.Update(event), cb && cb()
|
||||||
})
|
})
|
||||||
@ -399,6 +410,7 @@ Volcanos(chat.ONIMPORT, {
|
|||||||
},
|
},
|
||||||
myView: function(can, msg, cb, cbs, target) {
|
myView: function(can, msg, cb, cbs, target) {
|
||||||
can.onimport.itemcards(can, msg, cb, cbs, target||can.ui.list)
|
can.onimport.itemcards(can, msg, cb, cbs, target||can.ui.list)
|
||||||
|
msg.Option("otherList") && can.onimport.otherList && can.onimport.otherList(can, msg, can.core.Split(msg.Option("otherList")))
|
||||||
},
|
},
|
||||||
itemcards: function(can, msg, cb, cbs, target) { target = target||can.ui.list||can._output
|
itemcards: function(can, msg, cb, cbs, target) { target = target||can.ui.list||can._output
|
||||||
if (msg.IsDetail()) { var value = msg.TableDetail(); msg.Show(can)
|
if (msg.IsDetail()) { var value = msg.TableDetail(); msg.Show(can)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user