调整弹幕以及发布新文章
This commit is contained in:
1 parent
86802335dd
commit
929efcd2d5
86 files changed
+372
-669
No files matched your search
@@ -68,7 +68,7 @@ async function fetchCommentsAndCreateBarrager(path, options) {
|
||||
fontSize:"14px",
|
||||
isLeft:true,
|
||||
speed:0,
|
||||
height:"35px"
|
||||
height:"33px"
|
||||
});
|
||||
|
||||
if (totalComments !== 0) {
|
||||
@@ -78,7 +78,7 @@ async function fetchCommentsAndCreateBarrager(path, options) {
|
||||
function createBarrager() {
|
||||
const currentComment = flattenedComments[currentIndex];
|
||||
const barragerItem = {
|
||||
headImg: currentComment.avatar + "?s=24" || options.defaultAvatar,
|
||||
headImg: currentComment.avatar + "?s=33" || options.defaultAvatar,
|
||||
content: stripHTML(currentComment.orig) || options.defaultInfo,
|
||||
href: currentComment.link || options.defaultLink,
|
||||
speed: options.speed || 10
|
||||
@@ -90,7 +90,7 @@ async function fetchCommentsAndCreateBarrager(path, options) {
|
||||
barrage.start(barragerItem.content, {
|
||||
speed: barragerItem.speed,
|
||||
headImg: barragerItem.headImg,
|
||||
speed:25
|
||||
speed:35
|
||||
});
|
||||
|
||||
currentIndex++;
|
||||
|
||||
Reference in new issue
Block a user