|
|
@@ -376,7 +376,7 @@ |
|
|
|
<div @click="createVideo" class="customBtn"> |
|
|
|
<MyLoadingIcon :isLoading="createLoading"></MyLoadingIcon> |
|
|
|
<div v-if="!createLoading"> |
|
|
|
{{ $t("createVideo.generateVideo") }} |
|
|
|
{{ $t("createVideo.generateVideo") }}111 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@@ -413,6 +413,7 @@ |
|
|
|
:class="tabItemActive == 4 ? 'tabItemActive' : ''" |
|
|
|
@click="tabItemActive = 4" |
|
|
|
> |
|
|
|
<img class="gpt" src="../../assets/img/gpt.png" alt=""> |
|
|
|
{{ $t("createVideo.aiScript") }} |
|
|
|
</div> |
|
|
|
<!-- <div |
|
|
@@ -767,6 +768,7 @@ import { |
|
|
|
createVideoApi, |
|
|
|
getModelDetailByIdApi, |
|
|
|
getLanguageApi, |
|
|
|
checkVideoApi |
|
|
|
} from "@/apis/createVideo"; |
|
|
|
import { useI18n } from "vue-i18n"; |
|
|
|
import Recorder from "js-audio-recorder"; //mp3插件 |
|
|
@@ -1641,7 +1643,12 @@ async function createVideo() { |
|
|
|
res4.data.time |
|
|
|
)} in length` |
|
|
|
); |
|
|
|
await saveOrUpdate("isCreate"); |
|
|
|
await saveOrUpdate("isCreate"); |
|
|
|
let checkVideo = await checkVideoApi(workId.value) |
|
|
|
if (checkVideo.code !== 200) { |
|
|
|
ElMessage.success(checkVideo.message); |
|
|
|
return |
|
|
|
} |
|
|
|
const res2 = await createVideoApi(workId.value); |
|
|
|
// 去充值 |
|
|
|
if (res2.code === 64001) { |
|
|
@@ -2096,6 +2103,7 @@ onMounted(async () => { |
|
|
|
// padding: 0 5px; |
|
|
|
background-color: #000; |
|
|
|
user-select: none; |
|
|
|
position: relative; |
|
|
|
} |
|
|
|
.tabItemActive { |
|
|
|
background-color: #fff; |
|
|
@@ -2267,6 +2275,14 @@ onMounted(async () => { |
|
|
|
transition: all 0.3s; |
|
|
|
cursor: pointer; |
|
|
|
user-select: none; |
|
|
|
position: relative; |
|
|
|
.gpt{ |
|
|
|
position: absolute; |
|
|
|
right: -10px; |
|
|
|
top: -10px; |
|
|
|
transform: rotate(45deg); |
|
|
|
width: 30px; |
|
|
|
} |
|
|
|
} |
|
|
|
.tabItemActive { |
|
|
|
background-color: #000; |
|
|
|