hookehuyr

style: 移除MyActivitiesPage.vue中的冗余样式并调整ActivityCard.vue的布局

移除MyActivitiesPage.vue中的`space-y-4`样式,以避免不必要的间距。同时,在ActivityCard.vue中添加`block mb-4`类,以确保卡片之间的间距一致。
1 <!-- 1 <!--
2 * @Date: 2025-03-20 20:36:36 2 * @Date: 2025-03-20 20:36:36
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-03-21 15:37:21 4 + * @LastEditTime: 2025-03-21 17:21:45
5 * @FilePath: /mlaj/src/components/ui/ActivityCard.vue 5 * @FilePath: /mlaj/src/components/ui/ActivityCard.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
8 <template> 8 <template>
9 - <router-link :to="`/activities/${activity.id}`"> 9 + <router-link :to="`/activities/${activity.id}`" class="block mb-4">
10 <FrostedGlass class="flex overflow-hidden rounded-xl shadow-sm"> 10 <FrostedGlass class="flex overflow-hidden rounded-xl shadow-sm">
11 <!-- Activity Image --> 11 <!-- Activity Image -->
12 <div class="w-1/3 h-28 relative"> 12 <div class="w-1/3 h-28 relative">
......
1 <!-- 1 <!--
2 * @Date: 2025-03-21 11:47:47 2 * @Date: 2025-03-21 11:47:47
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-03-21 11:47:48 4 + * @LastEditTime: 2025-03-21 17:21:32
5 * @FilePath: /mlaj/src/views/activities/MyActivitiesPage.vue 5 * @FilePath: /mlaj/src/views/activities/MyActivitiesPage.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
13 :finished="finished" 13 :finished="finished"
14 finished-text="没有更多了" 14 finished-text="没有更多了"
15 @load="onLoad" 15 @load="onLoad"
16 - class="px-4 py-3 space-y-4" 16 + class="px-4 py-3"
17 > 17 >
18 <ActivityCard 18 <ActivityCard
19 v-for="activity in activities" 19 v-for="activity in activities"
......