🧹 简化所有文件表格行样式

This commit is contained in:
2026-06-05 13:16:08 +08:00
parent 0a3246dcb4
commit df6b99961f
3 changed files with 22 additions and 63 deletions
+9 -3
View File
@@ -7,8 +7,11 @@
{{ title }}
</h3>
</div>
<div class="overflow-x-auto px-3 pb-3">
<table class="min-w-full border-separate border-spacing-y-3">
<div class="overflow-x-auto">
<table
class="min-w-full divide-y"
:class="[isDarkMode ? 'divide-[#31454d]' : 'divide-[#d7e3e5]']"
>
<thead>
<tr>
<th v-for="header in headers" :key="header"
@@ -18,7 +21,10 @@
</th>
</tr>
</thead>
<tbody>
<tbody
class="divide-y"
:class="[isDarkMode ? 'divide-[#31454d]/70' : 'divide-[#d7e3e5]/80']"
>
<slot name="body"></slot>
</tbody>
</table>