From 06be1c7ccc7533612e4cc7b0e730080d0dd3d2a1 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Fri, 16 Jan 2026 11:43:36 +0800
Subject: [PATCH] 商品可以赠送优惠券 商品属性增加团购 入驻商家增加实物和团购选项 团购和实物商户分类分开 增加团购商家页面 后台添加页面增加团购组件
---
mobile/pages/branch/activity/detail/detail.vue | 36 ++++++++++++++++++++++++++++++------
1 files changed, 30 insertions(+), 6 deletions(-)
diff --git a/mobile/pages/branch/activity/detail/detail.vue b/mobile/pages/branch/activity/detail/detail.vue
index 6fc1b55..513f949 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,12 +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.$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 || !this.activityData.is_member) {
+ //if (this.activityData.fee > 0 || e || !this.activityData.is_member) {
this.isOpenReg = true;
- } else {
+ /* } else {
uni.showModal({
title: '提示',
content: '确定要报名吗?',
@@ -543,7 +543,7 @@
}
}
});
- }
+ } */
},
closeRegFunc(e) {
@@ -797,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