楼层图片显示

This commit is contained in:
xing 2023-09-25 17:13:05 +08:00
parent fab39732c5
commit bf45e89dcb

View File

@ -27,7 +27,7 @@
imgs.forEach(value => { imgs.forEach(value => {
let h = value.dataset.url.replace('tiebapic', 'imgsrc').replace('tiebapic', 'imgsrc'); let h = value.dataset.url.replace('tiebapic', 'imgsrc').replace('tiebapic', 'imgsrc');
if (h.indexOf('http://') === 0) { if (h.indexOf('http://') === 0) {
h = 'https://image.baidu.com/search/down?url=' + h; //h = 'https://image.baidu.com/search/down?url=' + h;
} }
let tmp = decodeURIComponent(h.split('&src=')[1]).split('/'); let tmp = decodeURIComponent(h.split('&src=')[1]).split('/');
tmp = tmp[tmp.length - 1]; tmp = tmp[tmp.length - 1];