feat(admin): 添加评论数据看板功能

- 新增数据看板页面,展示评论统计信息
- 添加 echarts 依赖用于数据可视化
- 实现后端统计接口,包括总数、按域名和最近7天数据
- 完善前端统计页面样式和交互
- 更新文档说明和版本更新指南
This commit is contained in:
anghunk
2026-01-21 13:30:59 +08:00
parent ff3fa138da
commit 943225cc7f
10 changed files with 592 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ import LayoutView from '../views/LayoutView.vue';
import CommentsView from '../views/CommentsView.vue';
import SettingsView from '../views/SettingsView.vue';
import DataView from '../views/DataView.vue';
import StatsView from '../views/StatsView.vue';
const routes: RouteRecordRaw[] = [
{
@@ -24,6 +25,11 @@ const routes: RouteRecordRaw[] = [
name: 'comments',
component: CommentsView
},
{
path: 'stats',
name: 'stats',
component: StatsView
},
{
path: 'settings',
name: 'settings',
@@ -55,4 +61,3 @@ router.beforeEach((to, from, next) => {
}
next();
});