From a4b3ee325c7354579d495bc74a777e494e5ec38c Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Fri, 06 Feb 2026 18:18:44 +0800
Subject: [PATCH] 商品可以价格面议 选择走访时显示输入走访企业名 分会添加活动时要总会审核 分类添加人数限制,添加活动选择了填写人数限制的分类时活动名额下显示该分类人数限制为15 同一个企业30天内只能走访一次,在30天内走访同一个企业时提示该企业已被走访xx天后才可以从新走访
---
mobile/pages/branch/activity/detail/detail.vue | 39 ++++++++++++++++++++++++++++++++-------
1 files changed, 32 insertions(+), 7 deletions(-)
diff --git a/mobile/pages/branch/activity/detail/detail.vue b/mobile/pages/branch/activity/detail/detail.vue
index 6fc1b55..2a1baf4 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>
@@ -61,6 +61,7 @@
<view class="activity-item" v-if="activityData.is_visit == 1">
<view class="gray6 f24">走访企业</view>
<view class="info">{{activityData.visitSupplier?activityData.visitSupplier.name:''}}</view>
+ <view class="info">{{activityData.visit_supplier_name?activityData.visit_supplier_name:''}}</view>
</view>
<view class="activity-item"
v-if="activityData.is_visit == 0 && activityData.space_supplier_id > 0">
@@ -81,7 +82,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 +529,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 +544,7 @@
}
}
});
- }
+ } */
},
closeRegFunc(e) {
@@ -797,6 +798,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