From eefab21cd549dcde4bbd659a9c2b2a596977f025 Mon Sep 17 00:00:00 2001 From: harveyshao Date: Mon, 7 Nov 2022 22:27:45 +0800 Subject: [PATCH] opt some --- page/index.css | 1 + plugin/local/code/inner.js | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/page/index.css b/page/index.css index 36eeaa9d..e64f294a 100644 --- a/page/index.css +++ b/page/index.css @@ -89,6 +89,7 @@ fieldset.input.date div.output td { padding:2px 10px; } fieldset.input.date div.output td span.lunar { font-size:8px; display:block; clear:both; } fieldset.input.date div.output td span.lunar.fest { color:red; } fieldset.input.date div.output td span.lunar.term { color:green; } +fieldset.input.date div.status { text-align:center; } fieldset.input.date table { text-align:center; width:280px; } fieldset.input.date select { width:63px; } fieldset.input.date select[name=month] { width:70px; } diff --git a/plugin/local/code/inner.js b/plugin/local/code/inner.js index f9539618..6ccce585 100644 --- a/plugin/local/code/inner.js +++ b/plugin/local/code/inner.js @@ -3,9 +3,8 @@ Volcanos(chat.ONIMPORT, {help: "导入数据", can.ui._tabs = can.page.insertBefore(can, ["tabs"], can.ui._content), can.ui._path = can.page.insertBefore(can, ["path"], can.ui._content) can.page.Append(can, can.ui._tabs, [{view: [["time", "select"]], style: {"float": html.RIGHT}, _init: function(target) { can.core.Timer({interval: 100}, function() { can.page.Appends(can, target, [{text: can.base.Time()}]) }) - can.onappend.figure(can, {action: "date"}, target, function(sub, value) { - can.onimport.tabview(can, can.Option(nfs.PATH), "web.team.plan", ctx.INDEX) - }), target.onmouseenter = target.click + can.onappend.figure(can, {action: "date"}, target, function(sub, value) { can.onimport.tabview(can, can.Option(nfs.PATH), "web.team.plan", ctx.INDEX) }) + target.onmouseenter = target.click }}]) },