|
|
@@ -500,19 +500,18 @@ |
|
|
|
:placeholder="$t('createVideo.select')" |
|
|
|
style="width: 100%" |
|
|
|
> |
|
|
|
<el-option :value="0" label="定制声音"></el-option> |
|
|
|
<el-option |
|
|
|
v-for="item in soundOptions" |
|
|
|
:key="item.value" |
|
|
|
:label=" |
|
|
|
(lanChange == 'zh-cn' |
|
|
|
:value="item.id" |
|
|
|
> {{ (lanChange == 'zh-cn' |
|
|
|
? item.displayName + ` (${item.sex == 1 ? '男' : '女'})` |
|
|
|
: item.localName + |
|
|
|
` (${item.sex == 1 ? 'male' : 'female'})`) + |
|
|
|
returnAge(item.ageType) |
|
|
|
" |
|
|
|
:value="item.id" |
|
|
|
/> |
|
|
|
}} |
|
|
|
<span v-if="item.customized === 1" style="color:red">(私人订制)</span> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
<p>{{ $t("createVideo.styles") }}</p> |
|
|
|
<!-- 风格 --> |
|
|
@@ -949,6 +948,9 @@ async function voiceTotal() { |
|
|
|
const soundOptions = ref([]); |
|
|
|
async function chooseType() { |
|
|
|
const res = await chooseTypeApi(language.value); |
|
|
|
res.data.sort(function(a, b){ |
|
|
|
return a.customized > b.customized ? 1 : -1 |
|
|
|
}) |
|
|
|
soundOptions.value = res.data; |
|
|
|
sound.value = null; |
|
|
|
} |
|
|
@@ -1636,10 +1638,10 @@ async function createVideo() { |
|
|
|
await saveOrUpdate("isCreate"); |
|
|
|
const res2 = await createVideoApi(workId.value); |
|
|
|
// 去充值 |
|
|
|
if (res2.code === '64001') { |
|
|
|
if (res2.code === 64001) { |
|
|
|
// router.push("/myStore"); |
|
|
|
router.push({ |
|
|
|
path: "/businessCheck", |
|
|
|
path: "/myStore", |
|
|
|
query: { |
|
|
|
tag: 'createVideo' |
|
|
|
}, |
|
|
|