mirror of
https://github.com/ldxw/cdn.git
synced 2026-08-14 04:51:24 +08:00
更改随机背景
This commit is contained in:
@@ -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 = '//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(//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';
|
||||
|
||||
Reference in New Issue
Block a user