From 38e25bf88a6f701ccf1a54432d434136ba4c5aa2 Mon Sep 17 00:00:00 2001
From: Cxx0822 <1556464090@qq.com>
Date: Sun, 24 Aug 2025 16:01:45 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E4=BF=AE=E5=A4=8D=E7=BA=AA=E5=BF=B5?=
=?UTF-8?q?=E6=97=A5=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Home/Anniversary/AnniversaryCard.vue | 3 +-
.../Home/Anniversary/AnniversaryList.vue | 32 -------------------
.../Home/Anniversary/CategoryCard.vue | 7 ++--
src/components/Home/Bill/BillChart.vue | 3 ++
src/utils/home/anniversaryUtil.ts | 4 +--
src/views/mobile-home/profile/index.vue | 16 ++++++++++
6 files changed, 24 insertions(+), 41 deletions(-)
delete mode 100644 src/components/Home/Anniversary/AnniversaryList.vue
diff --git a/src/components/Home/Anniversary/AnniversaryCard.vue b/src/components/Home/Anniversary/AnniversaryCard.vue
index 20afae4..f42268c 100644
--- a/src/components/Home/Anniversary/AnniversaryCard.vue
+++ b/src/components/Home/Anniversary/AnniversaryCard.vue
@@ -29,7 +29,6 @@ import { defineProps, PropType } from 'vue'
import { useRouter } from 'vue-router'
import { useAnniversaryStore } from '@/store/anniversary.ts'
import { IAnniversary } from '@/types/anniversary.ts'
-import { isMobile } from 'vue3-common/utils/layoutUtil'
import { getAnniversaryRemainDays } from '@/utils/home/anniversaryUtil'
const router = useRouter()
@@ -45,7 +44,7 @@ const props = defineProps({
const selectDateCardClick = async () => {
anniversaryStore.anniversaryApiType = 'UPDATE'
- if (isMobile() && props.dateItem?.category !== '节假日') {
+ if (props.dateItem?.category !== '节假日') {
anniversaryStore.currentAnniversary = props.dateItem as IAnniversary
const { id } = anniversaryStore.currentAnniversary
await router.push({ name: 'MobileHomeAnniversaryDetailId', params: { id } })
diff --git a/src/components/Home/Anniversary/AnniversaryList.vue b/src/components/Home/Anniversary/AnniversaryList.vue
deleted file mode 100644
index b2638ee..0000000
--- a/src/components/Home/Anniversary/AnniversaryList.vue
+++ /dev/null
@@ -1,32 +0,0 @@
-
-