移除 busuanzi 的访问次数显示模式 配置项

This commit is contained in:
j m 2024-12-25 20:23:55 +08:00
parent 9a209ba84f
commit 1fa9c7977a
2 changed files with 2 additions and 19 deletions

View File

@ -1466,10 +1466,6 @@ spec:
- $formkit: group
name: busuanzi_group
label: busuanzi 访客统计
value:
enable_gray_mode: false
gray_mode_start_time:
gray_mode_end_time:
children:
- $formkit: radio
name: enable_busuanzi
@ -1484,19 +1480,6 @@ spec:
label: 隐藏
- value: false
label: 关闭
- $formkit: radio
name: busuanzi_pv_use_halo
if: $get(enable_busuanzi).value === true
label: busuanzi 的访问次数显示模式
help: '可以择优选择统计次数的显示。'
value: busuanzi
options:
- value: halo
label: Halo统计
- value: busuanzi
label: busuanzi统计
- value: false
label: 不显示
- $formkit: radio
name: enable_console_version_info
label: 控制台打印版本信息

View File

@ -28,8 +28,8 @@
<span id="busuanzi_container_site_uv" style="display: none">
<i class="ri-account-circle-line" aria-hidden="true"></i><span class="stand" id="busuanzi_value_site_uv">0</span>访客
</span>
<span th:unless="${theme.config.enhance.busuanzi_group.busuanzi_pv_use_halo == false}" id="busuanzi_container_site_pv" style="display: none">
<i class="ri-pie-chart-line" aria-hidden="true"></i><span class="stand" th:id="${theme.config.enhance.busuanzi_group.busuanzi_pv_use_halo == 'busuanzi' ? 'busuanzi_value_site_pv' : 'halo_value_site_pv'}">[[${stats.visit}]]</span>访问
<span id="busuanzi_container_site_pv" style="display: none">
<i class="ri-pie-chart-line" aria-hidden="true"></i><span class="stand" id="busuanzi_value_site_pv">0</span>访问
</span>
</span>
</p>