现在好多小程序都没有用到手机号的登录,因为可以直接调用微信的接口,getPhoneNumber,因为我们为了保持公众号,小程序,app后台的一致性,,又做了手机号的登录。 问题:
js代码:
代码解释:mobileInputEvent代表输入的手机号码 wxml代码:
wxss代码:
操作的结果为: |
小程序验证码倒计时
最新推荐文章于 2022-08-31 11:54:05 发布
现在好多小程序都没有用到手机号的登录,因为可以直接调用微信的接口,getPhoneNumber,因为我们为了保持公众号,小程序,app后台的一致性,,又做了手机号的登录。 问题:
js代码:
代码解释:mobileInputEvent代表输入的手机号码 wxml代码:
wxss代码:
操作的结果为: |