Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
db1f300d
Commit
db1f300d
authored
Jul 18, 2022
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录框
parent
327464c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
src/components/login/loginBox.vue
+11
-3
src/components/login/loginLogo.vue
+1
-1
No files found.
src/components/login/loginBox.vue
View file @
db1f300d
...
@@ -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
;
...
...
src/components/login/loginLogo.vue
View file @
db1f300d
...
@@ -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
:
co
ver
;
object-fit
:
co
ntain
;
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment