upload plugin
This commit is contained in:
21
Last_Volatility/hook/footer_js_after.htm
Normal file
21
Last_Volatility/hook/footer_js_after.htm
Normal file
@@ -0,0 +1,21 @@
|
||||
<script>
|
||||
// 监听滚动事件,判断滚动方向
|
||||
var Before_scollH = 0
|
||||
var header_phone = $("header.header_phone")
|
||||
var header_phonex = $("header.header_phone ul:first-child")
|
||||
$(window).on('scroll', function () {
|
||||
var After_scollH = $(window).scrollTop()
|
||||
var differH = After_scollH - Before_scollH
|
||||
if (differH == 0) { return false }
|
||||
if (differH > 0) {
|
||||
if ($(document).scrollTop() < 50) { return false }
|
||||
$('nav').removeClass('shrink');
|
||||
} else {
|
||||
//if (document.documentElement.scrollHeight-document.documentElement.scrollTop-document.documentElement.clientHeight < 50) { return false }
|
||||
if ($(document).height() - $(document).scrollTop() - $(window).height() < 50) { return false }
|
||||
$('nav').addClass('shrink');
|
||||
}
|
||||
Before_scollH = After_scollH
|
||||
})
|
||||
</script>
|
||||
<script src="plugin/Last_Volatility/view/js/user.js?v11" type="text/javascript"></script>
|
1
Last_Volatility/hook/forum_start.htm
Normal file
1
Last_Volatility/hook/forum_start.htm
Normal file
@@ -0,0 +1 @@
|
||||
<?php include _include(APP_PATH.'plugin/Last_Volatility/view/htm/nav.htm');?>
|
3
Last_Volatility/hook/header_link_after.htm
Normal file
3
Last_Volatility/hook/header_link_after.htm
Normal file
@@ -0,0 +1,3 @@
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<link rel="stylesheet" href="plugin/Last_Volatility/view/css/style.css?v10s">
|
1
Last_Volatility/hook/index_start.htm
Normal file
1
Last_Volatility/hook/index_start.htm
Normal file
@@ -0,0 +1 @@
|
||||
<?php include _include(APP_PATH.'plugin/Last_Volatility/view/htm/nav.htm');?>
|
3
Last_Volatility/hook/post_list_inc_filelist_after.htm
Normal file
3
Last_Volatility/hook/post_list_inc_filelist_after.htm
Normal file
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
<span class="date text-grey"><?php echo $_post['create_date_fmt'];?></span>
|
||||
</div>
|
11
Last_Volatility/hook/thread_username_before.htm
Normal file
11
Last_Volatility/hook/thread_username_before.htm
Normal file
@@ -0,0 +1,11 @@
|
||||
<a class="user_avatar" href='<?php echo url("user-$thread[uid]");?>' tabindex="-1">
|
||||
<img class="avatar-3 mr-3" src="<?php echo $thread['user_avatar_url'];?>">
|
||||
</a>
|
||||
<div>
|
||||
<div class="a">
|
||||
<span class="username">
|
||||
<a href="<?php echo url("user-$thread[uid]");?>"
|
||||
class="text-muted font-weight-bold"><?php echo $thread['username'];?></a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="b">
|
2
Last_Volatility/hook/thread_views_after.htm
Normal file
2
Last_Volatility/hook/thread_views_after.htm
Normal file
@@ -0,0 +1,2 @@
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user