reuse form

This commit is contained in:
antv
2026-07-01 16:57:34 +07:00
parent 4e4d03d62a
commit f1858f8f0f
34 changed files with 1273 additions and 681 deletions
@@ -0,0 +1,17 @@
@props(['rows' => 10, 'cols' => 7])
@for ($i = 0; $i < $rows; $i++)
<tr class="animate-pulse h-[69px]">
@for ($j = 0; $j < $cols; $j++)
@if ($j === 1)
<td class="px-6 py-4"><div class="h-4 bg-gray-200 rounded w-48"></div></td>
@elseif ($j === 5)
<td class="px-6 py-4"><div class="h-6 bg-gray-200 rounded-full w-20"></div></td>
@elseif ($j === 6)
<td class="px-6 py-4"><div class="h-8 bg-gray-200 rounded w-20 ml-auto"></div></td>
@else
<td class="px-6 py-4"><div class="h-4 bg-gray-200 rounded w-16"></div></td>
@endif
@endfor
</tr>
@endfor