From 3be6a9428603478ebe3c2ac2e243cfe3594eb7a5 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Sat, 4 Apr 2020 19:21:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Media/View/default/Article/article/detail1.html | 1 + Application/Media/View/default/Index/hezuo.html | 1 + Public/static/bg4_4.js | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Application/Media/View/default/Article/article/detail1.html b/Application/Media/View/default/Article/article/detail1.html index c232a6240..5d41a28b8 100644 --- a/Application/Media/View/default/Article/article/detail1.html +++ b/Application/Media/View/default/Article/article/detail1.html @@ -56,6 +56,7 @@ + diff --git a/Application/Media/View/default/Index/hezuo.html b/Application/Media/View/default/Index/hezuo.html index 8b738a76d..29b54072d 100644 --- a/Application/Media/View/default/Index/hezuo.html +++ b/Application/Media/View/default/Index/hezuo.html @@ -2,6 +2,7 @@ + diff --git a/Public/static/bg4_4.js b/Public/static/bg4_4.js index d3a228347..10715247c 100644 --- a/Public/static/bg4_4.js +++ b/Public/static/bg4_4.js @@ -21,7 +21,8 @@ $(function () { var date = new Date() if (dateFormat("YYYY-mm-dd", date) == '2020-04-04') { console.log($('body').length) - $('body').css('-webkit-filter', 'grayscale(100%)') - $('body').css('filter', 'grayscale(100%)') + $('body').css({ + '-webkit-filter': 'grayscale(100%)' + }) } }) \ No newline at end of file