@@ -1,6 +1,6 @@ | |||
<script setup lang="ts"> | |||
import { ElConfigProvider } from 'element-plus'; | |||
import { useAppStore } from '@/store/modules/app'; | |||
import { ElConfigProvider } from "element-plus"; | |||
import { useAppStore } from "@/store/modules/app"; | |||
const appStore = useAppStore(); | |||
</script> | |||
@@ -5,11 +5,11 @@ export default { | |||
document: "Document", | |||
}, | |||
// 公用 | |||
public:{ | |||
cancel:'Cancel', | |||
confirm:'Confirm', | |||
username:'Username', | |||
avatar:'Avatar', | |||
public: { | |||
cancel: "Cancel", | |||
confirm: "Confirm", | |||
username: "Username", | |||
avatar: "Avatar", | |||
}, | |||
// 登录页面国际化 | |||
login: { | |||
@@ -27,41 +27,41 @@ export default { | |||
signIn: "Already got an account? Sign in here", | |||
signUp: "Don't have an account? Sign up here", | |||
forgetPwd: "I forgot my password", | |||
forgetPwdTitle:'Forgot password', | |||
SendEmail:'Send SMS Code', | |||
resetPassword:'Reset password', | |||
setNewPwd:'Set new password', | |||
newPwd:'New password', | |||
oldPwd:'Old password', | |||
confirmNewPwd:'Confirm new password', | |||
confirm:'Confirm', | |||
gohome:'Back to home page', | |||
SMSCode:'SMS Code', | |||
SMSLogin:'SMS login', | |||
pwsLogin:'Account password login', | |||
sendSMS:'Send SMS', | |||
setInvitatioCode:"Invitation Code", | |||
invitatioCode:"Invitation Code", | |||
forgetPwdTitle: "Forgot password", | |||
SendEmail: "Send SMS Code", | |||
resetPassword: "Reset password", | |||
setNewPwd: "Set new password", | |||
newPwd: "New password", | |||
oldPwd: "Old password", | |||
confirmNewPwd: "Confirm new password", | |||
confirm: "Confirm", | |||
gohome: "Back to home page", | |||
SMSCode: "SMS Code", | |||
SMSLogin: "SMS login", | |||
pwsLogin: "Account password login", | |||
sendSMS: "Send SMS", | |||
setInvitatioCode: "Invitation Code", | |||
invitatioCode: "Invitation Code", | |||
}, | |||
// 导航栏国际化 | |||
navbar: { | |||
account: "Account", | |||
logout: "Logout", | |||
goLogin:'Go and log in', | |||
LanguageChange:'Language switching' | |||
goLogin: "Go and log in", | |||
LanguageChange: "Language switching", | |||
}, | |||
// 创作视频 | |||
createVideo: { | |||
title: "Create Video", | |||
availableMould:"Available moulds", | |||
personalWarehouse:'Personal warehouse', | |||
availableMould: "Available moulds", | |||
personalWarehouse: "Personal warehouse", | |||
typeScript: "Type your script", | |||
uploadAudio: "Upload audio", | |||
recordedAudio:'Recorded audio', | |||
startRecorded:'Start recording', | |||
stopRecorded:'Stop recording', | |||
recordedAudio: "Recorded audio", | |||
startRecorded: "Start recording", | |||
stopRecorded: "Stop recording", | |||
aiScript: "Ai script", | |||
typeTitle: "Type a title", | |||
confirm: "Confirm", | |||
@@ -72,37 +72,37 @@ export default { | |||
reselect: "Reselect", | |||
sureUpload: "Confirm upload", | |||
generateVideo: "Generate video", | |||
saveVideo:'Save manuscript', | |||
select:'Please select', | |||
music:'Music', | |||
Aipicture:'Ai-generated pictures', | |||
AipictureTip:'Please customize your picture', | |||
chooseMusic:'Choose music', | |||
searchMusic:'Search music', | |||
copywriting:'Copywriting', | |||
BackgroundImage:'Background Image', | |||
comingSoon:'COMING SOON', | |||
material:'Material', | |||
subtitles:'Subtitles', | |||
sex:"Sex", | |||
videoRatio:"Video Ratio", | |||
all:'All', | |||
male:'Male', | |||
female:'Female', | |||
landscape:'Landscape', | |||
portrait:'Portrait', | |||
systemBGI:'System background diagram', | |||
personBGI:'Person background diagram', | |||
systemMaterial:'System Material', | |||
personMaterial:'Person Material', | |||
abscissa:'abscissa', | |||
ordinate:'ordinate', | |||
hierarchy:'hierarchy', | |||
ratio:'ratio', | |||
entered:'entered', | |||
tooltip2:'Add Pause', | |||
SubtitlesTip:"Subtitles will be shown here", | |||
subtitlesSwitch:'Subtitles Switch', | |||
saveVideo: "Save manuscript", | |||
select: "Please select", | |||
music: "Music", | |||
Aipicture: "Ai-generated pictures", | |||
AipictureTip: "Please customize your picture", | |||
chooseMusic: "Choose music", | |||
searchMusic: "Search music", | |||
copywriting: "Copywriting", | |||
BackgroundImage: "Background Image", | |||
comingSoon: "COMING SOON", | |||
material: "Material", | |||
subtitles: "Subtitles", | |||
sex: "Sex", | |||
videoRatio: "Video Ratio", | |||
all: "All", | |||
male: "Male", | |||
female: "Female", | |||
landscape: "Landscape", | |||
portrait: "Portrait", | |||
systemBGI: "System background diagram", | |||
personBGI: "Person background diagram", | |||
systemMaterial: "System Material", | |||
personMaterial: "Person Material", | |||
abscissa: "abscissa", | |||
ordinate: "ordinate", | |||
hierarchy: "hierarchy", | |||
ratio: "ratio", | |||
entered: "entered", | |||
tooltip2: "Add Pause", | |||
SubtitlesTip: "Subtitles will be shown here", | |||
subtitlesSwitch: "Subtitles Switch", | |||
}, | |||
// 我的视频 | |||
@@ -125,19 +125,20 @@ export default { | |||
manuscriptText: "Manuscript", | |||
generatingText: "The video is generating, Please wait a moment", | |||
generationFailedText: "The video generate is failed, Reason:", | |||
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 5 minute', | |||
hasNewVideo:'You have a new video status!', | |||
reset:"reset", | |||
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 5 minute", | |||
hasNewVideo: "You have a new video status!", | |||
reset: "reset", | |||
}, | |||
// 个人账户 | |||
account: { | |||
title: "My Account", | |||
reSetPwd: "Reset password", | |||
editInfo:'Edit personal information', | |||
editInfo: "Edit personal information", | |||
until: "Until", | |||
getMore: "UPGRADE", | |||
copyCode: "Copy invitation code", | |||
@@ -150,8 +151,8 @@ export default { | |||
successed: "Successed", | |||
failed: "Failed", | |||
msg1: "Obtain one video production time", | |||
inputCode:'Please enter the invitation code', | |||
submit:'Submit', | |||
inputCode: "Please enter the invitation code", | |||
submit: "Submit", | |||
noListOrder: "没有数据哦,快去邀请更多人加入我们吧~", | |||
noListInvite: "No data, please invite more people to join us", | |||
}, | |||
@@ -167,30 +168,38 @@ export default { | |||
selectPlan: "SELECT PLAN", | |||
WeChatPay: "WeChatPay", | |||
Alipay: "Alipay", | |||
score:'Credits', | |||
day:'day', | |||
second:'seconds', | |||
yes:'yes', | |||
no:'no', | |||
InviteGetscore:'Invite users to get score', | |||
createVideoPrice:'Create video prices', | |||
AIGeneratesPhotoPrices:'AI generates photo unit prices', | |||
UnitChargeDuration:'Unit charge duration', | |||
Language:'Language', | |||
sound:'Sound', | |||
IndividualVideoDuration:'Individual video duration', | |||
Watermark:'Watermark', | |||
AIGeneratedPortrait:'AI generated portrait', | |||
PhotoSinging:'Photo singing', | |||
AIGeneratedText:'The number of times AI generated text', | |||
VideoResolution:'Video resolution', | |||
DigitalPersonTemplate:'Digital person template', | |||
talkUs:"Talk With Us", | |||
score: "Credits", | |||
day: "day", | |||
second: "seconds", | |||
yes: "yes", | |||
no: "no", | |||
InviteGetscore: "Invite users to get score", | |||
createVideoPrice: "Create video prices", | |||
AIGeneratesPhotoPrices: "AI generates photo unit prices", | |||
UnitChargeDuration: "Unit charge duration", | |||
Language: "Language", | |||
sound: "Sound", | |||
IndividualVideoDuration: "Individual video duration", | |||
Watermark: "Watermark", | |||
AIGeneratedPortrait: "AI generated portrait", | |||
PhotoSinging: "Photo singing", | |||
AIGeneratedText: "The number of times AI generated text", | |||
VideoResolution: "Video resolution", | |||
DigitalPersonTemplate: "Digital person template", | |||
talkUs: "Talk With Us", | |||
}, | |||
API:{ | |||
title:'API Access', | |||
userModel: { | |||
title: "User Model", | |||
}, | |||
voiceModel: { | |||
title: "Voice Model", | |||
}, | |||
API: { | |||
title: "API Access", | |||
}, | |||
signSucceed: { | |||
title: "Confirm your email", | |||
@@ -5,11 +5,11 @@ export default { | |||
document: "项目文档", | |||
}, | |||
// 公用 | |||
public:{ | |||
cancel:'取消', | |||
confirm:'确定', | |||
username:'用户名', | |||
avatar:'头像', | |||
public: { | |||
cancel: "取消", | |||
confirm: "确定", | |||
username: "用户名", | |||
avatar: "头像", | |||
}, | |||
// 登录页面国际化 | |||
login: { | |||
@@ -28,41 +28,41 @@ export default { | |||
signIn: "立即登录", | |||
signUp: "立即注册", | |||
forgetPwd: "忘记密码", | |||
forgetPwdTitle:'忘记密码', | |||
SendEmail:'发送短信验证码', | |||
resetPassword:'重置密码', | |||
setNewPwd:'设置新密码', | |||
newPwd:'新密码', | |||
oldPwd:'旧密码', | |||
confirmNewPwd:'确认新密码', | |||
confirm:'确定', | |||
gohome:'进入首页', | |||
SMSCode:'短信验证码', | |||
SMSLogin:'短信登录', | |||
pwsLogin:'账号密码登录', | |||
sendSMS:'发送短信验证码', | |||
setInvitatioCode:"填写邀请码", | |||
invitatioCode:"邀请码", | |||
forgetPwdTitle: "忘记密码", | |||
SendEmail: "发送短信验证码", | |||
resetPassword: "重置密码", | |||
setNewPwd: "设置新密码", | |||
newPwd: "新密码", | |||
oldPwd: "旧密码", | |||
confirmNewPwd: "确认新密码", | |||
confirm: "确定", | |||
gohome: "进入首页", | |||
SMSCode: "短信验证码", | |||
SMSLogin: "短信登录", | |||
pwsLogin: "账号密码登录", | |||
sendSMS: "发送短信验证码", | |||
setInvitatioCode: "填写邀请码", | |||
invitatioCode: "邀请码", | |||
}, | |||
// 导航栏国际化 | |||
navbar: { | |||
account: "账户", | |||
logout: "注销", | |||
goLogin:'登录', | |||
LanguageChange:'语言切换', | |||
goLogin: "登录", | |||
LanguageChange: "语言切换", | |||
}, | |||
// 创作视频 | |||
createVideo: { | |||
title: "创作视频", | |||
availableMould:"可用模板", | |||
personalWarehouse:'个人仓库', | |||
availableMould: "可用模板", | |||
personalWarehouse: "个人仓库", | |||
typeScript: "输入文案", | |||
uploadAudio: "上传音频", | |||
recordedAudio:'录制音频', | |||
startRecorded:'开始录制', | |||
stopRecorded:'停止录制', | |||
recordedAudio: "录制音频", | |||
startRecorded: "开始录制", | |||
stopRecorded: "停止录制", | |||
aiScript: "AI生成文本", | |||
typeTitle: "输入标题", | |||
confirm: "确定", | |||
@@ -73,37 +73,37 @@ export default { | |||
reselect: "重新选择", | |||
sureUpload: "确认上传", | |||
generateVideo: "生成视频", | |||
saveVideo:'保存草稿', | |||
select:'请选择', | |||
music:'音乐', | |||
Aipicture:'Ai生成图片', | |||
AipictureTip:'请自定义您的图片', | |||
chooseMusic:'选择音乐', | |||
searchMusic:'搜索音乐', | |||
copywriting:'文案', | |||
comingSoon:'敬请期待', | |||
BackgroundImage:'背景', | |||
material:'素材', | |||
subtitles:'字幕', | |||
sex:"性别", | |||
videoRatio:"视频比例", | |||
all:'全部', | |||
male:'男性', | |||
female:'女性', | |||
landscape:'横屏', | |||
portrait:'竖屏', | |||
systemBGI:'系统背景', | |||
personBGI:'个人背景', | |||
systemMaterial:'系统素材', | |||
personMaterial:'个人素材', | |||
abscissa:'横坐标', | |||
ordinate:'纵坐标', | |||
hierarchy:'层级', | |||
ratio:'缩放倍率', | |||
entered:'已输入', | |||
tooltip2:'添加停顿', | |||
SubtitlesTip:"字幕将在此处展示", | |||
subtitlesSwitch:'字幕开关', | |||
saveVideo: "保存草稿", | |||
select: "请选择", | |||
music: "音乐", | |||
Aipicture: "Ai生成图片", | |||
AipictureTip: "请自定义您的图片", | |||
chooseMusic: "选择音乐", | |||
searchMusic: "搜索音乐", | |||
copywriting: "文案", | |||
comingSoon: "敬请期待", | |||
BackgroundImage: "背景", | |||
material: "素材", | |||
subtitles: "字幕", | |||
sex: "性别", | |||
videoRatio: "视频比例", | |||
all: "全部", | |||
male: "男性", | |||
female: "女性", | |||
landscape: "横屏", | |||
portrait: "竖屏", | |||
systemBGI: "系统背景", | |||
personBGI: "个人背景", | |||
systemMaterial: "系统素材", | |||
personMaterial: "个人素材", | |||
abscissa: "横坐标", | |||
ordinate: "纵坐标", | |||
hierarchy: "层级", | |||
ratio: "缩放倍率", | |||
entered: "已输入", | |||
tooltip2: "添加停顿", | |||
SubtitlesTip: "字幕将在此处展示", | |||
subtitlesSwitch: "字幕开关", | |||
}, | |||
// 我的视频 | |||
@@ -126,19 +126,19 @@ export default { | |||
manuscriptText: "草稿", | |||
generatingText: "视频正在生成中,请稍等哦", | |||
generationFailedText: "视频生成失败。原因:", | |||
edit:'编辑', | |||
upSharpness:'升级画质', | |||
upSharpnessTips:'如果对预览效果满意,您可以点击此处来提升视频清晰度~', | |||
freeUserTip:'免费用户生成视频时长限制为5分钟', | |||
hasNewVideo:'您有新的视频状态!', | |||
reset:"重置", | |||
edit: "编辑", | |||
upSharpness: "升级画质", | |||
upSharpnessTips: "如果对预览效果满意,您可以点击此处来提升视频清晰度~", | |||
freeUserTip: "免费用户生成视频时长限制为5分钟", | |||
hasNewVideo: "您有新的视频状态!", | |||
reset: "重置", | |||
}, | |||
// 个人账户 | |||
account: { | |||
title: "个人账户", | |||
reSetPwd: "修改密码", | |||
editInfo:'编辑个人信息', | |||
editInfo: "编辑个人信息", | |||
until: "有效期至", | |||
getMore: "升级套餐", | |||
copyCode: "复制邀请码", | |||
@@ -151,8 +151,8 @@ export default { | |||
successed: "支付成功", | |||
failed: "支付失败", | |||
msg1: "获得视频制作次数一次", | |||
inputCode:'请输入邀请码', | |||
submit:'提交', | |||
inputCode: "请输入邀请码", | |||
submit: "提交", | |||
noListOrder: "没有数据哦,快去邀请更多人加入我们吧~", | |||
noListInvite: "没有数据哦,快去邀请更多人加入我们吧~", | |||
}, | |||
@@ -168,28 +168,37 @@ export default { | |||
selectPlan: "方案选择", | |||
WeChatPay: "微信支付", | |||
Alipay: "支付宝支付", | |||
score:'积分', | |||
day:'天', | |||
second:'秒', | |||
yes:'是', | |||
no:'否', | |||
InviteGetscore:'邀请用户得到的积分', | |||
createVideoPrice:'创建视频单价', | |||
AIGeneratesPhotoPrices:'AI生成照片单价', | |||
UnitChargeDuration:'单价收费时长', | |||
Language:'语言', | |||
sound:'声音', | |||
IndividualVideoDuration:'单个视频时长', | |||
Watermark:'水印', | |||
AIGeneratedPortrait:'AI生成人像', | |||
PhotoSinging:'照片唱歌', | |||
AIGeneratedText:'AI生成脚本次数', | |||
VideoResolution:'视频分辨率', | |||
DigitalPersonTemplate:'数字人模版', | |||
talkUs:"联系我们", | |||
score: "积分", | |||
day: "天", | |||
second: "秒", | |||
yes: "是", | |||
no: "否", | |||
InviteGetscore: "邀请用户得到的积分", | |||
createVideoPrice: "创建视频单价", | |||
AIGeneratesPhotoPrices: "AI生成照片单价", | |||
UnitChargeDuration: "单价收费时长", | |||
Language: "语言", | |||
sound: "声音", | |||
IndividualVideoDuration: "单个视频时长", | |||
Watermark: "水印", | |||
AIGeneratedPortrait: "AI生成人像", | |||
PhotoSinging: "照片唱歌", | |||
AIGeneratedText: "AI生成脚本次数", | |||
VideoResolution: "视频分辨率", | |||
DigitalPersonTemplate: "数字人模版", | |||
talkUs: "联系我们", | |||
}, | |||
userModel: { | |||
title: "定制分身", | |||
}, | |||
voiceModel: { | |||
title: "定制声纹", | |||
}, | |||
API:{ | |||
title:'API 接口', | |||
API: { | |||
title: "API 接口", | |||
}, | |||
signSucceed: { | |||
@@ -23,6 +23,19 @@ | |||
</div> | |||
{{ $t("myCreating.title") }} | |||
</div> | |||
<div class="myRouter-item" @click="router.push('/createVideo')"> | |||
<div class="icon"> | |||
<el-icon><i-ep-edit /></el-icon> | |||
</div> | |||
{{ $t("userModel.title") }} | |||
</div> | |||
<div class="myRouter-item" @click="router.push('/myCreating')"> | |||
<div class="icon"> | |||
<el-icon><i-ep-menu /></el-icon> | |||
</div> | |||
{{ $t("voiceModel.title") }} | |||
</div> | |||
<div | |||
class="myRouter-item" | |||
@click="router.push('/myStore')" | |||
@@ -172,7 +185,7 @@ onMounted(() => {}); | |||
.myRouter { | |||
position: relative; | |||
height: calc(100% - 80px); | |||
padding: 200px 20px 0; | |||
padding: 130px 20px 0; | |||
color: #fff; | |||
// color: #868593; | |||
@@ -2,6 +2,9 @@ | |||
export {} | |||
declare global { | |||
const EffectScope: typeof import('vue')['EffectScope'] | |||
const ElForm: typeof import('element-plus/es')['ElForm'] | |||
const ElMessage: typeof import('element-plus/es')['ElMessage'] | |||
const ElMessageBox: typeof import('element-plus/es')['ElMessageBox'] | |||
const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] | |||
const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] | |||
const computed: typeof import('vue')['computed'] | |||
@@ -268,6 +271,9 @@ import { UnwrapRef } from 'vue' | |||
declare module 'vue' { | |||
interface ComponentCustomProperties { | |||
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']> | |||
readonly ElForm: UnwrapRef<typeof import('element-plus/es')['ElForm']> | |||
readonly ElMessage: UnwrapRef<typeof import('element-plus/es')['ElMessage']> | |||
readonly ElMessageBox: UnwrapRef<typeof import('element-plus/es')['ElMessageBox']> | |||
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']> | |||
readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']> | |||
readonly computed: UnwrapRef<typeof import('vue')['computed']> | |||