diff --git a/src/views/LoginView.vue b/src/views/LoginView.vue index 87307df..ac1e52e 100644 --- a/src/views/LoginView.vue +++ b/src/views/LoginView.vue @@ -119,6 +119,39 @@ + + + + + + + + + + + + + + + {{ isScanning ? '识别中...' : '开始识别' }} + + + + 请确保光线充足,正对摄像头 + 保持面部在框内,眨眨眼 + + + @@ -150,10 +183,10 @@ \ No newline at end of file diff --git a/src/views/RegisterView.vue b/src/views/RegisterView.vue index 763ed3f..35e9d64 100644 --- a/src/views/RegisterView.vue +++ b/src/views/RegisterView.vue @@ -480,23 +480,27 @@ const sendEmailCode = () => { margin-bottom: 15px; } -.verify-title { - display: flex; - align-items: center; - gap: 8px; - color: #409EFF; - font-size: 16px; - font-weight: 500; +.verify-section .el-form-item { margin-bottom: 20px; } -.verify-title .el-icon { - font-size: 20px; +.verify-section .el-form-item__label { + height: 20px; + line-height: 20px; + margin-bottom: 6px; + color: #606266; + font-size: 14px; +} + +.verify-section .el-form-item__content { + width: 100%; } .verify-code-input { display: flex; gap: 10px; + align-items: flex-start; + width: 100%; } .verify-code-input .el-input { @@ -506,6 +510,27 @@ const sendEmailCode = () => { .verify-code-input .el-button { width: 120px; height: 50px; + margin-top: 0; + flex-shrink: 0; +} + +.verify-section .el-form-item:not(:first-child) .el-input { + width: calc(100% - 130px); + margin-left: 130px; +} + +.verify-title { + display: flex; + align-items: center; + gap: 8px; + color: #409EFF; + font-size: 16px; + font-weight: 500; + margin-bottom: 16px; +} + +.verify-title .el-icon { + font-size: 20px; } /* 优化输入框样式 */ @@ -584,7 +609,7 @@ const sendEmailCode = () => { flex-direction: column; } - .verify-section .verify-code-input + .el-form-item .el-input { + .verify-section .el-form-item:not(:first-child) .el-input { width: 100%; margin-left: 0; }
请确保光线充足,正对摄像头
保持面部在框内,眨眨眼