From 2b728186c745b598e8ccb9dcc37360eed49375f6 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 30 Oct 2025 18:58:21 +0800
Subject: [PATCH] 完成名片列表功能 完成名片筛选功能 完成查看名片详情 完成购买名片查看联系方式

---
 mobile/pages/branch/activity/detail/detail.vue |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/mobile/pages/branch/activity/detail/detail.vue b/mobile/pages/branch/activity/detail/detail.vue
index e97f3dc..8b86e74 100644
--- a/mobile/pages/branch/activity/detail/detail.vue
+++ b/mobile/pages/branch/activity/detail/detail.vue
@@ -170,6 +170,7 @@
 	import Share from './popup/share.vue';
 	import Album from './popup/album.vue'; // 相册
 	import uniPopup from '@/components/uni-popup.vue';
+	import utils from '@/common/utils.js';
 	export default {
 		components: {
 			RegForm,
@@ -217,12 +218,8 @@
 		},
 		onLoad(e) {
 			/*活动id*/
-			if (typeof e.activity_id != 'undefined') {
-				this.activity_id = e.activity_id;
-			} else {
-				let scene = utils.getSceneData(e);
-				this.activity_id = scene.activity_id;
-			}
+			let scene = utils.getSceneData(e);
+			this.activity_id = e.activity_id ? e.activity_id : scene.activity_id;
 		},
 		onShow() {
 			this.getUserLocation();

--
Gitblit v1.9.2