upload plugin

This commit is contained in:
2019-12-18 13:38:56 +08:00
parent 75dffd5066
commit 0b37306d06
47 changed files with 1719 additions and 0 deletions

View 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>

View File

@@ -0,0 +1 @@
<?php include _include(APP_PATH.'plugin/Last_Volatility/view/htm/nav.htm');?>

View 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">

View File

@@ -0,0 +1 @@
<?php include _include(APP_PATH.'plugin/Last_Volatility/view/htm/nav.htm');?>

View File

@@ -0,0 +1,3 @@
<div>
<span class="date text-grey"><?php echo $_post['create_date_fmt'];?></span>
</div>

View 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">

View File

@@ -0,0 +1,2 @@
</div>
</div>