From 4711bb8fb2fb16c4eb1cdf6c0314069d85e77a67 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 27 Nov 2025 14:47:00 +0800
Subject: [PATCH] 名片聊天
---
mobile/pages/branch/activity/detail/detail.vue | 28 +++++++++++++++++++++++++++-
1 files changed, 27 insertions(+), 1 deletions(-)
diff --git a/mobile/pages/branch/activity/detail/detail.vue b/mobile/pages/branch/activity/detail/detail.vue
index ac8af60..c32f760 100644
--- a/mobile/pages/branch/activity/detail/detail.vue
+++ b/mobile/pages/branch/activity/detail/detail.vue
@@ -528,8 +528,10 @@
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 {
uni.showModal({
@@ -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}&referee_id=${this.getUserId()}`
+ };
+ }
+ 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}&referee_id=${this.getUserId()}`
+ };
+ }
+ return {
+ title: '活动详情',
+ path: `/pages/plus/business/detail?activity_id=${this.activity_id}&referee_id=${this.getUserId()}`
+ };
}
}
</script>
--
Gitblit v1.9.2