问题模块 |
---|
API和组件 |
<form bindsubmit="formSubmit" bindreset="formReset">
<view class="page">
<view class="login">
<view><image src="../../images/logo_weixin2.png" mode="aspectFit"></image></view>
</view>
<view class="page__bd">
<!--手机-->
<view class="weui-cell weui-cell_input">
<view class="weui-cell__hd">
<view class="weui-label">手机:</view>
</view>
<view class="weui-cell__bd">
<input name="mobile" confirm-type="next" confirm-hold="false" class="weui-input" placeholder="请输入手机号" />
</view>
</view>
<!--end of 手机-->
<!--密码-->
<view class="weui-cell weui-cell_input">
<view class="weui-cell__hd">
<view class="weui-label">密码:</view>
</view>
<view class="weui-cell__bd">
<input class="weui-input" name="password" confirm-type="next" confirm-hold="false" password="true" placeholder="请输入密码" />
</view>
</view>
<!--end of 密码-->
<view class="weui-btn-area">
<button size="default" class="weui-btn" loading="{{loading_flag}}" formType="submit">
登录
</button>
</view>
</view>
</view>
</form>
网友回复
这方面的文档很少,能不能帮忙写一下这个比较简单的实现,谢谢!
只是控制按钮的显示文字而已。
功能还是要自己实现