From e1e2fe5710a5b5cd9c19bd3aa99c998a1a613ca8 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Sat, 17 Jan 2026 17:58:01 +0800
Subject: [PATCH] 团购组件增加筛选

---
 mobile/pages/branch/activity/index/index.vue |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/mobile/pages/branch/activity/index/index.vue b/mobile/pages/branch/activity/index/index.vue
index 281da7d..37a2469 100644
--- a/mobile/pages/branch/activity/index/index.vue
+++ b/mobile/pages/branch/activity/index/index.vue
@@ -79,6 +79,7 @@
 				topRefresh: false,
 				branch_id: 0, // 分会ID
 				is_first_show: true, // 处理授权返回加载数据空白的问题
+				words: {},
 			};
 		},
 		computed: {
@@ -137,6 +138,7 @@
 						list_rows: self.list_rows,
 					},
 					function(res) {
+						self.words = res.data.words;
 						self.listData = self.listData.concat(res.data.list.data);
 						self.last_page = res.data.list.last_page;
 						if (res.data.list.last_page <= 1) {
@@ -144,7 +146,10 @@
 						} else {
 							self.no_more = false;
 						}
-						// uni.hideLoading();
+						/*设置标题*/
+						uni.setNavigationBarTitle({
+						    title: self.words.activity_list.value
+						});
 						self.loading = false;
 						self.is_first_show = false;
 					}
@@ -171,6 +176,18 @@
 				this.gotoPage(url);
 			},
 
+		},
+		onShareAppMessage() {
+			return {
+				title: `活动列表`,
+				path: `pages/branch/activity/index/index`
+			};
+		},
+		onShareTimeline() {
+			return {
+				title: '活动列表',
+				path: `pages/branch/activity/index/index`
+			};
 		}
 	};
 </script>

--
Gitblit v1.9.2