mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
mix github
This commit is contained in:
commit
6fb03ed694
1
index.js
1
index.js
@ -2,7 +2,6 @@ Volcanos({name: "chat", volcano: "/frame.js", iceberg: "/chat/", intshell: "plug
|
||||
libs: ["/lib/base", "/lib/core", "/lib/misc", "/lib/page", "/lib/user"], panes: [
|
||||
{name: "Header", help: "标题栏", pos: "head", state: ["time", "username"]},
|
||||
{name: "River", help: "群聊组", pos: "left"},
|
||||
{name: "Storm", help: "应用流", pos: "right"},
|
||||
{name: "Action", help: "工作台", pos: "middle"},
|
||||
{name: "Search", help: "搜索框", pos: "float"},
|
||||
{name: "Footer", help: "状态条", pos: "foot", state: ["ncmd" ]},
|
||||
|
@ -84,7 +84,7 @@ Volcanos("onexport", {help: "导出数据", list: [], _init: function(can, msg,
|
||||
}, }], }]).input)
|
||||
|
||||
var height = document.body.offsetHeight
|
||||
var ui = can.page.Append(can, can._output, can.core.List(["Search", "River", "Storm", "Footer", "black", "white"], function(item) {
|
||||
var ui = can.page.Append(can, can._output, can.core.List(["Search", "River", "Footer"], function(item) {
|
||||
return {view: "item", list: [{type: "input", data: {name: item, type: "button", value: item.toLowerCase()},
|
||||
onclick: function(event) {
|
||||
if (item == "white") {
|
||||
@ -116,11 +116,9 @@ Volcanos("onexport", {help: "导出数据", list: [], _init: function(can, msg,
|
||||
if (location.protocol == "chrome-extension:") {
|
||||
ui.River.click()
|
||||
} else if (can.user.Search(can, "pod")) {
|
||||
ui.River.click(), ui.Footer.click(), ui.Storm.click()
|
||||
ui.River.click(), ui.Footer.click()
|
||||
} else if (can.user.isMobile) {
|
||||
ui.River.click(), ui.Footer.click(), ui.Storm.click()
|
||||
} else {
|
||||
ui.Storm.click()
|
||||
ui.River.click(), ui.Footer.click()
|
||||
}
|
||||
|
||||
typeof cb == "function" && cb()
|
||||
|
Loading…
x
Reference in New Issue
Block a user