mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
f33fa5b9fe
commit
a9d5334dd6
2
const.js
2
const.js
@ -466,6 +466,8 @@ var icon = {
|
||||
tag: "bi bi-tags", save: "bi bi-floppy", trash: "bi bi-trash",
|
||||
top: "bi bi-globe", main: "bi bi-house-door",
|
||||
|
||||
pluginCreate: "bi bi-box-arrow-in-down",
|
||||
|
||||
notifications: "bi bi-chat-right-text",
|
||||
play: "bi bi-play-circle", app: "bi bi-box-arrow-down-left",
|
||||
}
|
||||
|
4
frame.js
4
frame.js
@ -275,7 +275,7 @@ Volcanos(chat.ONAPPEND, {_init: function(can, meta, list, cb, target, field) {
|
||||
var _can = can._fields? can.sup: can
|
||||
can.base.beginWith(can.ConfIndex(), "can.", "web.chat.macos.") ||
|
||||
can.page.tagis(can._fields||can._target, html.FIELDSET_PANEL, html.FIELDSET_PLUG) || action == can._action && can.page.Append(can, action,
|
||||
can.core.Item(can.user.isMobile? {
|
||||
can.core.Item(can.user.isMobile? {
|
||||
open: !can.isCmdMode() && "打开链接",
|
||||
// chat: "发送聊天",
|
||||
}: {_space: "",
|
||||
@ -289,7 +289,7 @@ Volcanos(chat.ONAPPEND, {_init: function(can, meta, list, cb, target, field) {
|
||||
return (value || value === "") && {view: [[html.ITEM, html.BUTTON, key, mdb.ICONS, "state"]], list: [{icon: icon[key]}], title: can.user.trans(can, key), onclick: function(event) {
|
||||
var cb = _can.onaction[value]; cb && _can.onaction[value](event, _can, value, _can.sub)
|
||||
}}
|
||||
})
|
||||
}).concat(can.Conf("_plugin_action")||[])
|
||||
); return meta
|
||||
},
|
||||
_output0: function(can, meta, event, cmds, cb, silent) { var msg = can.request(event); meta.feature = meta.feature||{}
|
||||
|
Loading…
x
Reference in New Issue
Block a user