1.wxml
<input class="weui-input" type='number' bindinput="emailInput"/>
data: { verify:'' },
emailInput: function(e){ this.setData({ verify: e.detail.value }); }