diff --git a/change/@acedatacloud-nexior-3d8ee345-9ada-4b8a-a564-c0f218d65ddc.json b/change/@acedatacloud-nexior-3d8ee345-9ada-4b8a-a564-c0f218d65ddc.json new file mode 100644 index 00000000..ef45ad36 --- /dev/null +++ b/change/@acedatacloud-nexior-3d8ee345-9ada-4b8a-a564-c0f218d65ddc.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "add suno extend", + "packageName": "@acedatacloud/nexior", + "email": "1348977728@qq.com", + "dependentChangeType": "patch" +} diff --git a/src/components/suno/ConfigPanel.vue b/src/components/suno/ConfigPanel.vue index 563e5f60..fe7bbaba 100644 --- a/src/components/suno/ConfigPanel.vue +++ b/src/components/suno/ConfigPanel.vue @@ -7,11 +7,16 @@ +
- + {{ $t('suno.button.generate') }} + + + {{ $t('suno.button.extend') }} +
@@ -25,6 +30,7 @@ import PromptInput from './config/PromptInput.vue'; import LyricInput from './config/LyricInput.vue'; import StyleInput from './config/StyleInput.vue'; import TitleInput from './config/TitleInput.vue'; +import ExtendFromInput from './config/ExtendFromInput.vue'; import InstrumentSwitch from './config/InstrumentSwitch.vue'; import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'; @@ -37,6 +43,7 @@ export default defineComponent({ InstrumentSwitch, StyleInput, TitleInput, + ExtendFromInput, FontAwesomeIcon, ElButton }, diff --git a/src/components/suno/config/ExtendFromInput.vue b/src/components/suno/config/ExtendFromInput.vue new file mode 100644 index 00000000..ca252e23 --- /dev/null +++ b/src/components/suno/config/ExtendFromInput.vue @@ -0,0 +1,159 @@ + + + + + diff --git a/src/components/suno/config/LyricInput.vue b/src/components/suno/config/LyricInput.vue index bbb61cc1..b8696b75 100644 --- a/src/components/suno/config/LyricInput.vue +++ b/src/components/suno/config/LyricInput.vue @@ -5,6 +5,7 @@ + diff --git a/src/components/suno/task/Preview.vue b/src/components/suno/task/Preview.vue index 0dfaec5d..d401f997 100644 --- a/src/components/suno/task/Preview.vue +++ b/src/components/suno/task/Preview.vue @@ -34,6 +34,7 @@

{{ audio?.style }}

+ {{ $t('suno.button.extend') }} { return {