Release Shijian 0.1.20 with Xiaohongshu browsing
This commit is contained in:
+35
-8
@@ -335,9 +335,16 @@
|
||||
<div class="card">
|
||||
<h3>任务范围</h3>
|
||||
<dl class="fields">
|
||||
<div><dt>平台</dt><dd class="control select">抖音</dd></div>
|
||||
<div>
|
||||
<dt><label for="target-platform">平台</label></dt>
|
||||
<dd><select id="target-platform" class="control settings-input">
|
||||
<option value="douyin">抖音</option>
|
||||
<option value="xiaohongshu">小红书(仅浏览)</option>
|
||||
<option value="bilibili">哔哩哔哩(待适配)</option>
|
||||
</select></dd>
|
||||
</div>
|
||||
<div><dt><label for="search-scope">搜索范围</label></dt><dd><select id="search-scope" class="control settings-input"></select></dd></div>
|
||||
<div><dt><label for="video-limit">单次任务视频上限</label></dt><dd><input id="video-limit" class="control settings-input" type="number" inputmode="numeric" min="1" max="100" value="3" required></dd></div>
|
||||
<div><dt><label id="content-limit-label" for="video-limit">单次任务视频上限</label></dt><dd><input id="video-limit" class="control settings-input" type="number" inputmode="numeric" min="1" max="100" value="3" required></dd></div>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="card">
|
||||
@@ -363,13 +370,13 @@
|
||||
<option>匹配评论并回复</option>
|
||||
</select></dd>
|
||||
</div>
|
||||
<div><dt><label for="replies-per-video">每条视频回复上限</label></dt><dd><input id="replies-per-video" class="control settings-input" type="number" inputmode="numeric" min="1" max="100" value="1" required></dd></div>
|
||||
<div><dt><label id="reply-limit-label" for="replies-per-video">每条视频回复上限</label></dt><dd><input id="replies-per-video" class="control settings-input" type="number" inputmode="numeric" min="1" max="100" value="1" required></dd></div>
|
||||
</dl>
|
||||
<p class="hint">达到回复上限或找不到更多匹配评论时,进入下一个视频。</p>
|
||||
<p class="hint" id="reply-scope-hint">达到回复上限或找不到更多匹配评论时,进入下一个视频。</p>
|
||||
</div>
|
||||
<div class="card" id="content-library">
|
||||
<h3>内容库</h3>
|
||||
<p class="hint">按内容类型搜索视频,按关键词匹配评论。每个关键词可配置多条话术。</p>
|
||||
<p class="hint" id="content-scope-hint">按内容类型搜索视频,按关键词匹配评论。每个关键词可配置多条话术。</p>
|
||||
<div class="library-level" id="type-level">
|
||||
<label for="content-type">内容类型</label>
|
||||
<select id="content-type" class="control settings-input"></select>
|
||||
@@ -468,6 +475,8 @@
|
||||
<script>
|
||||
const byId = id => document.getElementById(id);
|
||||
const scope = byId("search-scope");
|
||||
const platformPicker = byId("target-platform");
|
||||
const modePicker = byId("reply-mode");
|
||||
const typePicker = byId("content-type");
|
||||
const rulePicker = byId("keyword-rule");
|
||||
const phrasePicker = byId("reply-phrase");
|
||||
@@ -659,13 +668,31 @@
|
||||
redrawLibrary();
|
||||
});
|
||||
}
|
||||
platformPicker.addEventListener("change", () => {
|
||||
const notes = platformPicker.value === "xiaohongshu";
|
||||
const unit = notes ? "笔记" : "视频";
|
||||
byId("content-limit-label").textContent = `单次任务${unit}上限`;
|
||||
byId("reply-limit-label").textContent = `每条${unit}回复上限`;
|
||||
byId("reply-scope-hint").textContent = notes ? "小红书当前仅支持浏览。" : "达到回复上限或找不到更多匹配评论时,进入下一个视频。";
|
||||
byId("content-scope-hint").textContent = notes ? "按内容类型搜索笔记。" : "按内容类型搜索视频,按关键词匹配评论。每个关键词可配置多条话术。";
|
||||
});
|
||||
byId("save-preview").addEventListener("click", () => {
|
||||
const status = byId("library-status");
|
||||
const invalid = [byId("video-limit"), byId("replies-per-video")].find(input => !input.validity.valid);
|
||||
status.textContent = invalid ? `${invalid.labels[0].textContent}须为 1–100 的整数。` : "预览配置已更新。";
|
||||
status.classList.toggle("error", Boolean(invalid));
|
||||
let error = invalid ? `${invalid.labels[0].textContent}须为 1–100 的整数。` : "";
|
||||
let focus = invalid;
|
||||
if (platformPicker.value === "bilibili") {
|
||||
error = "哔哩哔哩还未适配,请选择已接入的平台。";
|
||||
focus = platformPicker;
|
||||
} else if (platformPicker.value === "xiaohongshu" && modePicker.value !== "仅浏览") {
|
||||
error = "小红书当前仅支持浏览,请将处理方式设为「仅浏览」。";
|
||||
focus = modePicker;
|
||||
}
|
||||
status.textContent = error || "预览配置已更新。";
|
||||
status.classList.toggle("error", Boolean(error));
|
||||
status.hidden = false;
|
||||
invalid?.focus();
|
||||
focus?.focus({ preventScroll: true });
|
||||
status.scrollIntoView({ block: "nearest", inline: "nearest" });
|
||||
});
|
||||
redrawLibrary();
|
||||
</script>
|
||||
|
||||
+11
-1
@@ -1,6 +1,16 @@
|
||||
# 拾见开发进度
|
||||
|
||||
最近更新于 2026-11-26 13:50(UTC+8)。以下按开发轮次倒序记录。
|
||||
最近更新于 2026-11-26 14:35(UTC+8)。以下按开发轮次倒序记录。
|
||||
|
||||
## 2026-11-26 · 拾见 0.1.20 小红书首轮适配
|
||||
|
||||
- vivo Android 12、小红书 9.54.0,已取证首页搜索、搜索编辑、笔记结果列表、图文笔记与视频播放页。图文笔记的评论在同页列表里展开,视频笔记通过独立弹层展示评论。
|
||||
- 小红书首轮接入仅浏览模式,复用内容类型、观看时长、动作间隔、运行日志与检查点。评论匹配、图文回复和回执待适配。
|
||||
- 真机首次启动触发 vivo 跨应用打开提示。14:21 按用户要求为「拾见」打开「小红书」选择「始终打开」。
|
||||
- 真机发现结果卡片合并标题和正文,详情用两个相邻节点展示。补上同容器标题正文合并校验和长文可见区域校验,14:31 从 1/3 检查点继续。启动时无跨应用确认弹窗,自动搜索并在 14:32:58 完成 3/3 条不同图文笔记,发送数为 0。
|
||||
- 14:33:47 冷启动小红书复测,拾见直接打开目标 App,自动搜索并在 14:34:44 完成 3 条不同图文笔记,均记为 `WATCHED`。启动到任务完成用时 57 秒,无待确认项,发送数为 0。视频播放页面已取证,自动浏览连续验收本轮覆盖图文笔记。
|
||||
- 离线构建、APK v2 签名校验和 45 项 JVM 单测通过,Lint 为 0 个错误、4 个警告。真机已覆盖安装 0.1.20,安装包 SHA-256 与本地构建产物一致。静态配置页已在 1440 和 390 像素宽度验证平台提示、保存限制和动态标签。
|
||||
- 验收后已恢复原配置、任务检查点、历史日志和无障碍设置。拾见打开小红书的「始终打开」权限已保留。
|
||||
|
||||
## 2026-11-26 · 拾见 0.1.19 连续实发验收
|
||||
|
||||
|
||||
Reference in New Issue
Block a user