|
|
@@ -9,8 +9,8 @@
|
|
|
}
|
|
|
] as ClFormRule[]
|
|
|
">
|
|
|
- <cl-input clearable class="" :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }" v-model="form.username"
|
|
|
- placeholder="请输入用户名(必填)"></cl-input>
|
|
|
+ <cl-input clearable class="" :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }"
|
|
|
+ v-model="form.username" placeholder="请输入用户名(必填)"></cl-input>
|
|
|
</cl-form-item>
|
|
|
<cl-form-item prop="password" required :pt="{
|
|
|
className: '!mb-4'
|
|
|
@@ -20,13 +20,13 @@
|
|
|
message: '密码不能为空'
|
|
|
}, {
|
|
|
min: 6,
|
|
|
- max: 12,
|
|
|
+ max: 16,
|
|
|
message: '密码长度必须在6到16位之间'
|
|
|
}
|
|
|
] as ClFormRule[]
|
|
|
">
|
|
|
- <cl-input :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }" clearable v-model="form.password" password
|
|
|
- placeholder="请输入密码(必填)">
|
|
|
+ <cl-input :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }" clearable v-model="form.password"
|
|
|
+ password placeholder="请输入密码(必填)">
|
|
|
</cl-input>
|
|
|
</cl-form-item>
|
|
|
<cl-form-item prop="confirmPassword" required :pt="{
|
|
|
@@ -41,15 +41,15 @@
|
|
|
}
|
|
|
] as ClFormRule[]
|
|
|
">
|
|
|
- <cl-input :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }" clearable v-model="form.confirmPassword"
|
|
|
- password placeholder="请确认密码(必填)">
|
|
|
+ <cl-input :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }" clearable
|
|
|
+ v-model="form.confirmPassword" password placeholder="请确认密码(必填)">
|
|
|
</cl-input>
|
|
|
</cl-form-item>
|
|
|
<cl-form-item prop="phone" required :pt="{
|
|
|
className: '!mb-4'
|
|
|
}">
|
|
|
- <cl-input clearable class="" :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }" v-model="form.phone"
|
|
|
- placeholder="请输入验证码手机号"></cl-input>
|
|
|
+ <cl-input clearable class="" :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }"
|
|
|
+ v-model="form.phone" placeholder="请输入验证码手机号"></cl-input>
|
|
|
</cl-form-item>
|
|
|
<cl-form-item prop="code" required :pt="{
|
|
|
className: '!mb-4'
|
|
|
@@ -60,8 +60,8 @@
|
|
|
}
|
|
|
] as ClFormRule[]
|
|
|
">
|
|
|
- <cl-input :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }" v-model="form.code" :clearable="false"
|
|
|
- type="number" placeholder="请输入验证码(必填)">
|
|
|
+ <cl-input :pt="{ className: '!h-[40px] !rounded-xxl !px-4 !w-[80vw]' }" v-model="form.code"
|
|
|
+ :clearable="false" type="number" placeholder="请输入验证码(必填)">
|
|
|
</cl-input>
|
|
|
<view class="absolute right-0">
|
|
|
<sms-btn :ref="refs.set('smsBtn')" :phone="form.phone"></sms-btn>
|