diff --git a/src/renderer/src/locales/lang/en_US/pages/player.ts b/src/renderer/src/locales/lang/en_US/pages/player.ts index d2324222d..4f3c1084e 100644 --- a/src/renderer/src/locales/lang/en_US/pages/player.ts +++ b/src/renderer/src/locales/lang/en_US/pages/player.ts @@ -9,6 +9,7 @@ export default { share: 'share', analyze: 'Analyze', anthology: 'Anthology', + line: 'Line', recommend: 'Recommend', actors: 'ActingStaff', director: 'Director', diff --git a/src/renderer/src/locales/lang/zh_CN/pages/player.ts b/src/renderer/src/locales/lang/zh_CN/pages/player.ts index 1081c80c9..a977ca62e 100644 --- a/src/renderer/src/locales/lang/zh_CN/pages/player.ts +++ b/src/renderer/src/locales/lang/zh_CN/pages/player.ts @@ -9,6 +9,7 @@ export default { share: '分享', analyze: '解析', anthology: '选集', + line: '线路', recommend: '猜你喜欢', actors: '演职员', director: '导演', diff --git a/src/renderer/src/pages/Play.vue b/src/renderer/src/pages/Play.vue index 6b44de15d..c54211d17 100644 --- a/src/renderer/src/pages/Play.vue +++ b/src/renderer/src/pages/Play.vue @@ -190,10 +190,26 @@

{{ $t('pages.player.film.anthology') }}

+
+ + + {{ $t('pages.player.film.line') }} + + + + + {{ key }} + + + +
- {{ $t('pages.player.film.analyze') }} + {{ $t('pages.player.film.analyze') }} @@ -215,12 +231,27 @@
- +
+
+ +
+ {{ formatReverseOrder(isVisible.reverseOrder ? 'positive' : 'negative', index, + season?.[active.flimSource]?.length) + }} +
+
+
+
+
+
{{ $t('pages.player.film.recommend') }}
@@ -621,6 +652,10 @@ const fetchAnalyze = async (): Promise => { if (response.default?.id) active.analyzeId = response.default?.id; }; +const switchLineEvent = async (id: string) => { + active.flimSource = id; +}; + // 切换解析接口 const switchAnalyzeEvent = async (id: string) => { active.analyzeId = id; @@ -1640,7 +1675,8 @@ window.electron.ipcRenderer.on('destroy-playerWindow', () => { font-weight: 600; } - .box-anthology-analyze { + .box-anthology-analyze, + .box-anthology-line { :deep(.t-button) { padding: 0; } @@ -1650,6 +1686,8 @@ window.electron.ipcRenderer.on('destroy-playerWindow', () => { } :deep(.t-button--variant-text) { + color: var(--td-text-color-secondary); + .t-button__suffix { margin-left: var(--td-comp-margin-xxs); } @@ -1757,7 +1795,7 @@ window.electron.ipcRenderer.on('destroy-playerWindow', () => { .component-title { font-size: 16px; line-height: 16px; - margin-top: 24px; + margin-top: 10px; margin-bottom: 12px; font-weight: 500; color: var(--td-text-color-primary);