优化网站

This commit is contained in:
MasonLiu committed 2026-09-14 22:06:21 +08:00
1 parent 9bb6e6a41e
commit 0e7265481f
22 files changed
+1071 -238

No files matched your search

+10 -6
View File
@@ -106,12 +106,16 @@ admin_topbar('notice');
?>
<main class="page-main">
<div class="wrap page-body">
<h2 style="margin-bottom:6px">更新公告管理</h2>
<p class="tip">
前台页脚「更新公告」页展示内容:可发布多条公告并<strong>保留历史</strong>,任意一条均可再次编辑。
内容支持超链接,写法 <code>[文字](链接)</code>;站内用相对路径(如 <code>/index.php</code>、<code>/func/index.php</code>),
外链用 <code>https://…</code>,也可直接粘贴网址自动识别。换行会被保留。
</p>
<div class="admin-head">
<div class="ah-main">
<h2 class="ah-title">更新公告管理</h2>
<p class="ah-sub">
前台页脚「更新公告」页展示内容:可发布多条公告并<strong>保留历史</strong>,任意一条均可再次编辑。
内容支持超链接,写法 <code>[文字](链接)</code>;站内用相对路径(如 <code>/index.php</code>、<code>/func/index.php</code>),
外链用 <code>https://…</code>,也可直接粘贴网址自动识别。换行会被保留。
</p>
</div>
</div>
<?php if ($savedFlag): ?>
<script>window.hpToastMsg = <?= json_encode(['kind' => 'ok', 'text' => '公告已保存,前台已同步更新。'], JSON_UNESCAPED_UNICODE | JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP); ?>;</script>