From 96acbae63ffd2624d98f85cfc6e7dfae09c2eaab Mon Sep 17 00:00:00 2001 From: zhaoolee Date: Tue, 6 Oct 2020 13:10:37 +0800 Subject: [PATCH] zhaoolee commit --- loading.jpg => img/loading.jpg | Bin index.html | 11 +++-------- 2 files changed, 3 insertions(+), 8 deletions(-) rename loading.jpg => img/loading.jpg (100%) diff --git a/loading.jpg b/img/loading.jpg similarity index 100% rename from loading.jpg rename to img/loading.jpg diff --git a/index.html b/index.html index e42ecc91..e3aa01cf 100644 --- a/index.html +++ b/index.html @@ -75,20 +75,16 @@ function bqb_lazyload(){ - //  启用lazyload - + //  启用lazyload $("img.lazy").lazyload({ // 可以代替img里面src属性中的值 // placehoder:"img/viper_1.jpg" // // 图片载入时的效果 - placeholder:"loading.jpg", + placeholder:"img/loading.jpg", effect: "fadeIn" }); - - - } @@ -128,7 +124,7 @@ data-src='${chinesebqb_v2fy_data[m]["url"]}' - + src='img/loading.jpg' @@ -166,7 +162,6 @@ $("#bqb_key").val(key_val); // 完成初始化 - jQuery.get("./chinesebqb_v2fy.json", chinesebqb_v2fy => { console.log("chinesebqb_v2fy==>>", chinesebqb_v2fy);