修改产品列表高度不一致问题
This commit is contained in:
parent
907b198b35
commit
e7808a87fa
@ -67,7 +67,7 @@
|
||||
<div class="container mx-auto px-4 py-8 md:py-16 flex flex-wrap">
|
||||
<div v-for="(news, index) in allProsList" :key="'all-'+index" class="newsBox2 min-h-[200px] md:min-h-[300px] h-auto md:w-1/5 md:h-[330px] flex flex-col md:flex-row flex-wrap items-start md:items-center p-4 md:p-[20px] mb-8 md:mb-12 border-b border-gray-200">
|
||||
<NuxtLink :to="'/product/' + news.id" target="_blank" class="text-[#0c1923] md:h-[300px] flex flex-col ">
|
||||
<img :src="news.image" class="news2g10 w-full md:h-full object-cover rounded-lg" alt="News thumbnail" />
|
||||
<img :src="news.image" class="news2g10 w-full h-full md:min-h-[300px] object-cover rounded-lg" alt="News thumbnail" />
|
||||
<div class="newsTit2 w-full pr-0 md:pr-6 mb-4 md:mb-0">
|
||||
<h4 class="text-gray-600 text-base md:text-lg line-clamp-2 text-center">
|
||||
{{ getCurrentLanguage() == 'zh' ? news.title : (news.en_title || news.title) }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user