diff --git a/client/auto-imports.d.ts b/client/auto-imports.d.ts index 918aad8..9d24007 100644 --- a/client/auto-imports.d.ts +++ b/client/auto-imports.d.ts @@ -1,7 +1,9 @@ /* eslint-disable */ /* prettier-ignore */ // @ts-nocheck +// noinspection JSUnusedGlobalSymbols // Generated by unplugin-auto-import +// biome-ignore lint: disable export {} declare global { diff --git a/client/components.d.ts b/client/components.d.ts index 0681cee..a73cbad 100644 --- a/client/components.d.ts +++ b/client/components.d.ts @@ -1,13 +1,15 @@ /* eslint-disable */ -/* prettier-ignore */ // @ts-nocheck +// biome-ignore lint: disable +// oxlint-disable +// ------ // Generated by unplugin-vue-components // Read more: https://github.com/vuejs/core/pull/3399 -import '@vue/runtime-core' export {} -declare module '@vue/runtime-core' { +/* prettier-ignore */ +declare module 'vue' { export interface GlobalComponents { CustomDialog: typeof import('./src/components/Popup/CustomDialog.vue')['default'] ElAside: typeof import('element-plus/es')['ElAside'] diff --git a/client/package.json b/client/package.json index 6da7941..9d2b30b 100644 --- a/client/package.json +++ b/client/package.json @@ -10,22 +10,23 @@ "preview": "vite preview" }, "dependencies": { - "@element-plus/icons-vue": "^2.3.1", - "@videojs-player/vue": "^1.0.0", - "axios": "^1.3.4", - "element-plus": "^2.8.6", - "video.js": "^7.0.0", - "vue": "^3.4.31" + "@element-plus/icons-vue": "^2.3.2", + "axios": "^1.14.0", + "element-plus": "^2.13.6", + "vue": "^3.5.32", + "xgplayer": "^3.0.24", + "xgplayer-hls": "^3.0.24" }, "devDependencies": { - "@vitejs/plugin-vue": "^4.1.0", - "express": "^4.18.2", - "typescript": "^4.9.3", - "unplugin-auto-import": "^0.15.1", - "unplugin-vue-components": "^0.24.1", - "vite": "^7.3.1", - "vite-plugin-ssr": "^0.4.85", - "vue-router": "^4.1.6", - "vue-tsc": "^1.2.0" + "@types/node": "^25.5.2", + "@vitejs/plugin-vue": "^6.0.5", + "express": "^5.2.1", + "typescript": "^6.0.2", + "unplugin-auto-import": "^21.0.0", + "unplugin-vue-components": "^32.0.0", + "vite": "^8.0.3", + "vite-plugin-ssr": "^0.4.142", + "vue-router": "^5.0.4", + "vue-tsc": "^3.2.6" } } diff --git a/client/src/components/index/FilmList.vue b/client/src/components/index/FilmList.vue index 91f0765..6670136 100644 --- a/client/src/components/index/FilmList.vue +++ b/client/src/components/index/FilmList.vue @@ -45,7 +45,7 @@ @@ -116,6 +113,10 @@ const play = () => { height: 80% } + + +/*========================================================================================================================*/ + .player_header { margin: 40px auto; } @@ -154,15 +155,16 @@ const play = () => { /*播放器样式.*/ .player_area { - width: 100%; - /*height: 700px;*/ - margin: 0; - padding-bottom: 56.25% !important; + width: 92%; + margin: 0 auto; + aspect-ratio: 16 / 9; +/* padding-bottom: 56.25% !important;*/ position: relative; border-radius: 6px; display: flex; } +/* .video-player { width: 80% !important; height: 80% !important; @@ -184,7 +186,7 @@ const play = () => { background: rgba(0, 0, 0, 0.32); } -/*取消video被选中的白边*/ +!*取消video被选中的白边*! :deep(video:focus) { border: none !important; outline: none; @@ -203,7 +205,7 @@ const play = () => { border-radius: 6px; } -/*进度条配色*/ +!*进度条配色*! :deep(.video-js .vjs-load-progress div) { background: rgba(255, 255, 255, 0.55) !important; } @@ -215,5 +217,6 @@ const play = () => { :deep(.video-js .vjs-slider) { background-color: hsla(0, 0%, 100%, .2); } +*/ \ No newline at end of file diff --git a/client/src/views/index/Play.vue b/client/src/views/index/Play.vue index 062f394..bf64d72 100644 --- a/client/src/views/index/Play.vue +++ b/client/src/views/index/Play.vue @@ -1,17 +1,6 @@