fix(input): 优化输入框交互和验证逻辑
- 修改密码输入框增加 @change 事件处理,用于清除确认密码的验证信息- 验证码输入框增加 @focus 事件处理,用于清除错误状态和信息 - 登录和注册页面的错误信息显示进行样式统一和优化 -调整注册表单中同意条款的样式
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
</div>
|
||||
</template>
|
||||
</Input>
|
||||
<p class="color-#F64B31 text-12px font-400 lh-20px font-family-regular" v-show="errMsg">
|
||||
<p class="color-#F64B31 text-12px font-400 h-20px lh-20px font-family-regular">
|
||||
{{ errMsg }}
|
||||
</p>
|
||||
</FormItem>
|
||||
@ -43,7 +43,7 @@
|
||||
<img :src="visible ? icon2 : icon1" width="20" height="20" class="cursor-pointer" />
|
||||
</template>
|
||||
</Input.Password>
|
||||
<p v-show="errMsg" class="color-#F64B31 h-20px text-12px font-400 lh-20px font-family-regular">
|
||||
<p class="color-#F64B31 h-20px text-12px font-400 lh-20px font-family-regular">
|
||||
{{ errMsg }}
|
||||
</p>
|
||||
</FormItem>
|
||||
|
||||
@ -50,12 +50,12 @@
|
||||
</div>
|
||||
</template>
|
||||
</Input>
|
||||
<p class="color-#F64B31 text-12px font-400 lh-20px font-family-regular" v-show="errMsg">
|
||||
<p class="color-#F64B31 text-12px font-400 lh-20px h-20px font-family-regular">
|
||||
{{ errMsg }}
|
||||
</p>
|
||||
</FormItem>
|
||||
|
||||
<FormItem class="mt-52px">
|
||||
<FormItem class="mt-32px">
|
||||
<div class="text-12px flex justify-center items-center mb-16px">
|
||||
<Checkbox v-model:checked="hasCheck" class="mr-8px"></Checkbox>
|
||||
<span class="text-12px color-#737478 font-400 lh-20px font-family-regular"
|
||||
|
||||
Reference in New Issue
Block a user