master
zhizou 2019-07-26 11:33:38 +08:00
parent 3b859530e5
commit 6e2d98d86a
2 changed files with 491 additions and 487 deletions

View File

@ -20,10 +20,10 @@ layui.config({
/**今日访问量**/
var elem_nums = $(".media-cont .num");
elem_nums.each(function (i, j) {
let ran = parseInt(Math.random() * 99 + 1);
let ran = parseInt(Math.random() * 1900 + 100); //[100,2000)包括100不包括2000
!new countUp({
target: j,
endVal: 20 * ran
endVal: ran
}).start();
});

View File

@ -95,6 +95,11 @@ layui.define(["element", "jquery"], function (exports) {
left: -tempMove
}, 50);
}
} else {
contEle.animate({
left: 0
}, 50);
//this.navMove("rightmax");
}
/**
@ -362,7 +367,6 @@ layui.define(["element", "jquery"], function (exports) {
break;
}
element.render("tab", filter);
// this.navMove("rightmax");
};
/**