上传一波
parent
d31cd6d4be
commit
12eb6709d9
|
@ -56,6 +56,8 @@ function receiveMessage(event)
|
|||
return false
|
||||
}
|
||||
|
||||
// custom.js中 每条弹幕的处理 放到了此处
|
||||
// -------------------- 每条弹幕处理 begin -----------------------
|
||||
let random1 = uid in uidList ? 1 : 0
|
||||
let random2 = Math.floor(Math.random() + 0.5)
|
||||
let dm = {text: data.danmaku, uid: data.uid, uname: data.uname,
|
||||
|
@ -86,6 +88,8 @@ function receiveMessage(event)
|
|||
},3000)
|
||||
}
|
||||
|
||||
// -------------------- 每条弹幕处理 end -----------------------
|
||||
|
||||
// event.source 就当前弹出页的来源页面
|
||||
// event.data 是 "hello there!"
|
||||
|
||||
|
|
Loading…
Reference in New Issue