mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 01:21:20 -08:00
update daumuku demo
This commit is contained in:
1 parent
a043a55b38
commit
8c9e1e3446
12 files changed
+88
-228
No files matched your search
@@ -110,30 +110,30 @@ export default function setting(art, danmuku) {
|
||||
tooltip: '适中',
|
||||
selector: [
|
||||
{
|
||||
html: '极慢',
|
||||
fontSize: 12,
|
||||
html: '极小',
|
||||
fontSize: '2%',
|
||||
},
|
||||
{
|
||||
html: '较慢',
|
||||
fontSize: 7.5,
|
||||
html: '较小',
|
||||
fontSize: '4%',
|
||||
},
|
||||
{
|
||||
default: true,
|
||||
html: '适中',
|
||||
fontSize: 5,
|
||||
fontSize: '6%',
|
||||
},
|
||||
{
|
||||
html: '较快',
|
||||
fontSize: 2.5,
|
||||
html: '较大',
|
||||
fontSize: '8%',
|
||||
},
|
||||
{
|
||||
html: '极快',
|
||||
fontSize: 1,
|
||||
html: '极大',
|
||||
fontSize: '10%',
|
||||
},
|
||||
],
|
||||
onSelect: function (item) {
|
||||
danmuku.config({
|
||||
speed: item.time,
|
||||
fontSize: item.fontSize,
|
||||
});
|
||||
return item.html;
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user