mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 21:31:20 -08:00
分离业务层功能
This commit is contained in:
1 parent
21a5085b55
commit
365df9924a
5 files changed
+80
-123
No files matched your search
+13
-1
@@ -80,6 +80,18 @@
|
||||
time: 300,
|
||||
text: '--终わり--'
|
||||
}
|
||||
],
|
||||
layers: [
|
||||
{
|
||||
index: 1,
|
||||
name: 'your-name',
|
||||
html: '<img style="width: 100px" src="./img/your-name.png">',
|
||||
style: {
|
||||
'top': '20px',
|
||||
'left': '20px',
|
||||
'opacity': '.9'
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -92,7 +104,7 @@
|
||||
});
|
||||
|
||||
app.layers.add({
|
||||
index: 1,
|
||||
index: 2,
|
||||
name: 'your-name',
|
||||
html: '<img style="width: 100px" src="./img/your-name.png">',
|
||||
style: {
|
||||
|
||||
Reference in new issue
Block a user