Commit db1f300d by 李嘉林

登录框

parent 327464c2
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
> >
微信一键登录 微信一键登录
</div> </div>
<div class="phoneLogin" v-if="phoneLoginFlag"> <div class="phoneLogin" v-if="phoneLoginFlag" :style="{background: phoneLoginBackground}">
<div class="phoneLabel flex"> <div class="phoneLabel flex">
<span <span
:style="{ :style="{
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
>账号</span >账号</span
> >
<input <input
:style="{ background: inputBackground }"
type="number" type="number"
v-model="loginMsg.account" v-model="loginMsg.account"
maxlength="11" maxlength="11"
...@@ -45,7 +44,7 @@ ...@@ -45,7 +44,7 @@
>密码</span >密码</span
> >
<input <input
:style="{ background: inputBackground }" :style="{ width: forgetPasswordType == 1 ?'':'100%' }"
type="password" type="password"
v-model="loginMsg.password" v-model="loginMsg.password"
:placeholder="pwdInputPlaceholder" :placeholder="pwdInputPlaceholder"
...@@ -157,6 +156,9 @@ export default { ...@@ -157,6 +156,9 @@ export default {
inputBackground() { inputBackground() {
return this.datas.componentData.inputBackground; return this.datas.componentData.inputBackground;
}, },
phoneLoginBackground() {
return this.datas.componentData.phoneLoginBackground || '#fff';
},
labelStyleType() { labelStyleType() {
return this.datas.componentData.labelStyleType; return this.datas.componentData.labelStyleType;
}, },
...@@ -262,12 +264,18 @@ input { ...@@ -262,12 +264,18 @@ input {
span { span {
color: #333; color: #333;
font-size: 16px; font-size: 16px;
flex-shrink: 0;
} }
input { input {
margin-left: 30px; margin-left: 30px;
width: 44%; width: 44%;
} }
} }
.phoneLabel{
input {
width: 100%;
}
}
.passLabel { .passLabel {
.forgetPassword { .forgetPassword {
position: absolute; position: absolute;
......
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
} }
} }
} }
......
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