()
| 21 | } |
| 22 | |
| 23 | function ilazyload(){ |
| 24 | $("img.lazy").lazyload({ |
| 25 | effect: "fadeIn", // 载入使用何种效果 |
| 26 | threshold: 200, // 提前开始加载 |
| 27 | container: $(".manual-right"), // 对某容器中的图片实现效果 |
| 28 | failurelimit : 0, // 图片排序混乱时 |
| 29 | skip_invisible: false, |
| 30 | appear:function(ele,settings) { |
| 31 | $(this).attr("src", $(this).attr("data-original")) |
| 32 | }, |
| 33 | }); |
| 34 | } |
| 35 | |
| 36 | function show_copy_btn() { |
| 37 | var btn="<button class='btn btn-danger btn-sm btn-copy'><i class='fa fa-copy'></i> 复制代码</button>"; |
no test coverage detected