From abcd5738347ce317f28e10f81d36965a02019110 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Wed, 18 Nov 2020 09:03:27 +0800 Subject: [PATCH] feat: update visitor count badge --- README.md | 5 ++--- README.zh.md | 5 ++--- src/views/system/index/components/d2-badge/index.vue | 3 +-- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f3f8622a..f8f7facd 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,7 @@

- - + DeepScan grade

@@ -177,7 +176,7 @@ At the same time, you can report your project to us. We will place the excellent ## Visitor -![Total visitor](https://visitor-count-badge.herokuapp.com/total.svg?repo_id=d2-projects.d2-admin) +![Total visitor](https://visitor-badge.glitch.me/badge?page_id=d2-projects.d2-admin) > Total visitor since 2019.08.27 diff --git a/README.zh.md b/README.zh.md index 6f4e9257..bd0b3617 100644 --- a/README.zh.md +++ b/README.zh.md @@ -10,8 +10,7 @@

- - + DeepScan grade

@@ -188,7 +187,7 @@ D2Admin 是完全开源免费的项目,旨在帮助开发者更方便地进行 ## 访问统计 -![](https://visitor-count-badge.herokuapp.com/total.svg?repo_id=d2-projects.d2-admin) +![](https://visitor-badge.glitch.me/badge?page_id=d2-projects.d2-admin) > 自 2019-08-27 起 diff --git a/src/views/system/index/components/d2-badge/index.vue b/src/views/system/index/components/d2-badge/index.vue index 0f8bf9f8..4d3be59c 100644 --- a/src/views/system/index/components/d2-badge/index.vue +++ b/src/views/system/index/components/d2-badge/index.vue @@ -30,8 +30,7 @@ export default { { img: 'https://api.netlify.com/api/v1/badges/a5dd4bbd-da3f-4145-98a9-8012577bdcf5/deploy-status', link: 'https://app.netlify.com/sites/d2-admin/deploys' } ], [ - { img: 'https://visitor-count-badge.herokuapp.com/today.svg?repo_id=d2-projects.d2-admin', link: linkD2Admin }, - { img: 'https://visitor-count-badge.herokuapp.com/total.svg?repo_id=d2-projects.d2-admin', link: linkD2Admin }, + { img: 'https://visitor-badge.glitch.me/badge?page_id=d2-projects.d2-admin', link: linkD2Admin }, { img: 'https://img.shields.io/github/release/d2-projects/d2-admin.svg', link: `${linkD2Admin}/releases` } ] ]