From 37af4ba97552e6186b420123c6425b430efc789e Mon Sep 17 00:00:00 2001 From: lkddi Date: Sun, 1 Mar 2026 15:23:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E5=A9=9A=E5=A7=BB?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=80=BB=E8=A7=88=E9=A1=B5=20Tailwind=20v4?= =?UTF-8?q?=20=E5=8A=A8=E6=80=81=E7=B1=BB=E6=97=A0=E6=B3=95=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 「婚礼档位」按钮改用 style 内联颜色(bg-pink-600 未被扫描) - 快捷入口4张卡片 hover 颜色改为完整静态类名 (Tailwind v4 无法扫描动态拼接 bg-xx / text-xx) - npm run build 验证已生效 --- .../views/admin/marriages/index.blade.php | 32 +++++++++++++------ 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/resources/views/admin/marriages/index.blade.php b/resources/views/admin/marriages/index.blade.php index cbd9ca3..75fa4a1 100644 --- a/resources/views/admin/marriages/index.blade.php +++ b/resources/views/admin/marriages/index.blade.php @@ -23,8 +23,8 @@ class="bg-indigo-600 text-white px-4 py-2 rounded-lg text-sm font-bold hover:bg-indigo-700 transition"> ⚙️ 参数配置 - + 🎊 婚礼档位 @@ -66,14 +66,26 @@ {{-- 快捷入口 --}}
- @foreach ([['route' => 'admin.marriages.list', 'icon' => '📋', 'label' => '婚姻列表', 'color' => 'blue'], ['route' => 'admin.marriages.proposals', 'icon' => '💌', 'label' => '求婚记录', 'color' => 'amber'], ['route' => 'admin.marriages.ceremonies', 'icon' => '🎊', 'label' => '婚礼红包', 'color' => 'pink'], ['route' => 'admin.marriages.intimacy-logs', 'icon' => '💞', 'label' => '亲密度日志', 'color' => 'purple']] as $item) - - {{ $item['icon'] }} - {{ $item['label'] }} - - @endforeach + + 📋 + 婚姻列表 + + + 💌 + 求婚记录 + + + 🎊 + 婚礼红包 + + + 💞 + 亲密度日志 +
{{-- 最近已婚 --}}