Browse Source

2

dev_YWQ
congzc 1 year ago
parent
commit
90989a1395
3 changed files with 20 additions and 4 deletions
  1. +2
    -0
      src/lang/package/en.ts
  2. +2
    -0
      src/lang/package/zh-cn.ts
  3. +16
    -4
      src/views/createVideo/index.vue

+ 2
- 0
src/lang/package/en.ts View File

@@ -96,6 +96,8 @@ export default {
ordinate:'ordinate', ordinate:'ordinate',
hierarchy:'hierarchy', hierarchy:'hierarchy',
ratio:'ratio', ratio:'ratio',
entered:'entered',
tooltip2:'Add Pause',
}, },


// 我的视频 // 我的视频


+ 2
- 0
src/lang/package/zh-cn.ts View File

@@ -98,6 +98,8 @@ export default {
ordinate:'纵坐标', ordinate:'纵坐标',
hierarchy:'层级', hierarchy:'层级',
ratio:'缩放倍率', ratio:'缩放倍率',
entered:'已输入',
tooltip2:'添加停顿',
}, },


// 我的视频 // 我的视频


+ 16
- 4
src/views/createVideo/index.vue View File

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


Loading…
Cancel
Save