From 01e55e6d822593d300c096a50ff226db5a50430b Mon Sep 17 00:00:00 2001 From: hehh Date: Wed, 26 Nov 2025 00:16:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(analytics):=20=E6=B7=BB=E5=8A=A0=E4=B8=8D?= =?UTF-8?q?=E8=92=9C=E5=AD=90=E7=BB=9F=E8=AE=A1=E6=95=B0=E6=8D=AE=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8C=96=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新不蒜子统计元素 ID 配置 - 实现自动格式化脚本,支持 K/W/M 单位转换 - 添加对 Google 和腾讯分析配置的动态引用 - 替换博客链接为 Twitter 链接并更新图标 - 优化统计数据显示逻辑,处理禁用状态与数字格式化 --- about.html | 84 +++++++++++++++++++++++++++++++++++++++++++++++++--- index.html | 4 +-- js/config.js | 4 +-- 3 files changed, 84 insertions(+), 8 deletions(-) diff --git a/about.html b/about.html index 78d1744..c18aaf2 100644 --- a/about.html +++ b/about.html @@ -120,7 +120,7 @@
- + @@ -155,11 +155,11 @@ Followers
- 0 + 0 Visit num
- 0 + 0 Visitors
@@ -238,7 +238,7 @@
- + @@ -363,5 +363,81 @@ })(); + + + \ No newline at end of file diff --git a/index.html b/index.html index df466a2..c64736b 100644 --- a/index.html +++ b/index.html @@ -392,7 +392,7 @@ \ No newline at end of file diff --git a/js/config.js b/js/config.js index 80bdde8..799e3f4 100644 --- a/js/config.js +++ b/js/config.js @@ -134,8 +134,8 @@ const SiteConfig = { analytics: { busuanzi: { src: '//cdn.busuanzi.cc/busuanzi/3.6.9/busuanzi.abbr.min.js', - site_pv_id: 'busuanzi_value_site_pv', - site_uv_id: 'busuanzi_value_site_uv', + site_pv_id: 'busuanzi_site_pv', + site_uv_id: 'busuanzi_site_uv', formatter: true }, baidu: {