| @@ -88,7 +88,7 @@ export default { | |||||
| signSucceed: { | signSucceed: { | ||||
| title: "确认邮箱", | title: "确认邮箱", | ||||
| succeed: "注册成功", | succeed: "注册成功", | ||||
| welcome: "欢迎加入Metavatar!", | |||||
| welcome: "欢迎加入Metavatar !", | |||||
| createSuccess: "您的账户已成功创建", | createSuccess: "您的账户已成功创建", | ||||
| expired: | expired: | ||||
| "您的通行密钥已过期。稍后,您可以点击下面的按钮重新发送一封新的邮件。", | "您的通行密钥已过期。稍后,您可以点击下面的按钮重新发送一封新的邮件。", | ||||
| @@ -4,6 +4,7 @@ declare global { | |||||
| const EffectScope: typeof import('vue')['EffectScope'] | const EffectScope: typeof import('vue')['EffectScope'] | ||||
| const ElForm: typeof import('element-plus/es')['ElForm'] | const ElForm: typeof import('element-plus/es')['ElForm'] | ||||
| const ElMessage: typeof import('element-plus/es')['ElMessage'] | const ElMessage: typeof import('element-plus/es')['ElMessage'] | ||||
| const ElMessageBox: typeof import('element-plus/es')['ElMessageBox'] | |||||
| const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] | const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] | ||||
| const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] | const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] | ||||
| const computed: typeof import('vue')['computed'] | const computed: typeof import('vue')['computed'] | ||||
| @@ -272,6 +273,7 @@ declare module 'vue' { | |||||
| readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']> | readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']> | ||||
| readonly ElForm: UnwrapRef<typeof import('element-plus/es')['ElForm']> | readonly ElForm: UnwrapRef<typeof import('element-plus/es')['ElForm']> | ||||
| readonly ElMessage: UnwrapRef<typeof import('element-plus/es')['ElMessage']> | 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 asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']> | ||||
| readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']> | readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']> | ||||
| readonly computed: UnwrapRef<typeof import('vue')['computed']> | readonly computed: UnwrapRef<typeof import('vue')['computed']> | ||||
| @@ -8,7 +8,11 @@ export {} | |||||
| declare module '@vue/runtime-core' { | declare module '@vue/runtime-core' { | ||||
| export interface GlobalComponents { | export interface GlobalComponents { | ||||
| Breadcrumb: typeof import('./../components/Breadcrumb/index.vue')['default'] | Breadcrumb: typeof import('./../components/Breadcrumb/index.vue')['default'] | ||||
| ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb'] | |||||
| ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem'] | |||||
| ElButton: typeof import('element-plus/es')['ElButton'] | ElButton: typeof import('element-plus/es')['ElButton'] | ||||
| ElDialog: typeof import('element-plus/es')['ElDialog'] | |||||
| ElDivider: typeof import('element-plus/es')['ElDivider'] | |||||
| ElDropdown: typeof import('element-plus/es')['ElDropdown'] | ElDropdown: typeof import('element-plus/es')['ElDropdown'] | ||||
| ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] | ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] | ||||
| ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] | ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] | ||||
| @@ -16,9 +20,26 @@ declare module '@vue/runtime-core' { | |||||
| ElFormItem: typeof import('element-plus/es')['ElFormItem'] | ElFormItem: typeof import('element-plus/es')['ElFormItem'] | ||||
| ElIcon: typeof import('element-plus/es')['ElIcon'] | ElIcon: typeof import('element-plus/es')['ElIcon'] | ||||
| ElInput: typeof import('element-plus/es')['ElInput'] | ElInput: typeof import('element-plus/es')['ElInput'] | ||||
| ElOption: typeof import('element-plus/es')['ElOption'] | |||||
| ElRow: typeof import('element-plus/es')['ElRow'] | |||||
| ElScrollbar: typeof import('element-plus/es')['ElScrollbar'] | |||||
| ElSelect: typeof import('element-plus/es')['ElSelect'] | |||||
| ElSwitch: typeof import('element-plus/es')['ElSwitch'] | |||||
| ElTabPane: typeof import('element-plus/es')['ElTabPane'] | |||||
| ElTabs: typeof import('element-plus/es')['ElTabs'] | |||||
| ElTooltip: typeof import('element-plus/es')['ElTooltip'] | |||||
| GithubCorner: typeof import('./../components/GithubCorner/index.vue')['default'] | GithubCorner: typeof import('./../components/GithubCorner/index.vue')['default'] | ||||
| Hamburger: typeof import('./../components/Hamburger/index.vue')['default'] | Hamburger: typeof import('./../components/Hamburger/index.vue')['default'] | ||||
| IconSelect: typeof import('./../components/IconSelect/index.vue')['default'] | IconSelect: typeof import('./../components/IconSelect/index.vue')['default'] | ||||
| IEpCaretBottom: typeof import('~icons/ep/caret-bottom')['default'] | |||||
| IEpClose: typeof import('~icons/ep/close')['default'] | |||||
| IEpDelete: typeof import('~icons/ep/delete')['default'] | |||||
| IEpDownload: typeof import('~icons/ep/download')['default'] | |||||
| IEpEdit: typeof import('~icons/ep/edit')['default'] | |||||
| IEpGoods: typeof import('~icons/ep/goods')['default'] | |||||
| IEpMenu: typeof import('~icons/ep/menu')['default'] | |||||
| IEpSetting: typeof import('~icons/ep/setting')['default'] | |||||
| IEpVideoPlay: typeof import('~icons/ep/video-play')['default'] | |||||
| LangSelect: typeof import('./../components/LangSelect/index.vue')['default'] | LangSelect: typeof import('./../components/LangSelect/index.vue')['default'] | ||||
| MultiUpload: typeof import('./../components/Upload/MultiUpload.vue')['default'] | MultiUpload: typeof import('./../components/Upload/MultiUpload.vue')['default'] | ||||
| Pagination: typeof import('./../components/Pagination/index.vue')['default'] | Pagination: typeof import('./../components/Pagination/index.vue')['default'] | ||||
| @@ -5,7 +5,7 @@ ElMessage | |||||
| // 开发环境需以 "/api" 拼接,其他环境需以 "/C" 拼接 | // 开发环境需以 "/api" 拼接,其他环境需以 "/C" 拼接 | ||||
| const env = process.env.NODE_ENV == 'development' ? "/api" : "/C" | const env = process.env.NODE_ENV == 'development' ? "/api" : "/C" | ||||
| console.log(env, 'env') | |||||
| console.log(process.env.NODE_ENV, 'env') | |||||
| /** | /** | ||||
| * @description:发送Axios请求 | * @description:发送Axios请求 | ||||
| @@ -492,8 +492,8 @@ function getCode() { | |||||
| async function doRegister(data: object) { | async function doRegister(data: object) { | ||||
| const msg = | const msg = | ||||
| currentLan.value == "zh-cn" | currentLan.value == "zh-cn" | ||||
| ? "确认信息已发送至您的邮箱,请注意查收!" | |||||
| : "An email has been send to you, Please pay attention to confirm !"; | |||||
| ? "确认信息已发送至您的邮箱,请注意查收" | |||||
| : "An email has been send to you, Please pay attention to confirm"; | |||||
| await register(data) | await register(data) | ||||
| .then((res) => { | .then((res) => { | ||||
| console.log(res, "res"); | console.log(res, "res"); | ||||
| @@ -591,7 +591,7 @@ onMounted(() => { | |||||
| max-width: 100%; | max-width: 100%; | ||||
| padding: 20px; | padding: 20px; | ||||
| overflow: hidden; | overflow: hidden; | ||||
| backdrop-filter: blur(5px); | |||||
| backdrop-filter: blur(3px); | |||||
| background: linear-gradient( | background: linear-gradient( | ||||
| 123.64deg, | 123.64deg, | ||||
| rgba(188, 193, 196, 0.1) -22.71%, | rgba(188, 193, 196, 0.1) -22.71%, | ||||
| @@ -600,6 +600,7 @@ onMounted(() => { | |||||
| border-radius: 20px; | border-radius: 20px; | ||||
| transform: translateY(-50%); | transform: translateY(-50%); | ||||
| border: 1px solid #cacaca; | border: 1px solid #cacaca; | ||||
| transition: all 0.15s; | |||||
| .captcha { | .captcha { | ||||
| position: absolute; | position: absolute; | ||||
| @@ -612,6 +613,9 @@ onMounted(() => { | |||||
| cursor: pointer; | cursor: pointer; | ||||
| } | } | ||||
| } | } | ||||
| &:hover { | |||||
| backdrop-filter: blur(7px); | |||||
| } | |||||
| } | } | ||||
| } | } | ||||
| @@ -666,10 +670,15 @@ onMounted(() => { | |||||
| .videoBox { | .videoBox { | ||||
| position: absolute; | position: absolute; | ||||
| top: 0; | top: 0; | ||||
| z-index: -1; | |||||
| left: 0; | |||||
| width: 100%; | width: 100%; | ||||
| height: 100%; | height: 100%; | ||||
| opacity: 0.8; | |||||
| z-index: -1; | |||||
| video { | |||||
| width: 100%; | |||||
| height: 100%; | |||||
| object-fit: fill; | |||||
| } | |||||
| } | } | ||||
| .el-form-item { | .el-form-item { | ||||