- <view><form ref="formRef" rules="{{f}}" catchsubmit="{{g}}"><input type="text" name="username" placeholder="请输入用户名" value="{{a}}" bindinput="{{b}}"/><input type="password" name="password" placeholder="请输入密码" value="{{c}}" bindinput="{{d}}"/><button type="primary" bindtap="{{e}}">提交</button></form></view>
|