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>
... ... @@ -70,4 +73,4 @@
</div>
{{/ passport}}
</div>
{{> layout/footer}}
\ No newline at end of file
{{> layout/footer}}
... ...
... ... @@ -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;
}
... ... @@ -117,4 +121,4 @@ $third: sprite-map("passport/third/*.png");
background: sprite($third, renren) no-repeat;
}
}
}
\ No newline at end of file
}
... ...
... ... @@ -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'),
... ... @@ -74,7 +75,7 @@ class LoginController extends AbstractAction
/**
* 登录操作
*
*
* @param string areaCode 地区编号, 不需要+号
* @param string account 账号(邮箱或手机号)
* @param string password 密码
... ...