From 48d31672b4d88900080093cd1632f9d2eb978d4d Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Wed, 31 Dec 2025 18:29:05 +0800
Subject: [PATCH] 修改名片聊天
---
mobile/pages/branch/activity/detail/detail.vue | 30 ++++++++++++++++++++++++++++--
1 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/mobile/pages/branch/activity/detail/detail.vue b/mobile/pages/branch/activity/detail/detail.vue
index ac8af60..04f7db4 100644
--- a/mobile/pages/branch/activity/detail/detail.vue
+++ b/mobile/pages/branch/activity/detail/detail.vue
@@ -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,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}`
+ };
+ }
+ 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