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