Browse Source

feat: 优化 ImageEvo 组件的加载效果,调整首页横幅和离线活动列表的查询参数

EvilDragon 3 months ago
parent
commit
ae4d9add7e

+ 1 - 1
packages/app/src/components/image-evo.vue

@@ -5,7 +5,7 @@ const visible = ref(false)
 const imgClass = ref('blur-lg transition duration-500 hover:blur-none')
 const handleLoad = async () => {
   visible.value = true
-  imgClass.value = 'transition duration-500 hover:blur-none'
+  imgClass.value = 'transition duration-500'
   nextTick(() => {
     emits('displayed')
   })

+ 0 - 1
packages/app/src/pages/home/components/home-banner.vue

@@ -1,6 +1,5 @@
 <script setup lang="ts">
 import ImageEvo from '@/components/image-evo.vue'
-import { updateSetIndexConfig } from '@/core/libs/requests'
 import { unix } from 'dayjs'
 
 const props = withDefaults(

+ 1 - 1
packages/app/src/pages/home/offline-activity/list/index.vue

@@ -33,7 +33,7 @@ onMounted(async () => {
     <PageHelper
       v-if="tabs.length"
       :request="getActivities"
-      :query="{ activityType: tabs[tab].value }"
+      :query="{ activityType: tabs[tab].value, showStatus: 1 }"
       class="flex flex-col flex-grow"
     >
       <template #default="{ source }">