From 04102f7237efefa744090ed7c25f7b5d0807b679 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 05 Feb 2026 18:11:57 +0800
Subject: [PATCH] 完成运营中心提现和运营中心权限管理

---
 mobile/pages/branch/activity/detail/detail.vue |   36 +++++++++++++++++++++++++++++++-----
 1 files changed, 31 insertions(+), 5 deletions(-)

diff --git a/mobile/pages/branch/activity/detail/detail.vue b/mobile/pages/branch/activity/detail/detail.vue
index ac8af60..65af4e1 100644
--- a/mobile/pages/branch/activity/detail/detail.vue
+++ b/mobile/pages/branch/activity/detail/detail.vue
@@ -40,7 +40,7 @@
 								</view>
 							</view>
 						</view>
-						<view class="activity-item d-b-c" v-if="activityData.is_visit == 1">
+						<view class="activity-item d-b-c" v-if="activityData.address">
 							<view class="flex-1">
 								<view class="gray6 f24">活动地点</view>
 								<view class="info">{{activityData.address}}</view>
@@ -81,7 +81,7 @@
 									<image :src="item.avatarUrl" mode="aspectFill"></image>
 									<text class="text-ellipsis">{{item.real_name}}</text>
 								</view>
-								<view class="more d-c-c d-c" v-if="activityData.total > 6" @click="openUser">
+								<view class="more d-c-c d-c" v-if="activityData.total > 5" @click="openUser">
 									<view class="d-c-c more-icon">
 										<text class="iconfont icon-gengduo"></text>
 									</view>
@@ -528,10 +528,12 @@
 
 			onReg(e) {
 				this.$refs.regForm.activityData = this.activityData;
+				/* this.$refs.regForm.branch_name = this.activityData.branch.name;
+				this.$refs.regForm.formData.branch_id = this.activityData.branch_id; */
 				this.is_friend = e;
-				if (this.activityData.fee > 0 || e) {
+				//if (this.activityData.fee > 0 || e || !this.activityData.is_member) {
 					this.isOpenReg = true;
-				} else {
+				/* } else {
 					uni.showModal({
 						title: '提示',
 						content: '确定要报名吗?',
@@ -541,7 +543,7 @@
 							}
 						}
 					});
-				}
+				} */
 			},
 
 			closeRegFunc(e) {
@@ -795,6 +797,30 @@
 				this.isOpenUser = false;
 			},
 
+		},
+		onShareAppMessage() {
+			if (this.activityData) {
+				return {
+					title: `${this.activityData.name}`,
+					path: `/pages/plus/business/detail?activity_id=${this.activity_id}`
+				};
+			}
+			return {
+				title: '活动详情',
+				path: `/pages/plus/business/detail?activity_id=${this.activity_id}`
+			};
+		},
+		onShareTimeline() {
+			if (this.activityData) {
+				return {
+					title: `${this.activityData.name}`,
+					path: `/pages/plus/business/detail?activity_id=${this.activity_id}`
+				};
+			}
+			return {
+				title: '活动详情',
+				path: `/pages/plus/business/detail?activity_id=${this.activity_id}`
+			};
 		}
 	}
 </script>

--
Gitblit v1.9.2