Commit 8c61b358 by libai

ft活动上线

parent 80ea13d3
Showing with 17 additions and 0 deletions
......@@ -167,6 +167,7 @@ $(function(){
$(".rule-btn").attr("src","images/en/rule-btn.png")
}
showLazy1()
showLazy()
if(Math.random()>0.5){
$(".mc-box").hide()
......@@ -211,6 +212,22 @@ $(function(){
var ImgNum2=0
var showT1=null
var showT2=null
function showLazy1(){
var imgList = [];
var num = 0;
loadImage()
function loadImage() {
var img = new Image();
img.addEventListener("load", loadHandler);
img.src = "images/s1/未抽奖_" + imgAdd(num) + ".png";
}
function loadHandler() {
imgList.push(this.cloneNode());
num++;
if (num > 49) { return; }
this.src = "images/s1/未抽奖_" + imgAdd(num) + ".png";
}
}
function showLazy(){
var imgList = [];
var num = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment