From d078627e08aaeef0eb47124fd57aa4363fd908d0 Mon Sep 17 00:00:00 2001
From: WindowBird <13870814+windows-bird@user.noreply.gitee.com>
Date: Fri, 19 Sep 2025 10:55:38 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=B4=BB=E5=8A=A8=E5=8D=A1?=
=?UTF-8?q?=E7=89=87=E7=9A=84=E5=A4=87=E9=80=89=E8=83=8C=E6=99=AF=E5=9B=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/activity-card/activity-card.vue | 400 +++++++++++----------
utils/activity-data-formatter.js | 3 +-
2 files changed, 207 insertions(+), 196 deletions(-)
diff --git a/components/activity-card/activity-card.vue b/components/activity-card/activity-card.vue
index e5889ac..98ab76a 100644
--- a/components/activity-card/activity-card.vue
+++ b/components/activity-card/activity-card.vue
@@ -1,7 +1,7 @@
-
+
{{ activity.name }}
@@ -9,8 +9,8 @@
@@ -29,13 +29,13 @@
-
+
{{ statusText }}
-
+
活动时间:
{{ activity.time }}
@@ -45,16 +45,19 @@
立即报名
-
+
地点:
{{ activity.location }}
@@ -64,228 +67,235 @@
diff --git a/utils/activity-data-formatter.js b/utils/activity-data-formatter.js
index 9750c01..987549a 100644
--- a/utils/activity-data-formatter.js
+++ b/utils/activity-data-formatter.js
@@ -37,7 +37,8 @@ export default {
),
time: this.formatActivityTime(item.actStartTime, item.actEndTime),
location: item.address || "",
- backgroundImage: item.imgUrl || this.getDefaultImageByType(item.type),
+ // backgroundImage: item.imgUrl || this.getDefaultImageByType(item.type),
+ backgroundImage: item.imgUrl,
// 额外信息
templeId: item.templeId,
currentBooking: item.currentBooking || 0,