feat: update

This commit is contained in:
Rogee
2025-05-14 19:39:15 +08:00
parent 291c83d028
commit 2a2b68b579

View File

@@ -33,7 +33,7 @@ const showArticle = (article) => {
<div class="bg-white rounded-xl shadow-sm overflow-hidden hover:shadow-md transition-shadow duration-200 cursor-pointer"
@click="showArticle(article)">
<div v-if="article.head_images && article.head_images.length > 0"
class="relative w-full pb-[40%] bg-gray-100 overflow-hidden">
class="relative w-full h-32 bg-gray-100 overflow-hidden">
<img :src="article.head_images[0]"
class="absolute inset-0 w-full h-full object-cover transition-transform duration-300 hover:scale-105"
:alt="article.title" />