From 68b9e740b85d696b05d648801b9d4f87fbc89179 Mon Sep 17 00:00:00 2001 From: "Mr.Lin" Date: Sat, 1 Feb 2020 04:47:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E9=9A=8F=E6=9C=BA=E8=83=8C?= =?UTF-8?q?=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scfone-theme-js/odscf/scf.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/scfone-theme-js/odscf/scf.js b/scfone-theme-js/odscf/scf.js index 6877fb8..2ee1703 100644 --- a/scfone-theme-js/odscf/scf.js +++ b/scfone-theme-js/odscf/scf.js @@ -36,9 +36,7 @@ const FONT_PINGYONG = HEREDOC(() => {/* // 雨伞背景 const ADD_UMBRELLA_BACKGROUND = (callback) => { const SCRIPT = document.createElement('script'); - - // SCRIPT.src = '//s0.pstatp.com/cdn/expire-1-M/canvas-nest.js/2.0.4/canvas-nest.js'; - + //SCRIPT.src = '//s0.pstatp.com/cdn/expire-1-M/canvas-nest.js/2.0.4/canvas-nest.js'; SCRIPT.src = '//cdn.jsdelivr.net/gh/ldxw/CDN@v0.02.1/scfone-theme-js/canvas-nest/2.0.4/canvas-nest.js'; SCRIPT.opacity = '0.1'; SCRIPT.count = '10'; @@ -47,10 +45,10 @@ const ADD_UMBRELLA_BACKGROUND = (callback) => { }; const ADD_IMGAGE_BACKGROUND = () => { - - // const IMAGE = 'url(//img12.360buyimg.com/img/jfs/t1/56992/25/15607/359235/5dc93624E8223dc25/41cac0ada12d3ad9.jpg)' - - const IMAGE = 'url(//cdn.jsdelivr.net/gh/ldxw/CDN@v0.02.1/scfone-theme-js/img/bg.jpg)' + //const IMAGE = 'url(//img12.360buyimg.com/img/jfs/t1/56992/25/15607/359235/5dc93624E8223dc25/41cac0ada12d3ad9.jpg)' + //const IMAGE = 'url(//cdn.jsdelivr.net/gh/ldxw/CDN@v0.02.1/scfone-theme-js/img/bg.jpg)' + //随机美图背景 + const IMAGE = 'url(//api.ldxw.vip/img/pic.php?type=img.jpg)' const DIV = document.createElement('div'); DIV.style.background = IMAGE; DIV.style.pointerEvents = 'none';