| @@ -123,7 +123,7 @@ export default { | |||||
| edit:'Edit', | edit:'Edit', | ||||
| upSharpness:'Upgrade image quality', | upSharpness:'Upgrade image quality', | ||||
| upSharpnessTips:'If you are satisfied with the preview, you can click here to improve the video sharpness ~', | 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!', | hasNewVideo:'You have a new video status!', | ||||
| reset:"reset", | reset:"reset", | ||||
| }, | }, | ||||
| @@ -125,7 +125,7 @@ export default { | |||||
| edit:'编辑', | edit:'编辑', | ||||
| upSharpness:'升级画质', | upSharpness:'升级画质', | ||||
| upSharpnessTips:'如果对预览效果满意,您可以点击此处来提升视频清晰度~', | upSharpnessTips:'如果对预览效果满意,您可以点击此处来提升视频清晰度~', | ||||
| freeUserTip:'免费用户生成视频时长限制为1分钟', | |||||
| freeUserTip:'免费用户生成视频时长限制为5分钟', | |||||
| hasNewVideo:'您有新的视频状态!', | hasNewVideo:'您有新的视频状态!', | ||||
| reset:"重置", | reset:"重置", | ||||
| }, | }, | ||||
| @@ -463,12 +463,14 @@ | |||||
| </div> | </div> | ||||
| <!-- 字幕 --> | <!-- 字幕 --> | ||||
| <div v-if="tabItemActive == 4" class="tabContent tab4"> | <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> | </div> | ||||
| </div> | </div> | ||||
| @@ -949,6 +951,10 @@ function delImg(id) { | |||||
| } | } | ||||
| //#endregion ---------------------------- | //#endregion ---------------------------- | ||||
| //#region 字幕 | |||||
| //#endregion ---------------------------- | |||||
| //#region 编辑区域 | //#region 编辑区域 | ||||
| const proportion = ref(1); //比例 | const proportion = ref(1); //比例 | ||||
| const elementWidth = ref(null); | const elementWidth = ref(null); | ||||
| @@ -1681,6 +1687,11 @@ onMounted(async () => { | |||||
| } | } | ||||
| } | } | ||||
| .tab4 { | .tab4 { | ||||
| display: flex; | |||||
| justify-content: flex-start; | |||||
| .tab4Item { | |||||
| width: 30%; | |||||
| } | |||||
| } | } | ||||
| } | } | ||||
| </style> | </style> | ||||
| @@ -137,7 +137,7 @@ | |||||
| <div class="videoBox"> | <div class="videoBox"> | ||||
| <!-- 免费用户1分钟 [5].includes(presentItem.videoStatus)--> | <!-- 免费用户1分钟 [5].includes(presentItem.videoStatus)--> | ||||
| <div | <div | ||||
| v-if="presentItem.videoPlayUrl && presentItem.videoTime > 60" | |||||
| v-if="presentItem.videoPlayUrl && presentItem.videoTime > 300" | |||||
| class="overtimeTips" | class="overtimeTips" | ||||
| > | > | ||||
| <img src="../../assets/img/tips.png" alt="" /> | <img src="../../assets/img/tips.png" alt="" /> | ||||