添加并更改了一些新特性,优化网页操作逻辑

This commit is contained in:
MasonLiu committed 2026-09-09 01:30:24 +08:00
1 parent e09fc8ae6a
commit c3bfce7afb
11 files changed
+704 -132

No files matched your search

+2 -1
View File
@@ -47,11 +47,12 @@ function layout_head(string $title = ''): void
echo '</head><body>' . "\n";
}
/** 昼夜切换浮动按钮 */
/** 昼夜切换浮动按钮 + 返回顶部按钮(全站页面右下角) */
function layout_theme_fab(): void
{
echo '<button type="button" class="theme-fab js-theme-btn" title="切换昼夜模式" aria-label="切换昼夜模式">';
echo '<span class="js-theme-icon"></span></button>' . "\n";
echo '<button type="button" class="theme-fab to-top js-to-top" title="返回顶部" aria-label="返回顶部">↑</button>' . "\n";
}
/** 站内 logo 图片(内容区使用,同 favicon) */