Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
74b6a716
Commit
74b6a716
authored
May 27, 2020
by
季圣华
Browse files
优化首页导航
parent
61b7c660
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/js/modules/sys/sysIndex.js
View file @
74b6a716
...
...
@@ -421,21 +421,8 @@ $(function () {
//广告循环
var
loginName
=
sessionStorage
.
getItem
(
"
loginName
"
);
if
(
loginName
==
"
jsh
"
)
{
//根据时间戳决定展示aliyun还是tencent
function
autoChangeTip
()
{
var
timestamp
=
new
Date
().
getTime
();
var
checkShow
=
timestamp
%
2
;
if
(
checkShow
)
{
$
(
"
.aliyun
"
).
show
();
$
(
"
.tencent
"
).
hide
();
}
else
{
$
(
"
.aliyun
"
).
hide
();
$
(
"
.tencent
"
).
show
();
}
}
setInterval
(
function
()
{
autoChangeTip
();
},
10
*
1000
);
$
(
"
.tencent
"
).
show
();
$
(
"
.aliyun
"
).
hide
();
}
//更新消息条数
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment