|
@@ -21,12 +21,12 @@
|
|
|
<block v-if="type == 'mobile' || type == 'pass'">
|
|
|
<view class="name">手机号码:</view>
|
|
|
<view class="item">
|
|
|
- <input type="text" class="input" v-model="mobile" placeholder="请输入手机号码" />
|
|
|
+ <input type="text" class="input" v-model="mobile" placeholder="请输入手机号码" maxlength="11"/>
|
|
|
</view>
|
|
|
<block v-if="type == 'pass'">
|
|
|
<view class="name">登录密码:</view>
|
|
|
<view class="item">
|
|
|
- <input type="password" class="input" v-model="password" placeholder="请输入登录密码" />
|
|
|
+ <input type="password" class="input" v-model="password" placeholder="请输入登录密码" maxlength="32"/>
|
|
|
</view>
|
|
|
<view class="other_list">
|
|
|
<text class="left" v-if="false">忘记密码</text>
|
|
@@ -38,7 +38,7 @@
|
|
|
<block v-if="type == 'mobile'">
|
|
|
<view class="name">验证码:</view>
|
|
|
<view class="item">
|
|
|
- <input type="text" class="input" v-model="code" placeholder="请输入验证码" />
|
|
|
+ <input type="text" class="input" v-model="code" placeholder="请输入验证码" maxlength="6"/>
|
|
|
<view class="btn">获取验证码</view>
|
|
|
</view>
|
|
|
<view class="other_list">
|