From f2892ba6408eaf945dd865dda434927b9686d477 Mon Sep 17 00:00:00 2001 From: deploy Date: Sat, 7 Nov 2026 05:31:14 +0000 Subject: [PATCH] =?UTF-8?q?=E5=B9=BF=E5=9C=BA=E3=80=81=E4=B8=93=E9=A2=98?= =?UTF-8?q?=E9=A1=B5=E8=AF=84=E8=AE=BA=EF=BC=9A=E8=87=AA=E5=B7=B1=E7=9A=84?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E4=B8=AD=E4=B9=9F=E6=98=BE=E7=A4=BA=EF=BC=88?= =?UTF-8?q?=E6=A0=87=E3=80=8C=E5=AE=A1=E6=A0=B8=E4=B8=AD=20=C2=B7=20?= =?UTF-8?q?=E5=8F=AA=E6=9C=89=E4=BD=A0=E8=87=AA=E5=B7=B1=E7=9C=8B=E5=BE=97?= =?UTF-8?q?=E5=88=B0=E3=80=8D=EF=BC=89=EF=BC=8C=E6=9C=AA=E9=80=9A=E8=BF=87?= =?UTF-8?q?=E4=B8=8D=E5=87=BA=20(v26110635)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- guangchang/index.html | 10 +++++----- index.html | 6 +++--- js/app.js | 2 +- js/wh-cm.js | 2 +- topic/_shared/tools.js | 8 ++++---- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/guangchang/index.html b/guangchang/index.html index 5642a64..312a838 100644 --- a/guangchang/index.html +++ b/guangchang/index.html @@ -1053,7 +1053,7 @@ html.night .gtg button.on{background:#F2725B;border-color:#F2725B;color:#fff} var CMD = null, CMERR = false; /* 头像编码:数字 = av/NNNN.webp(旧代码头像);'av:c012' = av/c012.webp(卡通/可爱卡通);'/…' = 站内绝对路径(内置头像库 /_bridge/avatars/);其余 = assets/img/mom/xxx.jpg */ var avP = function (a) { return typeof a === 'number' ? 'av/' + ('000' + a).slice(-4) + '.webp' : a.indexOf('av:') === 0 ? 'av/' + a.slice(3) + '.webp' : a.charAt(0) === '/' ? a : '../assets/img/mom/' + a + '.jpg'; }; - fetch('cm.json?v=26110634').then(function (r) { return r.json(); }).then(function (j) { + fetch('cm.json?v=26110635').then(function (r) { return r.json(); }).then(function (j) { CMD = j; if (openId && NBY[openId]) { renderComments(NBY[openId]); syncBar(NBY[openId]); } }).catch(function () { CMERR = true; if (openId && NBY[openId]) renderComments(NBY[openId]); }); function commentsOf(n) { @@ -1079,10 +1079,10 @@ html.night .gtg button.on{background:#F2725B;border-color:#F2725B;color:#fff} /* 11-03 用户:评论要后台审核通过才对外公开。服务器 /plaza/comments:list = 别人已通过的;mine = 我在这篇下发的(含审核中 / 未通过)。 ME.cm 里没有 id 的是 11-03 以前只存本机的旧评论,从没公开过,照旧只给自己看(标「仅自己可见」)。 */ var RC = {}; - /* 11-07 用户:评论、回复一定要审核通过才显示,自己也不显示「审核中」—— 只留已通过的;本机旧评论(从没审过)也不再显示 */ + /* 11-07 用户改(同星空留言区):别人只看到已通过的;自己发的审核中也显示、标「审核中 · 只有你自己看得到」;没通过的不出;本机旧评论(从没审过)不再显示 */ var myCm = function (id) { var old = []; - var srv = RC[id] ? RC[id].mine.filter(function (c) { return c.status === 'approved'; }).map(function (c) { return { id: c.id, t: c.text, ts: c.at, s: c.stage, st: c.status, why: c.reason, parent: c.parent, to: c.parentName, img: c.images }; }) : []; + var srv = RC[id] ? RC[id].mine.filter(function (c) { return c.status !== 'rejected'; }).map(function (c) { return { id: c.id, t: c.text, ts: c.at, s: c.stage, st: c.status, why: c.reason, parent: c.parent, to: c.parentName, img: c.images }; }) : []; return old.concat(srv.reverse()); }; var realCm = function (id) { return RC[id] ? RC[id].list : []; }; @@ -1095,7 +1095,7 @@ html.night .gtg button.on{background:#F2725B;border-color:#F2725B;color:#fff} } var cpH = function (a) { return window.MBCmPics ? MBCmPics.html(a) : ''; }; /* 11-05 评论里的图 */ var cpT = function (t) { return window.MBCmPics ? MBCmPics.txt(t) : esc(t); }; /* 11-05 评论文字里的 [兜表情:xx] 换成表情图 */ - function stTag(c) { return c.st === 'pending' ? '审核中 · 通过后大家才能看到' : c.st === 'rejected' ? '未通过' + (c.why ? ':' + esc(c.why) : '') + '' : c.st === 'local' ? '仅自己可见' : ''; } + function stTag(c) { return c.st === 'pending' ? '审核中 · 只有你自己看得到' : c.st === 'rejected' ? '未通过' + (c.why ? ':' + esc(c.why) : '') + '' : c.st === 'local' ? '仅自己可见' : ''; } function rpHTML(list, k, owner) { return list.length ? '
' + list.map(function (x) { return '' + esc(x.n) + '' + (x.au ? '作者' : '') + (x.me ? '我' : '') + @@ -2217,7 +2217,7 @@ html.night .gtg button.on{background:#F2725B;border-color:#F2725B;color:#fff} cin.value = ''; if (CP) CP.clear(); $('#csend').disabled = true; cin.blur(); $('#bar').classList.remove('typing'); if (openId === n.id) { renderComments(n); syncBar(n); } if (!wasReply) { var w = $('#cmw'); if (w) $('#dsc').scrollTo({ top: w.offsetTop - 50, behavior: 'smooth' }); } - toast(wasReply ? '回复已提交,审核通过后才会显示' : '已提交,审核通过后才会显示'); + toast(wasReply ? '回复已发出,审核通过后大家就能看到' : '已发出,审核通过后大家就能看到'); }).catch(function () { send.busy = false; $('#csend').disabled = !canSend(); toast('网络不太好,稍后再试'); }); } diff --git a/index.html b/index.html index 9677c1b..68f7ba2 100644 --- a/index.html +++ b/index.html @@ -9,10 +9,10 @@ 兜爸心选 · 孕育陪伴 - + - + @@ -2680,7 +2680,7 @@ html.night .rs-pan .rp-card{background:rgba(255,255,255,.06);border-color:rgba(2 - +