Commit b4fd6526 by zhangxw

输入手机号 数字键盘

1 parent f82b5e89
......@@ -30,6 +30,7 @@ const formItems = [{
tips: '(登录凭证)',
props: 'staffPhone',
type: 'input',
inputType: 'number',
placeholder: '请输入手机号码',
maxLength: 11
}, {
......
......@@ -9,7 +9,7 @@
<view class="label">{{item.label}}<text class="tips">{{item.tips}}</text></view>
<view class="input-box" wx:if="{{item.type == 'input'}}">
<input
type="text"
type="{{item.inputType || 'text'}}"
placeholder="{{item.placeholder}}"
class="input"
bindinput="input"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!