This commit is contained in:
2026-04-25 11:59:14 +08:00
parent a7cd16848c
commit 138a0dc288
26 changed files with 1665 additions and 215 deletions

View File

@@ -3,7 +3,7 @@
<!-- 标题 -->
<div class="text-center mb-8">
<h2 class="auth-title">创建账号</h2>
<p class="auth-subtitle">填写以下信息完成注册</p>
<p class="auth-subtitle">填写手机号与验证码快速创建控制台账号</p>
</div>
<form class="space-y-4" @submit.prevent="onRegister">
@@ -117,7 +117,7 @@
</div>
<!-- 操作链接 -->
<div class="text-center py-2">
<div class="text-center py-1">
<router-link to="/auth/login" class="auth-link text-sm"> 已有账号去登录 </router-link>
</div>
@@ -133,6 +133,10 @@
{{ loading ? '注册中...' : '注册' }}
</el-button>
</form>
<p class="mt-4 text-xs text-center text-slate-400">
注册即表示您同意平台相关服务条款与隐私政策
</p>
</div>
</template>
@@ -252,31 +256,3 @@ onUnmounted(() => {
})
</script>
<style scoped>
/* 输入框样式优化 */
:deep(.el-input__wrapper) {
border-radius: 8px !important;
transition: all 0.3s ease !important;
}
:deep(.el-input__wrapper:hover) {
border-color: #3b82f6 !important;
}
:deep(.el-input__wrapper.is-focus) {
border-color: #3b82f6 !important;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1) !important;
}
/* 按钮样式优化 */
:deep(.el-button--primary) {
border-radius: 8px !important;
font-weight: 500 !important;
transition: all 0.3s ease !important;
}
:deep(.el-button--primary:hover) {
transform: translateY(-1px) !important;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}
</style>