feat(mini): 各页面增加分享入口(好友/朋友圈)及设置页微调

This commit is contained in:
gouki
2026-08-10 23:03:16 +00:00
parent 738b5c4452
commit 52c0d3c774
14 changed files with 172 additions and 26 deletions
+13
View File
@@ -50,5 +50,18 @@ Page({
onHighlightLunarChange(e) {
this.setData({ highlightLunar: e.detail.value });
this.saveSettings();
},
onShareAppMessage() {
return {
title: '偏好设置 - 老黄历',
path: '/pages/preferences/preferences'
};
},
onShareTimeline() {
return {
title: '偏好设置 - 老黄历'
};
}
});