Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
d0a7bf69
Commit
d0a7bf69
authored
Sep 26, 2021
by
tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 处理注册登录移动端浏览布局问题
parent
ad1480db
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
69 additions
and
6 deletions
+69
-6
entry-card.vue
src/views/User/entry-card.vue
+8
-0
ditu .png
src/views/User/img/ditu .png
+0
-0
logo.png
src/views/User/img/logo.png
+0
-0
index.vue
src/views/User/index.vue
+36
-5
login.vue
src/views/User/login.vue
+7
-0
register.vue
src/views/User/register.vue
+11
-1
reset-pass.vue
src/views/User/reset-pass.vue
+7
-0
No files found.
src/views/User/entry-card.vue
View file @
d0a7bf69
...
...
@@ -41,4 +41,12 @@ export default {
display
:
flex
;
}
}
@media
(
max-width
:
456px
)
{
//<=
768
的设备
.entry-card
{
width
:
90%
;
padding
:
40px
20px
;
}
}
</
style
>
src/views/User/img/ditu .png
0 → 100644
View file @
d0a7bf69
103 KB
src/views/User/img/logo.png
0 → 100644
View file @
d0a7bf69
3 KB
src/views/User/index.vue
View file @
d0a7bf69
...
...
@@ -2,7 +2,9 @@
<!--注册,登录,找回密码等业务-->
<div
class=
"gs-entry"
>
<div
class=
"header"
>
<div
class=
"content"
>
<img
src=
"./img/logo.png"
alt=
""
>
</div>
</div>
<div
class=
"body"
>
<div
class=
"content"
>
...
...
@@ -57,8 +59,17 @@ export default {
//
overflow
:
hidden
;
.header
{
display
:
flex
;
flex
:
0
0
112px
;
justify-content
:
center
;
padding-top
:
58px
;
width
:
100%
;
text-align
:
left
;
.content
{
flex
:
0
1
1370px
;
padding-left
:
75px
;
}
}
.body
{
...
...
@@ -91,18 +102,38 @@ export default {
}
}
::v-deep
.el-tabs
{
.el-tabs__item{
.el-tabs__item
{
color
:
rgba
(
0
,
0
,
0
,
0.4
);
&.is-active,&:hover{
&.is-active,
&:hover
{
color
:
$
theme-color1
;
}
}
.el-tabs__content
{
.el-tabs__content
{
padding-top
:
19px
;
}
}
@media
(
max-width
:
767px
)
{
//<=
768
的设备
.gs-entry
{
.header{
flex
:
0
0
60px
;
padding-top
:
20px
;
padding-bottom
:
10px
;
.content
{
padding-left
:
6%
;
}
}
.body
{
.content
{
padding-top
:
30px
;
}
}
}
}
</
style
>
src/views/User/login.vue
View file @
d0a7bf69
...
...
@@ -172,4 +172,11 @@ export default {
}
}
}
@media
(
max-width
:
456px
)
{
//<=
768
的设备
.login
{
width
:
100%
;
}
}
</
style
>
src/views/User/register.vue
View file @
d0a7bf69
...
...
@@ -3,7 +3,7 @@
<div
class=
"register"
>
<el-form
ref=
'ruleForm'
label-position=
'right'
label-width=
'1
4
0px'
label-width=
'1
0
0px'
:model=
'form'
>
<el-form-item
label=
'用户名'
prop=
'userName'
...
...
@@ -180,6 +180,7 @@ export default {
.register
{
width
:
520px
;
margin-right
:
60px
;
margin-left
:
40px
;
::v-deep
.el-form
{
.el-input-group__append
{
...
...
@@ -213,4 +214,13 @@ export default {
}
}
}
@media
(
max-width
:
768px
)
{
//<=
768
的设备
.register
{
width
:
100%
;
margin
:
0
;
padding-right
:
10px
;
}
}
</
style
>
src/views/User/reset-pass.vue
View file @
d0a7bf69
...
...
@@ -200,4 +200,11 @@ export default {
}
}
}
@media
(
max-width
:
456px
)
{
//<=
768
的设备
.reset-pass
{
width
:
100%
;
}
}
</
style
>
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