Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
polysoft-nafmii
/
polysoft-h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f2899520
authored
May 18, 2021
by
fanx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复登录页面tab也换兼容
1 parent
120573f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
src/views/user/login/components/LoginTabs.vue
src/views/user/login/components/LoginTabs.vue
View file @
f289952
<
template
>
<div
class=
"login_tabs"
>
<router-link
to=
"/user/login/phone"
:class=
"
{active:type==1}">手机号登录
</router-link>
<router-link
to=
"/user/login/username"
:class=
"
{active:type==2}">账号密码登录
</router-link>
<div
class=
"bottom-border-1"
v-show=
"type==1"
></div>
<div
class=
"bottom-border-2"
v-show=
"type==2"
></div>
<router-link
to=
"/user/login/phone"
:class=
"
{active:type==1}">
手机号登录
<div
class=
"bottom-border-1"
v-show=
"type==1"
></div>
</router-link>
<router-link
to=
"/user/login/username"
:class=
"
{active:type==2}">
账号密码登录
<div
class=
"bottom-border-2"
v-show=
"type==2"
></div>
</router-link>
</div>
</
template
>
<
script
>
...
...
@@ -39,14 +44,14 @@ export default {
width
:
80px
;
border-bottom
:
3px
solid
#106abc
;
top
:
26px
;
left
:
107
px
;
left
:
20
px
;
}
.bottom-border-2
{
position
:
absolute
;
width
:
80px
;
border-bottom
:
3px
solid
#106abc
;
top
:
26px
;
right
:
107
px
;
right
:
20
px
;
}
}
</
style
>
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment