Commit f2899520 by fanx

修复登录页面tab也换兼容

1 parent 120573f9
<template> <template>
<div class="login_tabs"> <div class="login_tabs">
<router-link to="/user/login/phone" :class="{active:type==1}">手机号登录</router-link> <router-link to="/user/login/phone" :class="{active:type==1}">
<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-1" v-show="type==1"></div>
<div class="bottom-border-2" v-show="type==2"></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> </div>
</template> </template>
<script> <script>
...@@ -39,14 +44,14 @@ export default { ...@@ -39,14 +44,14 @@ export default {
width: 80px; width: 80px;
border-bottom: 3px solid #106abc; border-bottom: 3px solid #106abc;
top: 26px; top: 26px;
left: 107px; left: 20px;
} }
.bottom-border-2 { .bottom-border-2 {
position: absolute; position: absolute;
width: 80px; width: 80px;
border-bottom: 3px solid #106abc; border-bottom: 3px solid #106abc;
top: 26px; top: 26px;
right: 107px; right: 20px;
} }
} }
</style> </style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!