diff --git a/modules/novel-draw/cloud-presets.js b/modules/novel-draw/cloud-presets.js index b1673d0..cb22244 100644 --- a/modules/novel-draw/cloud-presets.js +++ b/modules/novel-draw/cloud-presets.js @@ -77,8 +77,8 @@ export function parsePresetData(data, generateId) { } export function exportPreset(preset) { - const author = prompt("请输入你的作者名 (将显示在云端):", "") || ""; - const description = prompt("简介 (可选):", "") || ""; + const author = prompt("请输入你的作者名:", "") || ""; + const description = prompt("简介 (画风介绍):", "") || ""; return { type: 'novel-draw-preset', diff --git a/modules/novel-draw/novel-draw.html b/modules/novel-draw/novel-draw.html index 6c1f879..3a323fe 100644 --- a/modules/novel-draw/novel-draw.html +++ b/modules/novel-draw/novel-draw.html @@ -84,7 +84,17 @@ body { transition: opacity 0.2s; white-space: nowrap; } .header-credit:hover { opacity: 0.9; } -.credit-author { font-style: normal; color: var(--text-secondary); } +.credit-author { + font-style: normal; + color: var(--text-secondary); + transition: color 0.15s, opacity 0.15s; + cursor: default; +} +.credit-author:hover { + color: var(--accent); + opacity: 1; + text-shadow: 0 0 8px rgba(212, 165, 116, 0.5); +} .nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; color: var(--text-secondary); cursor: pointer; @@ -351,7 +361,7 @@ select.input { cursor: pointer; }
未启用
- · 𝓡𝓸𝓻𝓸𝓵𝓵𝓵𝓷 +
@@ -858,6 +868,16 @@ function parseDelay(str) { return { ...DEFAULTS.requestDelay }; } +function shuffleCredits() { + const authors = ['𝓡𝓸𝓻𝓸𝓵𝓵𝓵𝓷', '纤濯', '小白狐']; + const shuffled = authors.sort(() => Math.random() - 0.5); + const el = document.getElementById('nd_credits'); + if (el) { + el.innerHTML = shuffled + .map(name => `· ${name}`) + .join(' '); + } +} // ═══════════════════════════════════════════════════════════════════════════ // UI 更新 // ═══════════════════════════════════════════════════════════════════════════ @@ -1374,6 +1394,7 @@ window.addEventListener('message', event => { gallerySummary = data.gallerySummary || {}; loadedCharPreviews = {}; applyStateToUI(); + shuffleCredits(); break; case 'CHARACTER_PREVIEWS_LOADED': @@ -1448,6 +1469,7 @@ window.addEventListener('message', event => { // ═══════════════════════════════════════════════════════════════════════════ document.addEventListener('DOMContentLoaded', () => { + shuffleCredits(); // ═══════════════════════════════════════════════════════════════════════ // 导航切换 // ═══════════════════════════════════════════════════════════════════════