修改首页单词统计方式
This commit is contained in:
parent
4dc3b987e0
commit
f937a86510
File diff suppressed because one or more lines are too long
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -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
2
dist/js/app.0ef90fde.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
dist/js/app.84eb4970.js
vendored
2
dist/js/app.84eb4970.js
vendored
File diff suppressed because one or more lines are too long
@ -27,7 +27,7 @@
|
|||||||
>
|
>
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between">
|
||||||
<div>
|
<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">
|
<h3 class="text-3xl font-bold text-primary mt-1">
|
||||||
<n-number-animation :from="0" :to="stats.today_count" />
|
<n-number-animation :from="0" :to="stats.today_count" />
|
||||||
</h3>
|
</h3>
|
||||||
@ -50,7 +50,7 @@
|
|||||||
>
|
>
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between">
|
||||||
<div>
|
<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">
|
<h3 class="text-3xl font-bold text-green-600 dark:text-green-400 mt-1">
|
||||||
<n-number-animation :from="0" :to="stats.week_count" />
|
<n-number-animation :from="0" :to="stats.week_count" />
|
||||||
</h3>
|
</h3>
|
||||||
@ -73,7 +73,7 @@
|
|||||||
>
|
>
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between">
|
||||||
<div>
|
<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">
|
<h3 class="text-3xl font-bold text-purple-600 dark:text-purple-400 mt-1">
|
||||||
<n-number-animation :from="0" :to="stats.month_count" />
|
<n-number-animation :from="0" :to="stats.month_count" />
|
||||||
</h3>
|
</h3>
|
||||||
@ -249,7 +249,7 @@ const chartOption = computed(() => {
|
|||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
name: '学习次数',
|
name: '学习单词数',
|
||||||
type: 'line',
|
type: 'line',
|
||||||
smooth: true,
|
smooth: true,
|
||||||
showSymbol: false,
|
showSymbol: false,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user