修改样式,添加文档

This commit is contained in:
2025-08-07 20:34:24 +08:00
parent fdab0fd5bb
commit 6bafa4d12d
4 changed files with 77 additions and 3 deletions

View File

@@ -54,11 +54,11 @@ const formatDate = (date: string | Date | null | undefined) => {
<!-- 文章内容布局 -->
<div class="flex flex-row">
<!-- 图片预览区域 -->
<div class="md:w-48 h-32 w-32 mt-2 ml-2 mb-2 md:mr-2 -mr-1 bg-gray-100 dark:bg-gray-700 rounded-xl overflow-hidden">
<div class="w-32 h-32 md:w-40 md:h-40 mt-2 ml-2 mb-2 md:mr-2 -mr-1 bg-gray-100 dark:bg-gray-700 rounded-xl overflow-hidden">
<img
:src="item.img || '/images/default-blog.jpg'"
:alt="item.title"
class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-300"
class="w-full h-full object-contain group-hover:scale-110 transition-transform duration-300"
/>
</div>