1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
bergyu 2021-10-22 16:41:04 +08:00
parent 3f327889e9
commit 3f4318d1c1
2 changed files with 9 additions and 9 deletions

View File

@ -4,9 +4,9 @@
"background": {"page": "/publish/chrome/chrome.html"},
"browser_action": {"default_popup": "/publish/chrome/popup.html"},
"content_scripts": [{"matches": ["<all_urls>"], "css": ["/publish/chrome/contexts.css"],
"js": ["/proto.js", "/lib/base.js", "/lib/core.js", "/lib/misc.js", "/lib/page.js", "/lib/user.js",
"/plugin/state.js", "/plugin/input.js", "/plugin/table.js",
"/frame.js", "/publish/chrome/contexts.js"
"js": ["/proto.js", "/plugin/state.js", "/plugin/input.js", "/plugin/table.js",
"/lib/base.js", "/lib/core.js", "/lib/misc.js", "/lib/page.js", "/lib/user.js",
"/publish/chrome/contexts.js", "/frame.js"
]}
],
"permissions": [

View File

@ -1,9 +1,9 @@
Volcanos({name: "demo", iceberg: "http://localhost:9020/chat/", panels: [
{name: "Header", help: "标题栏", pos: "head", state: ["time", "username"]},
{name: "Search", help: "搜索框", pos: "auto"},
{name: "River", help: "群聊组", pos: "left", action: ["create", "refresh"]},
{name: "Action", help: "工作台", pos: "main"},
{name: "Footer", help: "状态条", pos: "foot", state: ["ncmd"]},
Volcanos({name: "popup", iceberg: "http://localhost:9020/chat/", panels: [
{name: "Header", help: "标题栏", pos: chat.HEAD, state: ["time", "username", "avatar"]},
{name: "Search", help: "搜索框", pos: chat.AUTO},
{name: "River", help: "群聊组", pos: chat.LEFT, action: ["create", "refresh"]},
{name: "Action", help: "工作台", pos: chat.MAIN},
{name: "Footer", help: "状态条", pos: chat.FOOT, state: ["ncmd"]},
], main: {name: "Header", list: ["/publish/order.js"]}, plugin: [
"/plugin/state.js", "/plugin/input.js", "/plugin/table.js",
], river: {