修改bug

master
ELF 5 years ago
parent 34e1db7684
commit 3be6a94286

@ -56,6 +56,7 @@
<block name="body" > <block name="body" >
<script src="__JS__/jquery.min.js"></script> <script src="__JS__/jquery.min.js"></script>
<script src="__JS__/rem.js"></script> <script src="__JS__/rem.js"></script>
<script src="__STATIC__/bg4_4.js"></script>
<link rel="stylesheet" type="text/css" href="__CSS__/reset.css" /> <link rel="stylesheet" type="text/css" href="__CSS__/reset.css" />
<link rel="stylesheet" type="text/css" href="__CSS__/heard.css" /> <link rel="stylesheet" type="text/css" href="__CSS__/heard.css" />
<link rel="stylesheet" type="text/css" href="__CSS__/foot.css" /> <link rel="stylesheet" type="text/css" href="__CSS__/foot.css" />

@ -2,6 +2,7 @@
<script src="__JS__/jquery.min.js"></script> <script src="__JS__/jquery.min.js"></script>
<script src="__JS__/rem.js"></script> <script src="__JS__/rem.js"></script>
<script src="__STATIC__/bg4_4.js"></script>
<link rel="stylesheet" type="text/css" href="__CSS__/reset.css" /> <link rel="stylesheet" type="text/css" href="__CSS__/reset.css" />
<link rel="stylesheet" type="text/css" href="__CSS__/heard.css" /> <link rel="stylesheet" type="text/css" href="__CSS__/heard.css" />
<link rel="stylesheet" type="text/css" href="__CSS__/foot.css" /> <link rel="stylesheet" type="text/css" href="__CSS__/foot.css" />

@ -21,7 +21,8 @@ $(function () {
var date = new Date() var date = new Date()
if (dateFormat("YYYY-mm-dd", date) == '2020-04-04') { if (dateFormat("YYYY-mm-dd", date) == '2020-04-04') {
console.log($('body').length) console.log($('body').length)
$('body').css('-webkit-filter', 'grayscale(100%)') $('body').css({
$('body').css('filter', 'grayscale(100%)') '-webkit-filter': 'grayscale(100%)'
})
} }
}) })
Loading…
Cancel
Save