Commit 3459fc6b authored by shilei's avatar shilei

fix: 首页资源图片显示

parent 6cd9aac0
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
class="relative w-[272px] cursor-pointer" class="relative w-[272px] cursor-pointer"
@click="toDetail(item)" @click="toDetail(item)"
> >
<img class="h-[205px] w-[272px] rounded-sm" :src="item.imgUrl" alt="" /> <CommonImage class="h-[205px] w-[272px] rounded-sm" :src="item.imgUrl" alt="" />
<span <span
v-if="item.isSuper" v-if="item.isSuper"
class="absolute left-0 top-0 block rounded-tl-sm bg-[#C0322B] px-3 text-sm font-semibold leading-[26px] text-white" class="absolute left-0 top-0 block rounded-tl-sm bg-[#C0322B] px-3 text-sm font-semibold leading-[26px] text-white"
...@@ -317,7 +317,7 @@ import { useJump } from '@/composable/useJump.ts'; ...@@ -317,7 +317,7 @@ import { useJump } from '@/composable/useJump.ts';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { isEmpty, uniqueId } from 'lodash-es'; import { isEmpty, uniqueId } from 'lodash-es';
import type { HeaderMenuItem } from '@/types/common'; import type { HeaderMenuItem } from '@/types/common';
// import CommonImage from '@/components/common/CommonImage.vue'; import CommonImage from '@/components/common/CommonImage.vue';
import { filterAddress, formatNumber } from '@/utils/filters.ts'; import { filterAddress, formatNumber } from '@/utils/filters.ts';
import ListInfo from '@/components/list/ListInfo.vue'; import ListInfo from '@/components/list/ListInfo.vue';
import { useMessage } from '@/composable/useMessage.ts'; import { useMessage } from '@/composable/useMessage.ts';
...@@ -627,10 +627,6 @@ watchEffect(async () => { ...@@ -627,10 +627,6 @@ watchEffect(async () => {
border-radius: 4px; border-radius: 4px;
} }
.home-media { .home-media {
.el-image {
width: 165px;
height: 124px;
}
.text-xl { .text-xl {
font-size: 18px; font-size: 18px;
width: 180px; width: 180px;
...@@ -638,11 +634,6 @@ watchEffect(async () => { ...@@ -638,11 +634,6 @@ watchEffect(async () => {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }
.ell2 {
-webkit-line-clamp: 1;
width: 272px;
display: block;
}
.mt-\[17px\] { .mt-\[17px\] {
margin-top: 6px; margin-top: 6px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment