Commit 5fbb182 1 parent 548beee commit 5fbb182 Copy full SHA for 5fbb182
File tree 9 files changed +63
-186
lines changed
9 files changed +63
-186
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "type" : " patch" ,
3
+ "comment" : " opt luma" ,
4
+ "packageName" : " @acedatacloud/nexior" ,
5
+ "email" : " 1348977728@qq.com" ,
6
+ "dependentChangeType" : " patch"
7
+ }
Original file line number Diff line number Diff line change 7
7
<div class =" actions" >
8
8
<el-button type =" primary" class =" btn w-full" round @click =" onGenerate" >
9
9
<font-awesome-icon icon =" fa-solid fa-magic" class =" mr-2" />
10
- {{ $t('qrart .button.generate') }}
10
+ {{ $t('luma .button.generate') }}
11
11
</el-button >
12
12
</div >
13
13
</el-card >
Original file line number Diff line number Diff line change @@ -29,9 +29,6 @@ export default defineComponent({
29
29
ElInput,
30
30
InfoIcon
31
31
},
32
- data () {
33
- return {};
34
- },
35
32
computed: {
36
33
prompt: {
37
34
get () {
@@ -60,11 +57,15 @@ export default defineComponent({
60
57
display: flex;
61
58
flex- direction: row;
62
59
align- items: center;
60
+ justify- content: space- between; // Add this line to move the icon to the right
63
61
position: relative;
64
62
.title {
65
63
font- size: 14px ;
66
64
margin- bottom: 10px ;
67
65
}
68
66
}
67
+ .info {
68
+ margin- left: auto; // Ensure the icon stays on the right
69
+ }
69
70
}
70
71
< / style>
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" preview" >
3
3
<div class =" left" >
4
- <el-image src =" https://cdn.acedata.cloud/yu04pc .png" class =" avatar" />
4
+ <el-image src =" https://cdn.acedata.cloud/ahjfwi .png" class =" avatar" />
5
5
</div >
6
6
<div class =" main" >
7
7
<div class =" bot" >
70
70
</el-alert >
71
71
</div >
72
72
<!-- Display error message -->
73
- <div v-if =" !modelValue?.response" :class =" { content: true }" >
73
+ <div
74
+ v-if ="
75
+ !modelValue?.response ||
76
+ modelValue?.response?.data?.state === 'processing' ||
77
+ modelValue?.response?.data?.state === 'pending'
78
+ "
79
+ :class =" { content: true }"
80
+ >
74
81
<el-alert :closable =" false" class =" info" >
75
82
<template #template >
76
83
<font-awesome-icon icon =" fa-solid fa-exclamation-triangle" class =" mr-1" />
@@ -182,7 +189,7 @@ $left-width: 70px;
182
189
.left {
183
190
width : $left-width ;
184
191
.avatar {
185
- background-color : white ;
192
+ background-color : rgb ( 0 , 0 , 0 ) ;
186
193
padding : 2px ;
187
194
width : 50px ;
188
195
height : 50px ;
Original file line number Diff line number Diff line change 1
1
export const LUMA_SERVICE_ID = 'dff45a0d-2858-4936-8e2b-3d49c52aff11' ;
2
2
3
- export const LUMA_DEFAULT_ENHANCEMENT = false ;
3
+ export const LUMA_DEFAULT_ENHANCEMENT = true ;
4
4
export const LUMA_DEFAULT_LOOP = false ;
5
5
export const LUMA_DEFAULT_CUSTOM = false ;
Original file line number Diff line number Diff line change 47
47
"message" : " 支持多种音乐风格,轻松生成你想要的音乐,并支持灵活的长度扩展选项。" ,
48
48
"description" : " AI 音乐章节标题"
49
49
},
50
+ "subtitle.luma" : {
51
+ "message" : " 对接最新的 Luma 模型,一键生成自定义的视频,并支持灵活的视频扩展选项。" ,
52
+ "description" : " AI 音乐章节标题"
53
+ },
50
54
"subtitle.comments" : {
51
55
"message" : " 我们很高兴能够帮助这些客户,他们对我们的服务给予了很高的评价。" ,
52
56
"description" : " 客户评价章节标题"
Original file line number Diff line number Diff line change 80
80
"description" : " 要生成的 QR 码的高级设置"
81
81
},
82
82
"name.custom" : {
83
- "message" : " 自定义扩展 " ,
83
+ "message" : " 自定义视频扩展 " ,
84
84
"description" : " 自定义扩展视频"
85
85
},
86
86
"name.extend" : {
Original file line number Diff line number Diff line change 49
49
<el-col
50
50
v-for =" (capability, capabilityIndex) in capabilities"
51
51
:key =" capabilityIndex"
52
- :md =" 24 / capabilities.length "
52
+ :md =" 6 "
53
53
:xs =" 24"
54
54
class =" mb-4"
55
55
>
166
166
</el-row >
167
167
</div >
168
168
</div >
169
+ <div
170
+ id =" luma"
171
+ class =" block"
172
+ @click ="
173
+ $router.push({
174
+ path: '/luma'
175
+ })
176
+ "
177
+ >
178
+ <div class =" container" >
179
+ <el-row >
180
+ <el-col :md =" 16" :xs =" 24" class =" preview" >
181
+ <img src =" https://cdn.acedata.cloud/gyogar.png" class =" image desktop" />
182
+ <img src =" https://cdn.acedata.cloud/5kunm0.png" class =" image mobile" />
183
+ </el-col >
184
+ <el-col :md =" 8" :xs =" 24" class =" info" >
185
+ <h2 class =" title" >{{ $t('index.title.luma') }}</h2 >
186
+ <p class =" subtitle" >{{ $t('index.subtitle.luma') }}</p >
187
+ <el-button type =" primary" round class =" btn-try" >
188
+ {{ $t('index.button.try') }}
189
+ </el-button >
190
+ </el-col >
191
+ </el-row >
192
+ </div >
193
+ </div >
169
194
<div id =" comments" >
170
195
<div class =" container" >
171
196
<el-row class =" mb-6" >
@@ -287,6 +312,15 @@ export default defineComponent({
287
312
icon: ' fa-solid fa-music'
288
313
}
289
314
]
315
+ : []),
316
+ ... (this .site ?.features ?.luma ?.enabled
317
+ ? [
318
+ {
319
+ title: this .$t (' index.title.luma' ),
320
+ subtitle: this .$t (' index.subtitle.luma' ),
321
+ icon: ' fa-solid fa-film'
322
+ }
323
+ ]
290
324
: [])
291
325
];
292
326
}
You can’t perform that action at this time.
0 commit comments