Commit 9fc6a545 by 陈超

T

parent 7c17cefe
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<div class="login_input_frame layout_v"> <div class="login_input_frame layout_v">
<van-field class="login_input" left-icon="__THEME__/img/account_icon.png" v-model="phone" type="tel" placeholder="请输入手机号"></van-field> <van-field class="login_input" left-icon="__THEME__/img/account_icon.png" v-model="phone" type="tel" placeholder="请输入手机号"></van-field>
<van-field class="login_input" left-icon="__THEME__/img/pwd_icon.png" v-model="password" type="password" placeholder="请输入8~16位密码"></van-field> <van-field class="login_input" left-icon="__THEME__/img/pwd_icon.png" v-model="password" type="password" placeholder="请输入6~18位密码"></van-field>
<div class="van-hairline--bottom" style="transform: scaleY(.5);"></div> <div class="van-hairline--bottom" style="transform: scaleY(.5);"></div>
</div> </div>
<div class="layout_h_b login_action_bar"> <div class="layout_h_b login_action_bar">
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
} }
String.prototype.isPwd = function() { String.prototype.isPwd = function() {
return this.length >= 8 && this.length <= 16 return this.length >= 6 && this.length <= 18
} }
new Vue({ new Vue({
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
</div> </div>
</template> </template>
</van-field> </van-field>
<van-field v-model="password" label="密码" type="password" maxlength="16" placeholder="请输入8~16位密码"></van-field> <van-field v-model="password" label="密码" type="password" maxlength="16" placeholder="请输入6~18位密码"></van-field>
<div @click="onConfirm" :class="isOk ? 'confirm_button' : 'confirm_button_disable'" style="margin-top: 6.625rem;"> <div @click="onConfirm" :class="isOk ? 'confirm_button' : 'confirm_button_disable'" style="margin-top: 6.625rem;">
<span>注册并登录</span> <span>注册并登录</span>
</div> </div>
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
} }
String.prototype.isPwd = function() { String.prototype.isPwd = function() {
return this.length >= 8 && this.length <= 16 return this.length >= 6 && this.length <= 18
} }
new Vue({ new Vue({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment