楼层图片显示
This commit is contained in:
parent
fab39732c5
commit
bf45e89dcb
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user