Commit 54983433 authored by “yiyousong”'s avatar “yiyousong”

pref:修改登录框

parent 4e7bd7e5
...@@ -34,18 +34,15 @@ ...@@ -34,18 +34,15 @@
@pressEnter="handleSubmit" @pressEnter="handleSubmit"
/> />
</a-form-model-item> </a-form-model-item>
<a-form-model-item prop="code"> <a-form-model-item class="code" prop="code">
<div class="code" style="width: 520px; height: 52px">
<a-input <a-input
placeholder="请输入验证码" placeholder="请输入验证码"
onfocus="this.placeholder=''" onfocus="this.placeholder=''"
onblur="this.placeholder='请输入验证码'" onblur="this.placeholder='请输入验证码'"
style="height: 52px"
v-model="form.code" v-model="form.code"
@pressEnter="handleSubmit" @pressEnter="handleSubmit"
/> />
<img :src="imgCode" @click="createCode" /> <img :src="imgCode" @click="createCode" />
</div>
</a-form-model-item> </a-form-model-item>
<a-form-model-item> <a-form-model-item>
<a-button <a-button
...@@ -181,9 +178,13 @@ export default { ...@@ -181,9 +178,13 @@ export default {
} }
} }
} }
.code { /deep/.code {
.ant-form-item-children {
width: 520px;
height: 52px;
display: flex; display: flex;
align-items: center; align-items: center;
}
.ant-input { .ant-input {
height: 100%; height: 100%;
border-radius: 4px 0px 0px 4px; border-radius: 4px 0px 0px 4px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment