mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:23:21 -08:00
压缩html空格
This commit is contained in:
1 parent
48b81536a8
commit
a31fe1b5d5
12 files changed
+73
-73
No files matched your search
@@ -6,10 +6,10 @@ export default function aspectRatio(option) {
|
||||
return {
|
||||
...option,
|
||||
html: `
|
||||
${i18n.get('Aspect ratio')}:
|
||||
<span data-ratio="default" class="art-current">${i18n.get('Default')}</span>
|
||||
<span data-ratio="4:3">4:3</span>
|
||||
<span data-ratio="16:9">16:9</span>
|
||||
${i18n.get('Aspect ratio')}:
|
||||
<span data-ratio="default" class="art-current">${i18n.get('Default')}</span>
|
||||
<span data-ratio="4:3">4:3</span>
|
||||
<span data-ratio="16:9">16:9</span>
|
||||
`,
|
||||
click: (contextmenu, event) => {
|
||||
const { ratio } = event.target.dataset;
|
||||
|
||||
Reference in new issue
Block a user