|
|
@@ -216,7 +216,7 @@ |
|
|
|
<div class="text"> |
|
|
|
<!-- 文本域 --> |
|
|
|
<el-input |
|
|
|
maxlength="3000" |
|
|
|
maxlength="1000" |
|
|
|
id="textInputId" |
|
|
|
v-model="textareaContent" |
|
|
|
:rows="15" |
|
|
@@ -228,7 +228,19 @@ |
|
|
|
style="margin-right: 10px; font-size: 20px" |
|
|
|
class="pointer" |
|
|
|
@click="insertIcon" |
|
|
|
>🕗</span |
|
|
|
> |
|
|
|
<el-tooltip |
|
|
|
class="box-item" |
|
|
|
effect="dark" |
|
|
|
:content="$t('createVideo.tooltip2')" |
|
|
|
placement="bottom" |
|
|
|
> |
|
|
|
🕗 |
|
|
|
</el-tooltip> |
|
|
|
</span> |
|
|
|
<i style="float: right; font-size: 14px; padding-top: 5px" |
|
|
|
>{{ $t("createVideo.entered") }} {{ textareaContent.length }} / |
|
|
|
1000</i |
|
|
|
> |
|
|
|
</div> |
|
|
|
<p>{{ $t("createVideo.languages") }}</p> |
|
|
@@ -1223,8 +1235,8 @@ async function createVideo() { |
|
|
|
const res2 = await createVideoApi(workId.value); |
|
|
|
ElMessage.success( |
|
|
|
lanChange.value == "zh-cn" |
|
|
|
? `视频生成成功!` |
|
|
|
: `Video generation is successful!` |
|
|
|
? `视频生成中,请稍后!` |
|
|
|
: `Video generation, please wait!` |
|
|
|
); |
|
|
|
createLoading.value = false; |
|
|
|
router.push("/myCreating"); |
|
|
|