測試
This commit is contained in:
allen.yan 2025-07-29 17:01:08 +08:00
parent c7564bcc46
commit 1f9c3ce7eb

View File

@ -44,15 +44,15 @@
<div wire:poll.5s>
<div class="grid grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-4">
@forelse($rooms as $room)
<template x-if="floor == '{{ $room->floor }}' && (type == 'all' || type == '{{ $room->type }}')">
<div>
<div x-show="floor == '{{ $room->floor }}' && (type == 'all' || type == '{{ $room->type }}')" x-transition class="transition-all duration-300">
@if($room->type->value === \App\Enums\RoomType::SVR->value)
<x-room-card-svr :room="$room" />
@else
<x-room-card :room="$room" />
@endif
</div>
</template>
@empty
<div class="col-span-full text-center text-gray-500">尚無包廂資料</div>
@endforelse