From 90dd5d065809fd38370aab1b98dc428183b6b3ef Mon Sep 17 00:00:00 2001 From: lonewolfyx <877085893@qq.com> Date: Mon, 13 Jan 2025 14:34:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E4=B8=AD=E6=8E=A7=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/IndexComponents/DataVitals.vue | 79 +++++++++ .../IndexComponents/TodayVisitTrend.vue | 117 +++++++++++++ src/components/IndexComponents/TypeVitals.vue | 83 +++++++++ src/components/IndexComponents/YearVisit.vue | 102 +++++++++++ src/views/index.vue | 158 +++--------------- 5 files changed, 403 insertions(+), 136 deletions(-) create mode 100644 src/components/IndexComponents/DataVitals.vue create mode 100644 src/components/IndexComponents/TodayVisitTrend.vue create mode 100644 src/components/IndexComponents/TypeVitals.vue create mode 100644 src/components/IndexComponents/YearVisit.vue diff --git a/src/components/IndexComponents/DataVitals.vue b/src/components/IndexComponents/DataVitals.vue new file mode 100644 index 0000000..f328169 --- /dev/null +++ b/src/components/IndexComponents/DataVitals.vue @@ -0,0 +1,79 @@ + + + + + {{ dataVitals.month_total }}人 + 本月来访 + + + {{ dataVitals.year_total }}人 + 总年度来访 + + + + + + + + \ No newline at end of file diff --git a/src/components/IndexComponents/TodayVisitTrend.vue b/src/components/IndexComponents/TodayVisitTrend.vue new file mode 100644 index 0000000..b1a0643 --- /dev/null +++ b/src/components/IndexComponents/TodayVisitTrend.vue @@ -0,0 +1,117 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/IndexComponents/TypeVitals.vue b/src/components/IndexComponents/TypeVitals.vue new file mode 100644 index 0000000..787c80c --- /dev/null +++ b/src/components/IndexComponents/TypeVitals.vue @@ -0,0 +1,83 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/IndexComponents/YearVisit.vue b/src/components/IndexComponents/YearVisit.vue new file mode 100644 index 0000000..20459ca --- /dev/null +++ b/src/components/IndexComponents/YearVisit.vue @@ -0,0 +1,102 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/index.vue b/src/views/index.vue index 6e637ef..513d798 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1,147 +1,33 @@ + + + + + + + + + + + + + + + + + - - \ No newline at end of file