congzc 1 год назад
Родитель
Сommit
cc1715ae90
4 измененных файлов: 20 добавлений и 9 удалений
  1. +1
    -1
      src/lang/package/en.ts
  2. +1
    -1
      src/lang/package/zh-cn.ts
  3. +17
    -6
      src/views/createVideo/index.vue
  4. +1
    -1
      src/views/myCreating/index.vue

+ 1
- 1
src/lang/package/en.ts Просмотреть файл

@@ -123,7 +123,7 @@ export default {
edit:'Edit',
upSharpness:'Upgrade image quality',
upSharpnessTips:'If you are satisfied with the preview, you can click here to improve the video sharpness ~',
freeUserTip:'Free user-generated videos are limited to 1 minute',
freeUserTip:'Free user-generated videos are limited to 5 minute',
hasNewVideo:'You have a new video status!',
reset:"reset",
},


+ 1
- 1
src/lang/package/zh-cn.ts Просмотреть файл

@@ -125,7 +125,7 @@ export default {
edit:'编辑',
upSharpness:'升级画质',
upSharpnessTips:'如果对预览效果满意,您可以点击此处来提升视频清晰度~',
freeUserTip:'免费用户生成视频时长限制为1分钟',
freeUserTip:'免费用户生成视频时长限制为5分钟',
hasNewVideo:'您有新的视频状态!',
reset:"重置",
},


+ 17
- 6
src/views/createVideo/index.vue Просмотреть файл

@@ -463,12 +463,14 @@
</div>
<!-- 字幕 -->
<div v-if="tabItemActive == 4" class="tabContent tab4">
<!-- <div v-if="imgUrl" class="SubtitlesSwitch">
<p>{{ $t("createVideo.subtitles") }}</p>
<el-switch
v-model="SubtitlesSwitch"
style="--el-switch-on-color: #000"
/>
<!-- <div class="tab4Item">
<div v-if="imgUrl" class="SubtitlesSwitch">
<p>{{ $t("createVideo.subtitles") }}</p>
<el-switch
v-model="SubtitlesSwitch"
style="--el-switch-on-color: #000"
/>
</div>
</div> -->
</div>
</div>
@@ -949,6 +951,10 @@ function delImg(id) {
}
//#endregion ----------------------------

//#region 字幕

//#endregion ----------------------------

//#region 编辑区域
const proportion = ref(1); //比例
const elementWidth = ref(null);
@@ -1681,6 +1687,11 @@ onMounted(async () => {
}
}
.tab4 {
display: flex;
justify-content: flex-start;
.tab4Item {
width: 30%;
}
}
}
</style>

+ 1
- 1
src/views/myCreating/index.vue Просмотреть файл

@@ -137,7 +137,7 @@
<div class="videoBox">
<!-- 免费用户1分钟 [5].includes(presentItem.videoStatus)-->
<div
v-if="presentItem.videoPlayUrl && presentItem.videoTime > 60"
v-if="presentItem.videoPlayUrl && presentItem.videoTime > 300"
class="overtimeTips"
>
<img src="../../assets/img/tips.png" alt="" />


Загрузка…
Отмена
Сохранить