We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c72470 commit 708c211Copy full SHA for 708c211
src/pages/index/index.js
@@ -55,6 +55,12 @@ Page({
55
// 追加主题列表数据
56
this.fnNetRTopicList(1);
57
},
58
+ onShareAppMessage() {
59
+ return {
60
+ title: 'CNode 社区第三方版',
61
+ path: '/pages/index/index'
62
+ };
63
+ },
64
// 切换tab选项卡
65
fnTapSwitchTab(e) {
66
let oDataSet = e.currentTarget.dataset;
src/pages/topic/topic.js
@@ -24,6 +24,12 @@ Page({
24
this.fnFetchTopicDetail(this.data.sTopicId);
25
26
onReachBottom() {},
27
28
29
+ title: this.data.oTopicDetail.title,
30
+ path: `/pages/topic/topic?id=${this.data.sTopicId}`
31
32
33
// 切换主题收藏状态
34
fnTapSwitchTopicCollectStatus() {
35
// 先检查用户登录状态
0 commit comments