From 73b874c72ad55eb9eef21c36160ac0de58f0189e Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 05 Feb 2026 10:30:43 +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