From 119f411a2789a2aa161e7010117cabb55bbcb213 Mon Sep 17 00:00:00 2001 From: kennethcheng Date: Mon, 27 Apr 2026 14:00:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BA=94=E7=94=A8=20MDX=20=E5=B9=B6?= =?UTF-8?q?=E6=B8=B2=E6=9F=93=E7=B2=BE=E7=BE=8E=E6=95=B0=E6=8D=AE=E7=9C=8B?= =?UTF-8?q?=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DEV_LOG.md | 1 + src/content/docs/test.md | 14 -------------- src/content/docs/test.mdx | 31 +++++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 14 deletions(-) delete mode 100644 src/content/docs/test.md create mode 100644 src/content/docs/test.mdx diff --git a/DEV_LOG.md b/DEV_LOG.md index c4e5740..96fcfc0 100644 --- a/DEV_LOG.md +++ b/DEV_LOG.md @@ -7,3 +7,4 @@ Task 7: BaseLayout 闭环 Task 8 修正:已通过替换 @tailwindcss/vite 解决配置文件路径问题,构建成功。 核心渲染系统闭环成功 Task 10: MDX 生态集成完毕 +Task 11: 现代表格组件 ModernTable 构建完成 diff --git a/src/content/docs/test.md b/src/content/docs/test.md deleted file mode 100644 index b333b3b..0000000 --- a/src/content/docs/test.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: "极致渲染测试" ---- -# 欢迎来到我的文档 - -测试一个数学公式: -$$ -E = mc^2 -$$ - -测试代码高亮: -```javascript -console.log("Hello Astro!"); -``` diff --git a/src/content/docs/test.mdx b/src/content/docs/test.mdx new file mode 100644 index 0000000..6d423c2 --- /dev/null +++ b/src/content/docs/test.mdx @@ -0,0 +1,31 @@ +--- +title: "API 数据面板看板" +--- +import ModernTable from '../../components/ModernTable.astro'; + +# 模型消耗统计报告 + +以下是今日各模型的 Token 消耗与计费统计(采用精美组件渲染): + + + + 厂商与模型 + 输入费用 (元) + 输出费用 (元) + 总费用 (元) + + + + 🚀 DeepSeek-V4-Flash + 0.72 + 0.16 + 0.88 + + + ☁️ Qwen3.6-Plus + 1.45 + 0.94 + 2.39 + + +