Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
whb
9 years ago
Commit
bb294b308fa5d8a700ff94f907931b2b44b07c07
2 parents
6af4a180
aded33e4
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy.git
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
web-static/js/header.js
web-static/js/header.js
View file @
bb294b3
...
...
@@ -319,10 +319,26 @@ function JsonPCallBack(data) {
if
(
+
data
.
code
===
200
)
{
if
(
typeof
data
.
data
===
'object'
)
{
topbanner
=
'<a target="_blank" href="'
+
data
.
data
.
url
+
'" class="page-top-banner"'
+
'style="height:50px;border:none;background-image:url('
+
window
.
unescape
(
data
.
data
.
src
)
+
');'
+
'background-position: center;display:block;background-color:#ff5409;"> </a>'
;
$
(
'body'
).
prepend
(
topbanner
);
if
(
data
.
data
.
url
!==
''
){
topbanner
=
'<a target="_blank" href="'
+
data
.
data
.
url
+
'" class="page-top-banner"'
+
'style="height:36px;border:none;background-image:url('
+
window
.
unescape
(
data
.
data
.
src
)
+
');'
+
'background-position: center;display:block;background-size:contain"> </a>'
;
}
else
{
topbanner
=
'<div class="noticewrapper">'
+
'<div class="noticecontainer">'
+
'<h1 class="noticetitle">关于系统升级的公告</h1>'
+
'<div class="noticecontent">'
+
'<p class="tips">尊敬的顾客:</p>'
+
'<p class="detail">您好!为了向您提供更优质的服务,目前系统正在升级,请耐心等待。</p>'
+
'<p class="detail">'
+
'系统升级期间,部分地区用户体验会有暂时中断,如遇紧急事宜,欢迎垂询客服热线:400-889-9646 09:00-22:30(周一至周日)。稍后系统将恢复正常'
+
'</p>'
+
'<p class="detail">使用,欢迎您继续光顾YOHO!BUY有货!带来不便之处深表歉意,请您谅解!</p>'
+
'</div>'
+
'</div>'
+
'</div>'
;
}
$
(
'body'
).
prepend
(
topbanner
);
}
}
}
...
...
Please
register
or
login
to post a comment