We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
初学者,打扰了,请问弹幕可以正常滚动,但是left属性没有生效,所有弹幕都是在最左边显示的,滚动也是从最左边开始的,而不是从右边滚动到左边,请问是什么原因导致的?
danmakuList:[ {mode:1,text:"请画出受力分析(10分)",stime:2000,size:25,dur:7000,color:0xFFFFFFFF}, {mode:2,text:"这风景太漂亮了吧~",stime:1000,size:25,dur:4000,color:0xFF0000}, {mode:5,text:"前方高能,建议反复观看!!",stime:1500,size:25,dur:40000,color:0xFFFF00}, ]
html模块:
css模块: .adp { position: relative; height: 100% !important; max-width: 1920px; margin: 0 auto; background-color: rgba(255, 255, 255, 0); } .container{ position: absolute; z-index: 2 !important; height: 100%; width: 100%; }
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
初学者,打扰了,请问弹幕可以正常滚动,但是left属性没有生效,所有弹幕都是在最左边显示的,滚动也是从最左边开始的,而不是从右边滚动到左边,请问是什么原因导致的?
danmakuList:[
{mode:1,text:"请画出受力分析(10分)",stime:2000,size:25,dur:7000,color:0xFFFFFFFF},
{mode:2,text:"这风景太漂亮了吧~",stime:1000,size:25,dur:4000,color:0xFF0000},
{mode:5,text:"前方高能,建议反复观看!!",stime:1500,size:25,dur:40000,color:0xFFFF00},
]
html模块:
css模块:
.adp {
position: relative;
height: 100% !important;
max-width: 1920px;
margin: 0 auto;
background-color: rgba(255, 255, 255, 0);
}
.container{
position: absolute;
z-index: 2 !important;
height: 100%;
width: 100%;
}
The text was updated successfully, but these errors were encountered: