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
+1
View File
@@ -0,0 +1 @@
<?php
Binary file not shown.

After

Width:  |  Height:  |  Size: 479 KiB

+14
View File
@@ -0,0 +1,14 @@
<?php
defined('IN_TS') or die('Access Denied.');
//回到顶部插件
function gotop_html(){
echo '<script type="text/javascript" src="'.SITE_URL.'plugins/pubs/gotop/jquery.goToTop.js"></script>';
}
function gotop_css(){
echo '<link href="'.SITE_URL.'plugins/pubs/gotop/style.css" rel="stylesheet" type="text/css" />';
}
addAction('pub_footer', 'gotop_html');
addAction('pub_header_top', 'gotop_css');
+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();
Binary file not shown.

After

Width:  |  Height:  |  Size: 479 KiB

+4
View File
@@ -0,0 +1,4 @@
/*gotop*/
.cbbfixed {position: fixed;right: 20px;transition: bottom ease .3s;bottom: -85px;z-index: 3;cursor:pointer;}
.cbbfixed .cbbtn {width: 40px;height: 40px;display: block;background-color: #44aff2;border-radius:4px}
.cbbfixed .gotop .up-icon{float:left;margin:14px 0 0 9px;width:23px;height:12px;background: url(side-icon02.png);}