实现回复确认后的点赞和收藏
This commit is contained in:
@@ -446,8 +446,11 @@
|
||||
</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>
|
||||
<div><dt><label for="like-on-success">确认回复后点赞</label></dt><dd><select id="like-on-success" class="control settings-input"><option>关闭</option><option>开启</option></select></dd></div>
|
||||
<div><dt><label for="favorite-on-success">确认回复后收藏</label></dt><dd><select id="favorite-on-success" class="control settings-input"><option>关闭</option><option>开启</option></select></dd></div>
|
||||
</dl>
|
||||
<p class="hint" id="reply-scope-hint">达到回复上限或找不到更多匹配评论时,进入下一个视频。</p>
|
||||
<p class="hint" id="engage-hint">仅在该视频的回复已确认发送后点赞和收藏,失败只记录日志。</p>
|
||||
</div>
|
||||
<div class="card" id="content-library">
|
||||
<h3>内容库</h3>
|
||||
@@ -822,7 +825,7 @@
|
||||
nextId = 0;
|
||||
editing = deleting = photoTarget = undefined;
|
||||
singleLine.value = multiLine.value = fileInput.value = "";
|
||||
for (const picker of [platformPicker, replyMode, bilibiliScope, scope]) picker.selectedIndex = 0;
|
||||
for (const picker of [platformPicker, replyMode, bilibiliScope, scope, byId("like-on-success"), byId("favorite-on-success")]) picker.selectedIndex = 0;
|
||||
for (const input of [byId("video-limit"), byId("replies-per-video")]) input.value = input.defaultValue;
|
||||
const pending = byId("pending-receipt-preview");
|
||||
pending.open = false;
|
||||
|
||||
Reference in New Issue
Block a user