style(workshop): 需求卡空值文案改『待完善』(确认弹窗兜底同步)

This commit is contained in:
maogeigei committed 2026-09-02 18:35:32 +08:00
1 parent cc59c1cc87
commit 8c5b66da67
1 file changed
+3 -3
@@ -213,7 +213,7 @@ function buildCreatePrompt(accountName, w, personaBlock, hasPersona, attachText)
}
/* AI创作 弹窗(09-02 v2:需求框 + 输入框 对话式打磨)——
顶部=创作需求(5 行选题字段,随对话逐轮被 AI 更新,空值标「待定·由 AI 按账号设定与选题自决」)+ 下方时长选项条
顶部=创作需求(5 行选题字段,随对话逐轮被 AI 更新,空值标「待完善」)+ 下方时长选项条
中部=对话流(用户输入 vs AI 整理/追问),底部=输入框 + 提交创作 */
async function confirmAiScript(accountName, btn) {
const accId = btn && btn.dataset.accId ? btn.dataset.accId : '';
@@ -284,7 +284,7 @@ async function confirmAiScript(accountName, btn) {
const renderSheet = () => {
const rows = REQ_FIELDS.map(([k, label]) => {
const v = String(w[k] || '').trim();
return `<div class="req-field${v ? '' : ' empty'}"><div class="rf-title">${label}</div><div class="rf-val">${v ? esc(v) : '(待定 · 由 AI 按账号设定与选题自决)'}</div></div>`;
return `<div class="req-field${v ? '' : ' empty'}"><div class="rf-title">${label}</div><div class="rf-val">${v ? esc(v) : '待完善'}</div></div>`;
}).join('');
q('#reqSheet').innerHTML = rows;
const filled = REQ_FIELDS.filter(([k]) => String(w[k] || '').trim()).length;
@@ -446,7 +446,7 @@ async function confirmAiScript(accountName, btn) {
if (busy) return;
await loadPersona(); // 先加载人设,供确认弹窗展示人设/附件状态
const lines = reqLines(w);
const reqTxt = lines.length ? lines.map((l) => esc(l)).join('\n') : '(未填写 · 由 AI 按人设自决)';
const reqTxt = lines.length ? lines.map((l) => esc(l)).join('\n') : '(待完善)';
const perTxt = pHas ? '已加载账号设定(人设卡)' : '暂无账号设定(创作前将先提取)';
const atTxt = attach.name ? `已附附件:${esc(attach.name)}` : '无附件';
const ck = document.createElement('div'); ck.className = 'modal-mask';