This commit is contained in:
熊猫 2024-02-02 14:12:02 +08:00
parent 9d608fdabf
commit 7bf1420817

View File

@ -71,7 +71,9 @@
<div v-else class="register-block move_2">
<div class="header-box">
<span class="title">新用户申请</span>
<el-icon @click="isShowRegister = false"><Close /></el-icon>
<el-icon @click="isShowRegister = false">
<Close />
</el-icon>
</div>
<el-form ref="registerFormRef" :model="registerParams" :rules="registerRules" label-width="100">
@ -79,7 +81,8 @@
<el-input v-model="registerParams.account" placeholder="请输入用户名"></el-input>
</el-form-item>
<el-form-item label="密码" prop="password">
<el-input v-model="registerParams.password" type="password" show-password placeholder="请输入密码"></el-input>
<el-input v-model="registerParams.password" type="password" show-password
placeholder="请输入密码"></el-input>
</el-form-item>
<el-form-item label="姓名" prop="name">
<el-input v-model="registerParams.name" placeholder="请输入姓名"></el-input>
@ -100,8 +103,10 @@
</el-radio-group>
</el-form-item>
<el-form-item label="验证码" prop="code">
<el-input v-model="registerParams.code" placeholder="请输入验证码" style="width: calc(100% - 110px);"></el-input>
<img width="100" height="32" style="margin-left: 10px;" :src="captchaImgUrl" @click="refreshImg" />
<el-input v-model="registerParams.code" placeholder="请输入验证码"
style="width: calc(100% - 110px);"></el-input>
<img width="100" height="32" style="margin-left: 10px;" :src="captchaImgUrl" />
<a class="change_img" @click="refreshImg" href="#">看不清</a>
</el-form-item>
</el-form>
@ -113,8 +118,8 @@
</div>
</div>
</div>
<SliderVerify v-model:isShowSelf="sliderVConf.isShowSelf" :width="sliderVConf.width"
:height="sliderVConf.height" @success="toHome"></SliderVerify>
<SliderVerify v-model:isShowSelf="sliderVConf.isShowSelf" :width="sliderVConf.width" :height="sliderVConf.height"
@success="toHome"></SliderVerify>
</template>
<script lang='ts' setup>
@ -425,28 +430,34 @@ const toHome = () => {
min-height: 300px;
padding: 50px;
background: white;
.header-box {
display: flex;
justify-content: space-between;
margin-bottom: 30px;
.title {
font-size: 20px;
color: $main-color;
font-weight: 600;
}
.el-icon {
cursor: pointer;
}
}
.footer-box {
padding-left: 100px;
display: flex;
justify-content: space-between;
align-items: center;
.el-button {
font-size: 16px;
padding: 5px 50px;
}
&>span {
cursor: pointer;
font-size: 18px;