feat(mini): 各页面增加分享入口(好友/朋友圈)及设置页微调
This commit is contained in:
@@ -24,5 +24,18 @@ Page({
|
||||
openDetail(e) {
|
||||
const date = e.currentTarget.dataset.date;
|
||||
wx.navigateTo({ url: `/pages/day-detail/day-detail?date=${date}` });
|
||||
},
|
||||
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: '我的收藏 - 老黄历',
|
||||
path: '/pages/bookmarks/bookmarks'
|
||||
};
|
||||
},
|
||||
|
||||
onShareTimeline() {
|
||||
return {
|
||||
title: '我的收藏 - 老黄历'
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user