From 1141486129fbc7f6e7f7126819e5a8876fcbeac4 Mon Sep 17 00:00:00 2001 From: li Date: Sat, 14 Mar 2026 21:32:59 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=E9=A6=96=E9=A1=B5=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=9B=BE=E6=A0=87=E6=94=B9=E5=9B=9Eemoji=EF=BC=8C?= =?UTF-8?q?=E8=A7=84=E9=81=BFVite=E5=8A=A8=E6=80=81class=20tree-shake?= =?UTF-8?q?=E9=97=AE=E9=A2=98"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 1080f6bd2cd4b401e09934c0f09b169f42cf358a. --- client/src/views/home/index.vue | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/client/src/views/home/index.vue b/client/src/views/home/index.vue index e9839bf..62a21dc 100644 --- a/client/src/views/home/index.vue +++ b/client/src/views/home/index.vue @@ -34,12 +34,12 @@ const checkinDays = computed(() => { }) const features = [ - { label: '月子餐', bg: '#fff0f4', icon: '🍲', path: '/meal' }, - { label: '护理记录', bg: '#fffbeb', icon: '📋', path: '/care/records' }, - { label: '健康档案', bg: '#f0fdf4', icon: '💊', path: '/grow' }, - { label: '服务包', bg: '#eff6ff', icon: '🛁', path: '/service/orders' }, - { label: '我的月嫂', bg: '#f5f3ff', icon: '👩', path: '/nanny' }, - { label: '账户余额', bg: '#fff7ed', icon: '💳', path: '/account' }, + { label: '月子餐', bg: '#fff0f4', color: '#f43f5e', icon: 'fire-o', path: '/meal' }, + { label: '护理记录', bg: '#fffbeb', color: '#f59e0b', icon: 'notes-o', path: '/care/records' }, + { label: '健康档案', bg: '#f0fdf4', color: '#10b981', icon: 'records-o', path: '/grow' }, + { label: '服务包', bg: '#eff6ff', color: '#3b82f6', icon: 'gift-o', path: '/service/orders' }, + { label: '我的月嫂', bg: '#f5f3ff', color: '#8b5cf6', icon: 'manager-o', path: '/nanny' }, + { label: '账户余额', bg: '#fff7ed', color: '#f97316', icon: 'balance-o', path: '/account' }, ] const today = new Date().toLocaleDateString('zh-CN', { year: 'numeric', month: 'long', day: 'numeric' }) @@ -95,7 +95,7 @@ const today = new Date().toLocaleDateString('zh-CN', { year: 'numeric', month: ' @click="router.push(f.path)" >
- {{ f.icon }} +
{{ f.label }} @@ -258,7 +258,6 @@ const today = new Date().toLocaleDateString('zh-CN', { year: 'numeric', month: ' display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0,0,0,0.08); } -.feat-icon { font-size: 24px; line-height: 1; } .feat-label { font-size: 12px; font-weight: 600; color: #374151; text-align: center; } /* ── Schedule Card ── */