修改验证码长度限制

This commit is contained in:
lcc
2025-09-12 09:24:57 +08:00
parent d1ff5560ed
commit 5d036958a2
+1 -1
View File
@@ -23,7 +23,7 @@
<van-field v-model="mobile" label="" placeholder="请输入您的常用手机号码" />
</div>
<div class="bg-f2 ulib-r750 inner5 mt30">
<van-field v-model="code" label="" placeholder="验证码" >
<van-field v-model="code" label="" placeholder="验证码" maxlength="4" type="number" inputmode="numeric">
<template #button>
<span v-if="!is_show_count" @click.stop="getSmsCode" class="text-color-theme font-26">发送验证码</span>
<van-count-down class="color-ccc font-26" v-else :time="count_time" format="ss 秒后重发" @finish="onCountFinish" />