From c767fe4849ad12c16aea554210191027d5880783 Mon Sep 17 00:00:00 2001 From: sky121113 Date: Wed, 18 Mar 2026 15:00:41 +0800 Subject: [PATCH] =?UTF-8?q?[STYLE]=20=E5=84=AA=E5=8C=96=E6=A9=9F=E5=8F=B0?= =?UTF-8?q?=E4=BB=8B=E9=9D=A2=EF=BC=9A=E5=8A=A0=E5=A4=A7=20Tab=20=E5=AD=97?= =?UTF-8?q?=E9=AB=94=E3=80=81=E8=87=AA=E5=AE=9A=E7=BE=A9=E4=B8=8A=E5=82=B3?= =?UTF-8?q?=20UI=E3=80=81=E5=84=AA=E5=8C=96=E9=96=8B=E9=97=9C=E6=B7=B1?= =?UTF-8?q?=E8=89=B2=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basic-settings/machines/edit.blade.php | 28 ++++++++++++--- .../basic-settings/machines/index.blade.php | 34 +++++++++++++++---- 2 files changed, 52 insertions(+), 10 deletions(-) diff --git a/resources/views/admin/basic-settings/machines/edit.blade.php b/resources/views/admin/basic-settings/machines/edit.blade.php index 78879b0..bb76cda 100644 --- a/resources/views/admin/basic-settings/machines/edit.blade.php +++ b/resources/views/admin/basic-settings/machines/edit.blade.php @@ -1,7 +1,7 @@ @extends('layouts.admin') @section('content') -
+
@@ -199,7 +199,7 @@
welcome_gift_enabled ? 'checked' : '' }} class="sr-only peer"> -
+
@@ -211,7 +211,7 @@
member_system_enabled ? 'checked' : '' }} class="sr-only peer"> -
+
@@ -243,7 +243,27 @@
- +

* {{ __('Uploading new images will replace all existing images.') }}

diff --git a/resources/views/admin/basic-settings/machines/index.blade.php b/resources/views/admin/basic-settings/machines/index.blade.php index 40e7b17..75a2c44 100644 --- a/resources/views/admin/basic-settings/machines/index.blade.php +++ b/resources/views/admin/basic-settings/machines/index.blade.php @@ -9,9 +9,13 @@ showEditModelModal: false, currentModel: { name: '' }, modelActionUrl: '', + selectedFileCount: 0, openDetail(machine) { this.currentMachine = machine; this.showDetailDrawer = true; + }, + handleFileChange(e) { + this.selectedFileCount = e.target.files.length; } }"> @@ -39,15 +43,14 @@
-
+ class="flex items-center gap-1 p-1.5 bg-slate-100 dark:bg-slate-900/50 rounded-2xl w-fit border border-slate-200/50 dark:border-slate-800/50"> + class="px-8 py-3 rounded-xl text-sm font-black uppercase tracking-widest transition-all {{ $tab === 'machines' ? 'bg-white dark:bg-slate-800 text-cyan-600 dark:text-cyan-400 shadow-sm shadow-cyan-500/10' : 'text-slate-400 hover:text-slate-600 dark:hover:text-slate-200' }}"> {{ __('Machines') }} + class="px-8 py-3 rounded-xl text-sm font-black uppercase tracking-widest transition-all {{ $tab === 'models' ? 'bg-white dark:bg-slate-800 text-cyan-600 dark:text-cyan-400 shadow-sm shadow-cyan-500/10' : 'text-slate-400 hover:text-slate-600 dark:hover:text-slate-200' }}"> {{ __('Models') }}
@@ -367,8 +370,27 @@ - +