修复弹幕逻辑
This commit is contained in:
1 parent
409e70cf30
commit
50d140c32c
123 files changed
+1667
-2071
No files matched your search
+14
-11
@@ -70,9 +70,9 @@
|
||||
<article style="margin-bottom: 3.5em;">
|
||||
<h1 class="post-title" itemprop="name headline">初识rss订阅,搭建自己的公益rss阅读器</h1>
|
||||
<div class="meta">
|
||||
作者: 小赵同学 浏览: 字数: 1175 分类:
|
||||
作者: 小赵同学 浏览: 字数: 1175 分类:
|
||||
|
||||
<a href="%e7%94%9f%e6%b4%bb">生活</a>
|
||||
<a href="%e7%94%9f%e6%b4%bb">生活</a>
|
||||
|
||||
</div>
|
||||
<div class="post-content" itemprop="articleBody">
|
||||
@@ -164,21 +164,24 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
for(let i =0;i<=100;i++){
|
||||
for (let i = 0; i <= 100; i++) {
|
||||
loadBarrager();
|
||||
}
|
||||
function loadBarrager() {
|
||||
|
||||
var currentPath = "\/post\/5\/";
|
||||
|
||||
|
||||
|
||||
fetchCommentsAndCreateBarrager(currentPath, {
|
||||
looper_time: 3000,
|
||||
defaultAvatar: 'static/default-avatar.png',
|
||||
defaultInfo: 'No comment',
|
||||
defaultLink: '#',
|
||||
speed: 10,
|
||||
});
|
||||
if (currentPath.includes("post") || currentPath.includes("says")) {
|
||||
|
||||
fetchCommentsAndCreateBarrager(currentPath, {
|
||||
looper_time: 3000,
|
||||
defaultAvatar: 'static/default-avatar.png',
|
||||
defaultInfo: 'No comment',
|
||||
defaultLink: '#',
|
||||
speed: 10,
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user