Compare commits
3 Commits
3cb48fd462
...
239bb64e9a
| Author | SHA1 | Date | |
|---|---|---|---|
| 239bb64e9a | |||
| 774954c70b | |||
| a3f8668b60 |
@@ -30,7 +30,6 @@
|
|||||||
{else/}
|
{else/}
|
||||||
<div style="text-align: center; padding: 10%;">暂无数据</div>
|
<div style="text-align: center; padding: 10%;">暂无数据</div>
|
||||||
{/notempty}
|
{/notempty}
|
||||||
<div style=" text-align: center;padding: 10%;">暂无数据</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
@@ -18,7 +18,9 @@
|
|||||||
{notempty name="fn.children"}
|
{notempty name="fn.children"}
|
||||||
{volist name="fn.children" id="fnc"}
|
{volist name="fn.children" id="fnc"}
|
||||||
<p>
|
<p>
|
||||||
<a href="{$fnc.link}" target="_blank" class="inline-block link-faded break-all">{$fnc.name}</a>
|
<a href="{$fnc.link}" {eq name="fnc.link" value="1"}target="_blank"{/eq} class="inline-block link-faded break-all">
|
||||||
|
{$fnc.name}
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
{/volist}
|
{/volist}
|
||||||
{/notempty}
|
{/notempty}
|
||||||
|
|||||||
@@ -101,7 +101,6 @@
|
|||||||
var windowHeight = $(window).height();
|
var windowHeight = $(window).height();
|
||||||
// 监听滚动事件
|
// 监听滚动事件
|
||||||
$(window).scroll(function() {
|
$(window).scroll(function() {
|
||||||
console.log($(this).scrollTop(),windowHeight)
|
|
||||||
// 检查滚动距离是否超过一屏幕高度
|
// 检查滚动距离是否超过一屏幕高度
|
||||||
if ($(this).scrollTop() > windowHeight) {
|
if ($(this).scrollTop() > windowHeight) {
|
||||||
// 如果超过,显示返回顶部按钮
|
// 如果超过,显示返回顶部按钮
|
||||||
|
|||||||
Reference in New Issue
Block a user