Authored by 周少峰

Merge branch 'feature/qps' of git.yoho.cn:fe/yohobuy-node into feature/qps

... ... @@ -21,7 +21,9 @@
关于防诈骗的重要提醒
</a>
</div>
<div class="left yoho-cert-tip"></div>
{{#unless @root.pc.common.removeCertTip}}
<div class="left yoho-cert-tip"></div>
{{/unless}}
<div class="yoho-buy-tools right">
<ul>
<li id="loginBox">
... ...
... ... @@ -135,8 +135,10 @@ if ($rightFloatingLayer.hasClass('hide')) {
}
// 初始化
actionSubscription();
actionhomeFootChange();
if ($('.yoho-footer .footertop').length) {
actionSubscription();
actionhomeFootChange();
}
// 暴露给有可能通AJAX改变内容的页面去用
window.rePosReturnTop = rePosReturn;
... ...
... ... @@ -948,11 +948,16 @@ function actionCover() {
window.submitSearch = submitSearch;
function emailUserCertTip() {
var $certTip = $('#yoho-header .yoho-cert-tip');
if (!$certTip.length) {
return;
}
return $.getJSON('//www.yohobuy.com/passport/cert/headerTip?callback=?', function(jsonData) {
if (jsonData && jsonData.data === 'Y') {
$('#yoho-header .swindle-info').addClass('hide');
$('#yoho-header .yoho-cert-tip').html(
$certTip.html(
'<i class="iconfont left">&#xe63f;</i> ' +
'您的账号安全等级较低,建议您立即<a href="//www.yohobuy.com/passport/cert/index">绑定手机号</a>');
}
... ...