Commit 7c17cefe by 陈超

T

parent bb5bbdb4
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
</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="请输入8~16位密码"></van-field>
<div :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>
</div> </div>
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
} }
String.prototype.isPwd = function() { String.prototype.isPwd = function() {
return this.length >= 6 && this.length <= 16 return this.length >= 8 && this.length <= 16
} }
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