Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xuwx1
LightX2V
Commits
d8558a0c
Unverified
Commit
d8558a0c
authored
Nov 13, 2025
by
LiangLiu
Committed by
GitHub
Nov 13, 2025
Browse files
update froentend (#470)
Co-authored-by:
qinxinyi
<
qxy118045534@163.com
>
parent
2a31ba43
Changes
26
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
351 additions
and
246 deletions
+351
-246
lightx2v/deploy/server/frontend/src/style.css
lightx2v/deploy/server/frontend/src/style.css
+4
-10
lightx2v/deploy/server/frontend/src/utils/i18n.js
lightx2v/deploy/server/frontend/src/utils/i18n.js
+1
-1
lightx2v/deploy/server/frontend/src/utils/other.js
lightx2v/deploy/server/frontend/src/utils/other.js
+257
-148
lightx2v/deploy/server/frontend/src/views/Layout.vue
lightx2v/deploy/server/frontend/src/views/Layout.vue
+3
-0
lightx2v/deploy/server/frontend/src/views/Login.vue
lightx2v/deploy/server/frontend/src/views/Login.vue
+2
-0
lightx2v/deploy/server/frontend/src/views/Share.vue
lightx2v/deploy/server/frontend/src/views/Share.vue
+84
-87
No files found.
lightx2v/deploy/server/frontend/src/style.css
View file @
d8558a0c
...
@@ -28,10 +28,10 @@
...
@@ -28,10 +28,10 @@
color
:
white
;
color
:
white
;
/* Apple 极简黑白风格 - 品牌色 */
/* Apple 极简黑白风格 - 品牌色 */
--brand-primary
:
#
a68ee7
;
--brand-primary
:
#
90dce1
;
--brand-primary-light
:
#
cdbbfe
;
--brand-primary-light
:
#
90dce1
;
--brand-primary-rgb
:
17
9
,
1
51
,
2
55
;
--brand-primary-rgb
:
8
9
,
1
94
,
2
33
;
--brand-primary-light-rgb
:
210
,
193
,
255
;
--brand-primary-light-rgb
:
142
,
220
,
255
;
/* Apple 极简黑白风格 - 基础颜色 */
/* Apple 极简黑白风格 - 基础颜色 */
--text-primary
:
#1d1d1f
;
/* 浅色模式主要文字 */
--text-primary
:
#1d1d1f
;
/* 浅色模式主要文字 */
...
@@ -841,12 +841,6 @@ body {
...
@@ -841,12 +841,6 @@ body {
padding
:
0.5rem
0.75rem
!important
;
padding
:
0.5rem
0.75rem
!important
;
}
}
/* 创建视频页面移动端适配 */
.max-w-4xl.mx-auto
{
max-width
:
100%
!important
;
padding
:
0
1rem
!important
;
}
/* 上传区域在移动端调整 */
/* 上传区域在移动端调整 */
.upload-section
{
.upload-section
{
grid-template-columns
:
1
fr
!important
;
grid-template-columns
:
1
fr
!important
;
...
...
lightx2v/deploy/server/frontend/src/utils/i18n.js
View file @
d8558a0c
...
@@ -55,7 +55,7 @@ async function switchLang() {
...
@@ -55,7 +55,7 @@ async function switchLang() {
// };
// };
const
languageOptions
=
ref
([
const
languageOptions
=
ref
([
{
code
:
'
zh
'
,
name
:
'
中文
'
,
flag
:
'
ZH
'
},
{
code
:
'
zh
'
,
name
:
'
中文
'
,
flag
:
'
中
'
},
{
code
:
'
en
'
,
name
:
'
English
'
,
flag
:
'
EN
'
}
{
code
:
'
en
'
,
name
:
'
English
'
,
flag
:
'
EN
'
}
]);
]);
...
...
lightx2v/deploy/server/frontend/src/utils/other.js
View file @
d8558a0c
This diff is collapsed.
Click to expand it.
lightx2v/deploy/server/frontend/src/views/Layout.vue
View file @
d8558a0c
...
@@ -9,6 +9,7 @@ import PromptTemplate from '../components/PromptTemplate.vue'
...
@@ -9,6 +9,7 @@ import PromptTemplate from '../components/PromptTemplate.vue'
import
Voice_tts
from
'
../components/Voice_tts.vue
'
import
Voice_tts
from
'
../components/Voice_tts.vue
'
import
MediaTemplate
from
'
../components/MediaTemplate.vue
'
import
MediaTemplate
from
'
../components/MediaTemplate.vue
'
import
Loading
from
'
../components/Loading.vue
'
import
Loading
from
'
../components/Loading.vue
'
import
SiteFooter
from
'
../components/SiteFooter.vue
'
import
{
useI18n
}
from
'
vue-i18n
'
import
{
useI18n
}
from
'
vue-i18n
'
import
{
isLoading
,
showVoiceTTSModal
,
handleAudioUpload
,
showAlert
}
from
'
../utils/other
'
import
{
isLoading
,
showVoiceTTSModal
,
handleAudioUpload
,
showAlert
}
from
'
../utils/other
'
...
@@ -59,6 +60,8 @@ const handleTTSComplete = (audioBlob) => {
...
@@ -59,6 +60,8 @@ const handleTTSComplete = (audioBlob) => {
<router-view></router-view>
<router-view></router-view>
</div>
</div>
</div>
</div>
<SiteFooter
/>
</div>
</div>
<!-- 全局组件 -->
<!-- 全局组件 -->
...
...
lightx2v/deploy/server/frontend/src/views/Login.vue
View file @
d8558a0c
...
@@ -90,6 +90,7 @@ onMounted(async () => {
...
@@ -90,6 +90,7 @@ onMounted(async () => {
<span
class=
"text-sm font-medium text-[#1d1d1f] dark:text-[#f5f5f7] tracking-tight"
>
LightX2V
</span>
<span
class=
"text-sm font-medium text-[#1d1d1f] dark:text-[#f5f5f7] tracking-tight"
>
LightX2V
</span>
<i
class=
"fas fa-external-link-alt text-xs text-[#86868b] dark:text-[#98989d] transition-all duration-200 group-hover:translate-x-0.5 group-hover:-translate-y-0.5"
></i>
<i
class=
"fas fa-external-link-alt text-xs text-[#86868b] dark:text-[#98989d] transition-all duration-200 group-hover:translate-x-0.5 group-hover:-translate-y-0.5"
></i>
</a>
</a>
</div>
</div>
<Alert
/>
<Alert
/>
...
@@ -99,6 +100,7 @@ onMounted(async () => {
...
@@ -99,6 +100,7 @@ onMounted(async () => {
<Loading
/>
<Loading
/>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
style
scoped
>
<
style
scoped
>
...
...
lightx2v/deploy/server/frontend/src/views/Share.vue
View file @
d8558a0c
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment