From 52b7c373601edbc5010471082eb88dadf70e382d Mon Sep 17 00:00:00 2001
From: liyaozhi <lzhflash@163.com>
Date: Wed, 29 Oct 2025 19:25:23 +0800
Subject: [PATCH] 1、修复活动报名支付问题; 2、修复签到核销码问题。

---
 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