mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
add layout.def
This commit is contained in:
parent
93ca4afb46
commit
720e98a995
2
frame.js
2
frame.js
@ -252,7 +252,7 @@ var can = Volcanos("chat", {
|
||||
}),
|
||||
}, Config.libs.concat(Config.list), function(can) {
|
||||
can[Config.main] = can.Page(can, Config.main, Config, function(chat) {
|
||||
chat.Login.Export(event||{}, can.user.Search(can, "layout")||"工作", "layout")
|
||||
chat.Login.Export(event||{}, can.user.Search(can, "layout")||Config.layout.def, "layout")
|
||||
chat.Login.Import(event||{}, "", "login")
|
||||
}, document.body)
|
||||
})
|
||||
|
2
order.js
2
order.js
@ -30,7 +30,7 @@ var Config = {context: "/chat/",
|
||||
{group: "index", name: "Action", pos: "bottom"},
|
||||
{group: "index", name: "Footer", pos: "foot", state: ["ntxt", "ncmd"], title: '<a href="mailto:shylinux@163.com">shylinux@163.com</a>'},
|
||||
|
||||
], layout: {list: ["工作", "办公", "聊天"], size: {
|
||||
], layout: {def: "办公", list: ["工作", "办公", "聊天"], size: {
|
||||
"工作": {head: 30, foot: 30, left: 0, right: 100, bottom: -1, center: 0, top: 0},
|
||||
"办公": {head: 30, foot: 30, left: 100, right: 100, bottom: -1, center: 0, top: 0},
|
||||
"聊天": {head: 30, foot: 30, left: 100, right: 100, bottom: 300, center: 40, top: -2},
|
||||
|
Loading…
x
Reference in New Issue
Block a user