begin of thinksaas 3.68

Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2023-06-22 13:33:25 +08:00
commit 963ec1b2ea
2746 changed files with 331806 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
//javascript Document
function chinaz(){
this.init();
}
chinaz.prototype = {
constructor: chinaz,
init: function(){
this._initBackTop();
},
_initBackTop: function(){
var $backTop = this.$backTop = $('<div class="cbbfixed">'+
'<a class="gotop cbbtn">'+
'<span class="up-icon"></span>'+
'</a>'+
'</div>');
$('body').append($backTop);
$backTop.click(function(){
$("html, body").animate({
scrollTop: 0
}, 120);
});
var timmer = null;
$(window).bind("scroll",function() {
var d = $(document).scrollTop(),
e = $(window).height();
0 < d ? $backTop.css("bottom", "10px") : $backTop.css("bottom", "-90px");
clearTimeout(timmer);
timmer = setTimeout(function() {
clearTimeout(timmer)
},100);
});
}
}
var chinaz = new chinaz();