fix: 明确图片评论限制 v1.7.7

- 小红书网页版评论框不支持图片(仅App支持),发送失败时页面弹提示(只弹一次)
- 侧边栏图片模式显示橙色警告,引导改用自定义文字/AI模式
This commit is contained in:
88531 committed 2026-10-10 16:01:14 +08:00
1 parent 2e97e62210
commit 85b7d6f762
6 files changed
+28 -13

No files matched your search

+3 -2
View File
@@ -1155,7 +1155,7 @@ class AutoCommentManager {
hint.textContent = '⚠ 自定义文字模式还没有文字内容,请在下方填写并保存';
hint.classList.add('warn');
} else if (current === 'image' && imageCount === 0) {
hint.textContent = '⚠ 图片回复模式还没有上传图片,请在下方选择图片';
hint.textContent = '⚠ 小红书网页版评论不支持发图片(仅手机App支持),此模式大概率发不出,建议用「自定义文字」或「AI」';
hint.classList.add('warn');
} else if (current === 'custom' && hasKey) {
hint.textContent = '⚠ 当前是固定评论池,下方模型配置不会生效;要按笔记生成请点「AI 按笔记生成」';
@@ -1165,7 +1165,8 @@ class AutoCommentManager {
} else if (current === 'text') {
hint.textContent = `✓ 每篇笔记发送一条自定义文字(共 ${textCount} 条循环)`;
} else if (current === 'image') {
hint.textContent = `✓ 每篇笔记发送一张图片(共 ${imageCount} 张循环)`;
hint.textContent = `⚠ 已上传 ${imageCount} 张,但小红书网页版评论不支持发图片(仅手机App支持),大概率发送失败,建议改用「自定义文字」或「AI」`;
hint.classList.add('warn');
} else {
hint.textContent = '固定评论池 = 循环发预设短评;下方模型配置暂不生效';
}