Authored by 周少峰

add students entry

... ... @@ -70,6 +70,20 @@
background: rgba(200,200,200,.1)!important;
}
}
.students-entry {
display: block;
width: 150px;
height: 50px;
line-height: 50px;
border-top-left-radius: 50px;
border-bottom-left-radius: 50px;
background: #d0021b;
color: #ffffff;
padding-left: 20px;
position: absolute;
top: 20px;
right: 0px;
}
}
.login-btn {
... ...
... ... @@ -10,12 +10,18 @@
{{/vip_info}}
<div class="iconfont more-icon tap-hightlight">&#xe604;</div>
</a>
{{#if showEntry}}
<a class="students-entry" href="###">学生认证</a>
{{/if }}
{{/isLogin}}
{{^isLogin}}
<div class="user-info">
<a class="login-btn" href="{{signinUrl}}">
登录/注册
</a>
<a class="students-entry" href="###">学生认证</a>
</div>
{{/isLogin}}
</div>
... ...