lint --fix
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
loading="lazy"
|
||||
sizes="100vw sm:50vw md:33vw"
|
||||
/>
|
||||
|
||||
|
||||
<!-- 渐变遮罩 -->
|
||||
<!-- <div class="absolute inset-0 bg-gradient-to-r from-black/60 via-black/40 to-transparent"></div> -->
|
||||
|
||||
|
||||
<!-- 内容区域 -->
|
||||
<!-- <div class="absolute inset-0 flex items-center justify-start p-8">
|
||||
<div class="max-w-2xl">
|
||||
@@ -36,5 +36,3 @@
|
||||
</div> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
|
@@ -38,8 +38,6 @@ const formatDate = (date: string | Date | null | undefined) => {
|
||||
<template>
|
||||
<div class="w-full bg-gray-50 dark:bg-gray-900 min-h-screen mt-4">
|
||||
<div class="max-w-4xl mx-auto ">
|
||||
|
||||
|
||||
<!-- 文章列表 -->
|
||||
<div class="space-y-6 w-full">
|
||||
<NuxtLink
|
||||
@@ -55,13 +53,13 @@ const formatDate = (date: string | Date | null | undefined) => {
|
||||
<div class="flex flex-row">
|
||||
<!-- 图片预览区域 -->
|
||||
<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'"
|
||||
<img
|
||||
:src="item.img || '/images/default-blog.jpg'"
|
||||
:alt="item.title"
|
||||
class="w-full h-full object-contain group-hover:scale-110 transition-transform duration-300"
|
||||
/>
|
||||
>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 文字内容区域 -->
|
||||
<div class="flex-1 p-4 md:p-6">
|
||||
<!-- 文章头部 -->
|
||||
|
Reference in New Issue
Block a user