Add files via upload

This commit is contained in:
Cola-Echo
2026-01-02 16:10:57 +08:00
committed by GitHub
parent 4a097a613b
commit 262611c736
5 changed files with 28 additions and 15 deletions

View File

@@ -331,7 +331,7 @@ export function generateCharacterTablesHtml() {
data-char-idx="${charIdx}"
data-other="${escapeHtml(otherText)}"
title="${hasOther ? '点击查看/编辑' : '点击添加'}"
style="width: 100%; font-size: 11px; padding: 3px 4px; ${hasOther ? 'background: var(--wechat-primary); color: white;' : ''}">
style="width: 100%; font-size: 11px; padding: 3px 4px; ${hasOther ? 'background: var(--wechat-green); color: white;' : ''}">
${hasOther ? '详情' : '+'}
</button>
</td>
@@ -525,7 +525,7 @@ function saveCharOtherEdit() {
const hasOther = newValue.length > 0;
btn.textContent = hasOther ? '详情' : '+';
btn.title = hasOther ? '点击查看/编辑' : '点击添加';
btn.style.background = hasOther ? 'var(--wechat-primary)' : '';
btn.style.background = hasOther ? 'var(--wechat-green)' : '';
btn.style.color = hasOther ? 'white' : '';
}