From 372828a2909c51b95bb9642679f338fbe755f95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Mon, 8 Jul 2024 19:59:04 +0800 Subject: [PATCH] 1.5.6 --- post.php | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/post.php b/post.php index 05eb8b3..98025e8 100644 --- a/post.php +++ b/post.php @@ -1,5 +1,20 @@ need('header.php'); ?> +
    @@ -211,10 +226,12 @@ document.addEventListener('DOMContentLoaded', (event) => { const item = document.createElement('li'); const link = document.createElement('a'); link.href = `#${anchor}`; - link.textContent = `${head.textContent}`; // 标题文本 + link.textContent = `${head.textContent}`; + link.style.textDecoration = 'none'; item.appendChild(link); currentList.appendChild(item); }); }); + need('footer.php'); ?> \ No newline at end of file