修改首页单词统计方式

This commit is contained in:
ember 2026-01-07 21:10:00 +08:00
parent 4dc3b987e0
commit f937a86510
5 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

2
dist/index.html vendored
View File

@ -1 +1 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>Word Helper</title><script defer="defer" src="/js/chunk-vendors.948130ef.js"></script><script defer="defer" src="/js/app.84eb4970.js"></script><link href="/css/app.ae17f629.css" rel="stylesheet"></head><body><noscript><strong>很抱歉wordhelper 不支持无 JavaScript 环境。请启用 JavaScript 以继续。</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>Word Helper</title><script defer="defer" src="/js/chunk-vendors.948130ef.js"></script><script defer="defer" src="/js/app.0ef90fde.js"></script><link href="/css/app.787f0db4.css" rel="stylesheet"></head><body><noscript><strong>很抱歉wordhelper 不支持无 JavaScript 环境。请启用 JavaScript 以继续。</strong></noscript><div id="app"></div></body></html>

2
dist/js/app.0ef90fde.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -27,7 +27,7 @@
>
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500 dark:text-gray-400">今日学习</p>
<p class="text-sm font-medium text-gray-500 dark:text-gray-400">今日学习单词</p>
<h3 class="text-3xl font-bold text-primary mt-1">
<n-number-animation :from="0" :to="stats.today_count" />
</h3>
@ -50,7 +50,7 @@
>
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500 dark:text-gray-400">本周学习</p>
<p class="text-sm font-medium text-gray-500 dark:text-gray-400">本周学习单词</p>
<h3 class="text-3xl font-bold text-green-600 dark:text-green-400 mt-1">
<n-number-animation :from="0" :to="stats.week_count" />
</h3>
@ -73,7 +73,7 @@
>
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500 dark:text-gray-400">本月学习</p>
<p class="text-sm font-medium text-gray-500 dark:text-gray-400">本月学习单词</p>
<h3 class="text-3xl font-bold text-purple-600 dark:text-purple-400 mt-1">
<n-number-animation :from="0" :to="stats.month_count" />
</h3>
@ -249,7 +249,7 @@ const chartOption = computed(() => {
},
series: [
{
name: '学习数',
name: '学习单词数',
type: 'line',
smooth: true,
showSymbol: false,