可以看看我的 https://chungzh.cn/ 已经有效了
我的 next 是 6.x.x
找到 next 主题目录下的 busuanzi-counter.swig,修改成:
{% if theme.busuanzi_count.enable %}
<div class="busuanzi-count">
<script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
{% if theme.busuanzi_count.total_visitors %}
<span class="site-uv" title="{{ __('footer.total_visitors') }}">
<i class="fa fa-{{ theme.busuanzi_count.total_visitors_icon }}"></i>
<span class="busuanzi-value" id="busuanzi_value_site_uv"></span>
</span>
{% endif %}
{% if theme.busuanzi_count.total_views %}
<span class="site-pv" title="{{ __('footer.total_views') }}">
<i class="fa fa-{{ theme.busuanzi_count.total_views_icon }}"></i>
<span class="busuanzi-value" id="busuanzi_value_site_pv"></span>
</span>
{% endif %}
</div>
{% endif %}
1
chungzhao OP |
2
unangela 2018-11-08 14:03:50 +08:00
感谢~~改这一行就可以啦
<script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> |