diff --git a/core/chat/macos/desktop.css b/core/chat/macos/desktop.css index 2e79d143..4d6f838f 100644 --- a/core/chat/macos/desktop.css +++ b/core/chat/macos/desktop.css @@ -13,7 +13,7 @@ fieldset.macos.desktop>div.output>fieldset.macos.menu div.item.time { margin-rig fieldset.macos.desktop>div.output>fieldset.macos.menu>div.output { overflow:hidden; } fieldset.macos.desktop>div.output>fieldset.macos.dock { border:var(--box-border); border-radius:var(--plugin-radius); position:absolute; bottom:var(--input-margin); transition:margin-left 0.3s; } fieldset.macos.desktop>div.output>fieldset.macos.searchs { position:absolute; z-index:11; } -fieldset.macos.desktop>div.output>fieldset.macos.searchs>form.option>div.item.keyword input { background-color:transparent; width:var(--river-width); } +body:not(.mobile) fieldset.macos.desktop>div.output>fieldset.macos.searchs>form.option>div.item.keyword input { background-color:transparent; width:var(--river-width); } fieldset.macos.desktop>div.output>fieldset.macos.notifications { height:calc(100% - 125px); width:320px; overflow:auto; position:absolute; top:var(--desktop-menu-height); left:calc(100% - 320px); z-index:11; } fieldset.macos.desktop>div.output>fieldset.macos.notifications>div.action>div.item { padding:0; } fieldset.macos.desktop>div.output>fieldset.macos.notifications>div.action>div.item.refresh>span { font-size:var(--action-height); margin-top:-5px; } diff --git a/core/chat/macos/desktop.js b/core/chat/macos/desktop.js index 4e26e626..9db6638f 100644 --- a/core/chat/macos/desktop.js +++ b/core/chat/macos/desktop.js @@ -33,6 +33,7 @@ Volcanos(chat.ONIMPORT, { }) }, _searchs: function(can) { can.onappend.plugin(can, {index: "web.chat.macos.searchs"}, function(sub) { can.ui.searchs = sub, can.onmotion.hidden(can, sub._target) can.page.style(can, sub._target, html.LEFT, can.ConfWidth()/4, html.TOP, can.ConfHeight()/4), sub.onimport.size(sub, can.ConfHeight()/2, can.ConfWidth()/2, true) + can.user.isMobile && can.page.style(can, sub._target, html.LEFT, 0, html.TOP, 0), can.user.isMobile && sub.onimport.size(sub, can.ConfHeight(), can.ConfWidth(), true) sub.onaction._close = function() { can.onmotion.hidden(can, sub._target) }, can.onmotion.hidden(can, sub._target) sub.onexport.record = function(sub, value, key, item, event) { switch (item.type) { case ice.CMD: can.onimport._window(can, {index: item.name, args: can.base.Obj(item.text) }); break diff --git a/core/team/plan.go b/core/team/plan.go index fb1ca4fb..20273e2f 100644 --- a/core/team/plan.go +++ b/core/team/plan.go @@ -57,7 +57,7 @@ const PLAN = "plan" func init() { Index.MergeCommands(ice.Commands{ - PLAN: {Name: "plan scale=month,day,week,month,year,long begin_time@date list insert prev next", Help: "计划表", Icon: "Calendar.png", Role: aaa.VOID, Meta: kit.Dict( + PLAN: {Name: "plan scale=month,day,week,month,year,long begin_time@date list insert prev next actions", Help: "计划表", Icon: "Calendar.png", Role: aaa.VOID, Meta: kit.Dict( ctx.TRANS, kit.Dict(html.INPUT, kit.Dict( SCALE, "跨度", "view", "视图", DAY, "日", WEEK, "周", MONTH, "月", YEAR, "年", LONG, "代",