Showing
1 changed file
with
3 additions
and
3 deletions
| ... | @@ -43,7 +43,7 @@ | ... | @@ -43,7 +43,7 @@ |
| 43 | 43 | ||
| 44 | <!-- 验证码输入 --> | 44 | <!-- 验证码输入 --> |
| 45 | <div class="mb-6"> | 45 | <div class="mb-6"> |
| 46 | - <label for="verificationCode" class="block text-sm font-medium text-gray-700 mb-2"> | 46 | + <label for="verificationCode" class="block text-sm font-medium text-gray-700"> |
| 47 | 验证码 <span class="text-red-500">*</span> | 47 | 验证码 <span class="text-red-500">*</span> |
| 48 | </label> | 48 | </label> |
| 49 | <div class="flex space-x-2"> | 49 | <div class="flex space-x-2"> |
| ... | @@ -54,13 +54,13 @@ | ... | @@ -54,13 +54,13 @@ |
| 54 | required | 54 | required |
| 55 | maxlength="6" | 55 | maxlength="6" |
| 56 | placeholder="请输入验证码" | 56 | placeholder="请输入验证码" |
| 57 | - class="flex-1 px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent" | 57 | + class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-green-500 focus:border-green-500" |
| 58 | /> | 58 | /> |
| 59 | <button | 59 | <button |
| 60 | type="button" | 60 | type="button" |
| 61 | :disabled="countdown > 0 || !isPhoneValid" | 61 | :disabled="countdown > 0 || !isPhoneValid" |
| 62 | @click="sendVerificationCode" | 62 | @click="sendVerificationCode" |
| 63 | - class="px-4 py-3 border border-transparent text-sm font-medium rounded-lg text-white bg-green-600 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500 disabled:opacity-50 disabled:cursor-not-allowed whitespace-nowrap" | 63 | + class="mt-1 px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white bg-green-600 hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500 disabled:opacity-50 disabled:cursor-not-allowed whitespace-nowrap" |
| 64 | > | 64 | > |
| 65 | {{ countdown > 0 ? `${countdown}秒后重试` : '获取验证码' }} | 65 | {{ countdown > 0 ? `${countdown}秒后重试` : '获取验证码' }} |
| 66 | </button> | 66 | </button> | ... | ... |
-
Please register or login to post a comment