Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
7 years ago
Commit
9dbcb256b0f06077f67c146809554774534ca5ce
1 parent
8ef02237
降级
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
doraemon/views/partial/header.hbs
public/js/footer.js
public/js/header.js
doraemon/views/partial/header.hbs
View file @
9dbcb25
...
...
@@ -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"
>
...
...
public/js/footer.js
View file @
9dbcb25
...
...
@@ -135,8 +135,10 @@ if ($rightFloatingLayer.hasClass('hide')) {
}
// 初始化
actionSubscription
();
actionhomeFootChange
();
if
(
$
(
'.yoho-footer .footertop'
).
length
)
{
actionSubscription
();
actionhomeFootChange
();
}
// 暴露给有可能通AJAX改变内容的页面去用
window
.
rePosReturnTop
=
rePosReturn
;
...
...
public/js/header.js
View file @
9dbcb25
...
...
@@ -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"></i> '
+
'您的账号安全等级较低,建议您立即<a href="//www.yohobuy.com/passport/cert/index">绑定手机号</a>'
);
}
...
...
Please
register
or
login
to post a comment