- 博客(3)
- 收藏
- 关注
原创 微信小程序点击发送短信验证(60秒倒计时)
wxml:60秒倒计时点击发送{{count}}秒//js里面绑定点击发送事件,sendMessageCode:function(e){ console.log(e); let that = this; that.setData({ code:false }) that.countdown(); },countdown:function(){ let second = 60; let that
2017-07-04 13:15:31 3786 1
原创 微信小程序点击切换图形验证码
点击切换图形验证码:给图片绑定一个点击事件,每次点击的时候赋值一个随机数将图片地址传到绑定的事件中 赋一个初始值 img: "https://aaafs.top/com.jiminsheng.m/index.php/home/user/piccode"图片点击事件 nextPic:function(e){ var that = t
2017-07-04 11:30:20 3644
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人