完善手机号校验和验证码发送限制

This commit is contained in:
2026-09-16 09:22:30 +08:00
parent 0c827782ff
commit e8e8e5a404
12 changed files with 44 additions and 12 deletions
+1 -1
View File
@@ -84,7 +84,7 @@
</view>
<view class="modal-field">
<text>联系电话</text>
<input value="{{profileForm.contactPhone}}" data-field="contactPhone" bindinput="onProfileInput" type="number" placeholder="请输入联系电话" />
<input value="{{profileForm.contactPhone}}" data-field="contactPhone" bindinput="onProfileInput" type="number" maxlength="11" placeholder="请输入联系电话" />
</view>
<view class="modal-field">
<text>微信号</text>