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
6be4f901
Commit
6be4f901
authored
Nov 08, 2019
by
季圣华
Browse files
修改首页内容
parent
e07c3d17
Changes
2
Hide whitespace changes
Inline
Side-by-side
erp_web/index.html
View file @
6be4f901
...
...
@@ -50,7 +50,11 @@
</a>
</li>
<li
class=
"treeview"
>
<a
target=
"_blank"
style=
"color:yellow;font-weight: bold"
<a
target=
"_blank"
class=
"aliyun"
style=
"color:yellow;font-weight: bold;display: none;"
href=
"https://www.aliyun.com/acts/hotsale?userCode=axva2vlr"
>
<i
class=
"fa fa-cloud"
></i>
阿里云促销中
</a>
<a
target=
"_blank"
class=
"tencent"
style=
"color:yellow;font-weight: bold;display: none;"
href=
"https://cloud.tencent.com/act/cps/redirect?fromSource=gwzcw.3018172.3018172.3018172&redirect=10140&cps_key=4fb6482d716575dcb7b8fe600d93766a&from=activity"
>
<i
class=
"fa fa-cloud"
></i>
腾讯云促销中
</a>
...
...
erp_web/js/modules/sys/sysIndex.js
View file @
6be4f901
...
...
@@ -418,8 +418,19 @@ $(function () {
});
})
//根据时间戳决定展示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
);
});
\ No newline at end of file
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