菜鸟本人最近在用vuetify写登录注册页面,这个ui强大但是难用,很难自己调整到满意的程度。
我琢磨了好久,写出了一个粗糙的注册页面
<template style="clear:both">
<v-card class="mx-auto my-16" max-width="600" min-width="300" shaped>
<v-row no-gutters>
<v-form class="mx-auto my-16" ref="form">
<v-text-field
placeholder="请输入手机号"
color="info"
outlined
clearable
dense
v-model="moblie"
:rules="[rules.required, rules.moblie]"
prepend-inner-icon="mdi-account"
class="rounded-pill"
></v-text-field>
<v-text-field
color="info"
prepend-inner-icon="mdi-lock"
placeholder="密码为6-18位英文+数字"
outlined
clearable
dense
v-model="password"
counter
minlength=&#