| @@ -376,7 +376,7 @@ | |||||
| <div @click="createVideo" class="customBtn"> | <div @click="createVideo" class="customBtn"> | ||||
| <MyLoadingIcon :isLoading="createLoading"></MyLoadingIcon> | <MyLoadingIcon :isLoading="createLoading"></MyLoadingIcon> | ||||
| <div v-if="!createLoading"> | <div v-if="!createLoading"> | ||||
| {{ $t("createVideo.generateVideo") }}111 | |||||
| {{ $t("createVideo.generateVideo") }} | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -490,6 +490,7 @@ | |||||
| <span style="line-height: 20px">{{ | <span style="line-height: 20px">{{ | ||||
| lanChange == "zh-cn" ? item.chineseName : item.name | lanChange == "zh-cn" ? item.chineseName : item.name | ||||
| }}</span> | }}</span> | ||||
| <span v-if="item.customized === 1" style="color:red">(私人订制)</span> | |||||
| </el-option> | </el-option> | ||||
| </el-select> | </el-select> | ||||
| <p>{{ $t("createVideo.voices") }}</p> | <p>{{ $t("createVideo.voices") }}</p> | ||||
| @@ -517,7 +518,6 @@ | |||||
| ` (${item.sex == 1 ? 'male' : 'female'})`) + | ` (${item.sex == 1 ? 'male' : 'female'})`) + | ||||
| returnAge(item.ageType) | returnAge(item.ageType) | ||||
| }} | }} | ||||
| <span v-if="item.customized === 1" style="color:red">(私人订制)</span> | |||||
| </el-option> | </el-option> | ||||
| </el-select> | </el-select> | ||||
| <p>{{ $t("createVideo.styles") }}</p> | <p>{{ $t("createVideo.styles") }}</p> | ||||
| @@ -806,7 +806,7 @@ async function getModeList(sex, pageNum, pageSize, videoType) { | |||||
| const res = await modeListApi(sex, pageNum, pageSize, videoType); | const res = await modeListApi(sex, pageNum, pageSize, videoType); | ||||
| // 排序 定制分身在前 | // 排序 定制分身在前 | ||||
| res.data.list.sort(function(a, b){ | res.data.list.sort(function(a, b){ | ||||
| return a.customized > b.customized ? 1 : -1 | |||||
| return (b.customized) - (a.customized) | |||||
| }) | }) | ||||
| modeList.value = res.data.list; | modeList.value = res.data.list; | ||||
| overLoadModel.value = false; | overLoadModel.value = false; | ||||
| @@ -950,15 +950,15 @@ watch( | |||||
| const languageOptions = ref([]); | const languageOptions = ref([]); | ||||
| async function voiceTotal() { | async function voiceTotal() { | ||||
| const res = await voiceTotalApi(); | const res = await voiceTotalApi(); | ||||
| res.data.sort(function(a, b){ | |||||
| return (b.customized) - (a.customized) | |||||
| }) | |||||
| languageOptions.value = res.data; | languageOptions.value = res.data; | ||||
| } | } | ||||
| // 声音下拉框内容 | // 声音下拉框内容 | ||||
| const soundOptions = ref([]); | const soundOptions = ref([]); | ||||
| async function chooseType() { | async function chooseType() { | ||||
| const res = await chooseTypeApi(language.value); | const res = await chooseTypeApi(language.value); | ||||
| res.data.sort(function(a, b){ | |||||
| return a.customized > b.customized ? 1 : -1 | |||||
| }) | |||||
| soundOptions.value = res.data; | soundOptions.value = res.data; | ||||
| sound.value = null; | sound.value = null; | ||||
| } | } | ||||