v26110470 孕妈广场:删除帖子 b11-2(孕16周下巴冒了一排痘),留 del 占位不挪 id
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -5277,6 +5277,7 @@ window.GC_DATA = {
|
||||
"photo": "img/15ab886ed101.jpg"
|
||||
},
|
||||
{
|
||||
"del": 1,
|
||||
"title": "孕16周下巴冒了一排痘,青春期都没这么狠",
|
||||
"cover": "下巴失守",
|
||||
"coverSub": "孕16周 激素在作怪",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -910,10 +910,10 @@ html.night .gtg button.on{background:#F2725B;border-color:#F2725B;color:#fff}
|
||||
<div id="sheet" role="dialog" aria-modal="true"><i class="sg"></i><div class="sbd" id="sbd"></div></div>
|
||||
<div class="toast" id="toast"></div>
|
||||
|
||||
<script src="topics.js?v=26110469"></script>
|
||||
<script src="data.js?v=26110469"></script>
|
||||
<script src="feed.js?v=26110469"></script>
|
||||
<script src="../js/ava-pool.js?v=26110469"></script> <!-- 11-05 装饰头像分配表(各模块互不重复) -->
|
||||
<script src="topics.js?v=26110470"></script>
|
||||
<script src="data.js?v=26110470"></script>
|
||||
<script src="feed.js?v=26110470"></script>
|
||||
<script src="../js/ava-pool.js?v=26110470"></script> <!-- 11-05 装饰头像分配表(各模块互不重复) -->
|
||||
<script src="ceshi/meta.js?v=26110464"></script>
|
||||
<script src="../js/share-card.js?v=26110464"></script>
|
||||
<script src="../js/cm-pics.js?v=26110464"></script> <!-- 11-05 评论 / 回复带图 -->
|
||||
@@ -957,6 +957,7 @@ html.night .gtg button.on{background:#F2725B;border-color:#F2725B;color:#fff}
|
||||
T.forEach(function (t, ti) {
|
||||
var d = D[t.id]; if (!d) return;
|
||||
(d.notes || []).forEach(function (n, i) {
|
||||
if (n.del) return; /* 11-05 用户删帖:保留位置不挪,后面几篇 id(评论 / 头像 / 转发图)不错位 */
|
||||
var o = {
|
||||
id: t.id + '-' + (i + 1), t: t.id, i: i, title: n.title, cover: n.cover || n.title, coverSub: n.coverSub || '',
|
||||
author: n.author, stage: n.stage, likes: window.GC_LIKES ? GC_LIKES(t.id + '-' + (i + 1), n.likes) : (+n.likes || 0), body: n.body || '', /* 11-05 每天 +20~30(feed.js) */
|
||||
@@ -983,7 +984,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=26110469').then(function (r) { return r.json(); }).then(function (j) {
|
||||
fetch('cm.json?v=26110470').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) {
|
||||
|
||||
@@ -107,7 +107,7 @@ main{padding:6px 16px 0}
|
||||
</div>
|
||||
<div class="wb"><button type="button" id="write"><svg class="ic" viewBox="0 0 24 24"><path d="M12 20h9M16.5 3.5a2.1 2.1 0 013 3L7 19l-4 1 1-4z"/></svg>写新的故事</button></div>
|
||||
|
||||
<script src="../topics.js?v=26110469"></script>
|
||||
<script src="../topics.js?v=26110470"></script>
|
||||
<script>
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|---|---|
|
||||
| 分类 | 3 块:家庭婚姻 / 职场 / 经验(话题 id 前缀 f、m = 家庭婚姻,w = 职场,b = 经验) |
|
||||
| 话题 | 41 个(11-05 新增 b11 孕期护肤),名字用正向口语(如「怀孕后,我妈的电话一天比一天多」) |
|
||||
| 篇数 | 每个话题 ≥ 3 篇,目前共 185 篇 |
|
||||
| 篇数 | 每个话题 ≥ 3 篇,目前共 184 篇(11-05 删 b11-2 下巴长痘,data.js 留 del 标记占位,别挪位置) |
|
||||
| 标签 | 「大家在聊」下一行标签(职场 / 护肤经验 / 夫妻日常 / 婆家娘家 / 身体变化 / 吃喝 / 胎动 / 待产生娃 / 花钱囤货 / 宅家日常),按话题归类,定义在 `index.html` 的 GTAGS;新话题记得归进标签 |
|
||||
| 孕周分段 | 按孕周 6 段出帖,每段 ≥ 16 篇,另有「过来人」;信息流每 5 条 = 3 条同段 + 1 条过来人 + 1 条相邻段 |
|
||||
| 字段 | 标题、封面大字 + 小字、作者昵称、阶段(孕 X 周 / 宝宝 X 个月)、点赞数、正文、配图 |
|
||||
|
||||
Reference in New Issue
Block a user