1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-12-11 16:40:41 +08:00
parent c0b9ce8eb1
commit 7a2534baeb
2 changed files with 4 additions and 6 deletions

View File

@ -402,7 +402,7 @@ Volcanos(chat.ONAPPEND, {_init: function(can, meta, list, cb, target, field) {
}} }}
}); table && can.onappend.style(can, chat.CONTENT, table), table && msg.IsDetail() && can.onappend.style(can, mdb.DETAIL, table) }); table && can.onappend.style(can, chat.CONTENT, table), table && msg.IsDetail() && can.onappend.style(can, mdb.DETAIL, table)
msg.append && msg.append[msg.append.length-1] == ctx.ACTION && can.onappend.style(can, ctx.ACTION, table) msg.append && msg.append[msg.append.length-1] == ctx.ACTION && can.onappend.style(can, ctx.ACTION, table)
if (msg.Option(ice.TABLE_CHECKBOX) == ice.TRUE) { can.onappend.checkbox(can, table, msg), can.onappend.style(can, html.CHECKBOX, table) } if (msg.Option(ice.TABLE_CHECKBOX) == ice.TRUE && !msg.IsDetail()) { can.onappend.checkbox(can, table, msg), can.onappend.style(can, html.CHECKBOX, table) }
(can.isCmdMode() || table.offsetWidth > can.ConfWidth() / 2) && can.onappend.style(can, "full", table) (can.isCmdMode() || table.offsetWidth > can.ConfWidth() / 2) && can.onappend.style(can, "full", table)
return keys && can.page.RangeTable(can, table, can.core.List(keys, function(key) { return can.page.Select(can, table, html.TH, function(th, index) { if (th.innerHTML == key) { return index } })[0] })), table return keys && can.page.RangeTable(can, table, can.core.List(keys, function(key) { return can.page.Select(can, table, html.TH, function(th, index) { if (th.innerHTML == key) { return index } })[0] })), table
}, },

View File

@ -91,13 +91,11 @@ table.content th.select { border:var(--notice-bg-color) solid 1px; }
table.content th.select[data-asc="1"] i.bi-sort-down-alt { display:none; } table.content th.select[data-asc="1"] i.bi-sort-down-alt { display:none; }
table.content th.select[data-asc="0"] i.bi-sort-up { display:none; } table.content th.select[data-asc="0"] i.bi-sort-up { display:none; }
table.content td { padding:var(--table-padding); } table.content td { padding:var(--table-padding); }
table.content.checkbox th:first-child { text-align:center; padding:var(--table-padding); } table.content.checkbox th:first-child { text-align:center; padding:var(--table-padding); position:sticky; left:2px; }
table.content.checkbox td:first-child { text-align:center; } table.content.checkbox td:first-child { background-color:var(--th-bg-color); text-align:center; position:sticky; left:2px; }
table.content.detail td:first-child { width:var(--input-width); } table.content.detail td:first-child { width:var(--input-width); }
table.content.action th:last-child { position:sticky; right:2px; } table.content.action th:last-child { position:sticky; right:2px; }
table.content.action td:last-child { background-color:var(--th-bg-color); position:sticky; right:2px; text-align:center; } table.content.action td:last-child { background-color:var(--th-bg-color); text-align:center; position:sticky; right:2px; }
table.content.checkbox th:first-child { position:sticky; left:2px; }
table.content.checkbox td:first-child { background-color:var(--th-bg-color); position:sticky; left:2px; text-align:center; }
table.content:hover col.option { background-color:var(--hover-bg-color); } table.content:hover col.option { background-color:var(--hover-bg-color); }
table.content col.action { width:var(--project); } table.content col.action { width:var(--project); }
table.content col.time { width:180px; } table.content col.time { width:180px; }