Authored by 毕凯

增加微信登录样式 code review by @bikai

... ... @@ -48,6 +48,9 @@
</span>
</li>
<li class="third-party-login">
<a href="{{weixinLogin}}">
<span class="icon weixin"></span>
</a>
<a href="{{qqLogin}}">
<span class="icon qq"></span>
</a>
... ...
... ... @@ -86,7 +86,7 @@ $third: sprite-map("passport/third/*.png");
a {
display: table-cell;
width: 54px;
width: 45px;
background-size: 100% 100%;
}
... ... @@ -97,6 +97,10 @@ $third: sprite-map("passport/third/*.png");
margin: 0 auto;
}
.weixin {
background: sprite($third, weixin) no-repeat;
}
.qq {
background: sprite($third, qq) no-repeat;
}
... ...
... ... @@ -61,6 +61,7 @@ class LoginController extends AbstractAction
'countryList' => RegData::getAreasData(),
'forgetPwd' => Helpers::url('/passport/back/index'),
'fastReg' => Helpers::url('/reg.html'),
'weixinLogin' => Helpers::url('/passport/autosign/weixin'),
'qqLogin' => Helpers::url('/passport/autosign/qq'),
'weiboLogin' => Helpers::url('/passport/autosign/sina'),
'alipayLogin' => Helpers::url('/passport/autosign/alipay'),
... ...