1、表单居中对齐:
<fieldset>
<legend >个人信息</legend>
<!-- 姓名 -->
<el-form-item label="姓名:" prop="apply_person_name" size = 'small' >
<el-input v-model="form.apply_person_name" placeholder="请输入姓名" class="input_width"></el-input>
</el-form-item>
</fieldset>
<br>
<style scoped>
fieldset {
/* 表单页面居中,宽度50% ,legend颜色设置,legend圆角*/
border:2px solid #DCDFE6; text-align:left; border-radius: 8px;margin: 0 auto;width:50%;
}
</style>
效果如下:
2、验证码倒计时:
验证码button
<!-- 验证码 -->
<el-form-item label="验证码" prop=