1、统一格式化

2、删除未使用的依赖
This commit is contained in:
zyronon 2024-04-04 20:34:53 +08:00
parent ed2da23169
commit 130b633651
5 changed files with 70 additions and 2168 deletions

View File

@ -44,8 +44,6 @@
"rollup-plugin-visualizer": "^5.9.2", "rollup-plugin-visualizer": "^5.9.2",
"unplugin-vue-define-options": "^1.4.1", "unplugin-vue-define-options": "^1.4.1",
"vite": "4.5.3", "vite": "4.5.3",
"vite-plugin-cdn-import": "0.3.5", "vite-plugin-cdn-import": "0.3.5"
"vite-plugin-compression": "^0.5.1",
"vite-plugin-imagemin": "^0.6.1"
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -58,7 +58,7 @@
"width": 720, "width": 720,
"height": 720 "height": 720
}, },
"poster":"a1.jpg", "poster": "a1.jpg",
"height": 3840, "height": 3840,
"width": 2160, "width": 2160,
"ratio": "1080p", "ratio": "1080p",
@ -343,7 +343,7 @@
"width": 720, "width": 720,
"height": 720 "height": 720
}, },
"poster":"a2.jpg", "poster": "a2.jpg",
"height": 1920, "height": 1920,
"width": 1080, "width": 1080,
"ratio": "1080p", "ratio": "1080p",
@ -916,7 +916,7 @@
"width": 720, "width": 720,
"height": 720 "height": 720
}, },
"poster":"a3.jpg", "poster": "a3.jpg",
"height": 1920, "height": 1920,
"width": 1080, "width": 1080,
"ratio": "720p", "ratio": "720p",
@ -1166,7 +1166,7 @@
"width": 720, "width": 720,
"height": 720 "height": 720
}, },
"poster":"a4.jpg", "poster": "a4.jpg",
"height": 1080, "height": 1080,
"width": 1920, "width": 1920,
"ratio": "1080p", "ratio": "1080p",
@ -1428,7 +1428,7 @@
"width": 720, "width": 720,
"height": 720 "height": 720
}, },
"poster":"a5.jpg", "poster": "a5.jpg",
"height": 1920, "height": 1920,
"width": 1080, "width": 1080,
"ratio": "1080p", "ratio": "1080p",

View File

@ -308,7 +308,7 @@ export default {
query: { id: this.item.id } query: { id: this.item.id }
}) })
} }
}else { } else {
if (this.status === SlideItemPlayStatus.Play) { if (this.status === SlideItemPlayStatus.Play) {
this.pause() this.pause()
} else { } else {

View File

@ -133,4 +133,4 @@ onUnmounted(() => {
bus.off(EVENT_KEY.SINGLE_CLICK, click) bus.off(EVENT_KEY.SINGLE_CLICK, click)
bus.on(EVENT_KEY.UPDATE_ITEM, updateItem) bus.on(EVENT_KEY.UPDATE_ITEM, updateItem)
}) })
</script> </script>