From a79a3dfa14dd410dafec8f53a92e7ef9a6d7e8fd Mon Sep 17 00:00:00 2001 From: wwl Date: Mon, 15 Apr 2024 17:23:34 +0800 Subject: [PATCH] fix bug --- src/views/home/components/New.vue | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/views/home/components/New.vue b/src/views/home/components/New.vue index 98e593e..55c1dc4 100755 --- a/src/views/home/components/New.vue +++ b/src/views/home/components/New.vue @@ -3,6 +3,7 @@ import { getArticlePage, report, cateFileList, newDataList } from '@/api/daikin/ import { message } from '@/utils/message' import { Swiper, SwiperSlide } from 'swiper/vue' import { Autoplay, Navigation, Pagination, A11y } from 'swiper' +import { isNotOneWeekAgo } from '@/utils' import dayjs from 'dayjs' // import { NCarousel } from 'naive-ui' @@ -208,6 +209,14 @@ fetchNewDataList() > -->
+
@@ -224,7 +233,12 @@ fetchNewDataList() @click="toDetail2(i)" class="text-#142142 truncate text-18px font-bold w-95% no-underline text-#142142 cursor-pointer hover:underline h-16px leading-16px" > - + {{ i.title || '' }}