<!--pages/sign/sign.wxml--> <view class="sign-view"> <input class="number" placeholder="请输入手机号" bindinput="verification"/> <button class="sign-button" bindtap="sign">登录</button> </view>