feat: update
This commit is contained in:
@@ -33,7 +33,7 @@ const showArticle = (article) => {
|
|||||||
<div class="bg-white rounded-lg shadow overflow-hidden hover:shadow transition-all cursor-pointer"
|
<div class="bg-white rounded-lg shadow overflow-hidden hover:shadow transition-all cursor-pointer"
|
||||||
@click="showArticle(article)">
|
@click="showArticle(article)">
|
||||||
<div v-if="article.head_images && article.head_images.length > 0" class="w-full h-32 bg-gray-200">
|
<div v-if="article.head_images && article.head_images.length > 0" class="w-full h-32 bg-gray-200">
|
||||||
<img :src="article.head_images[0]" class="mask-b-from-50% w-full h-full object-cover "
|
<img :src="article.head_images[0]" class="mask-b-from-50% w-full h-full object-cover brightness-50"
|
||||||
:alt="article.title" />
|
:alt="article.title" />
|
||||||
</div>
|
</div>
|
||||||
<div class="p-4">
|
<div class="p-4">
|
||||||
|
|||||||
Reference in New Issue
Block a user