Commit f2899520 by fanx

修复登录页面tab也换兼容

1 parent 120573f9
<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>
<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: 107px;
left: 20px;
}
.bottom-border-2 {
position: absolute;
width: 80px;
border-bottom: 3px solid #106abc;
top: 26px;
right: 107px;
right: 20px;
}
}
</style>
\ 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!