feat(mini): 各页面增加分享入口(好友/朋友圈)及设置页微调
This commit is contained in:
@@ -60,5 +60,18 @@ Page({
|
||||
const { boneYearIndex, boneMonthIndex, boneDayIndex, boneHourIndex } = this.data;
|
||||
const result = calculateBoneWeight(boneYearIndex, boneMonthIndex + 1, boneDayIndex + 1, boneHourIndex);
|
||||
this.setData({ boneResult: result });
|
||||
},
|
||||
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: '占卜工具 - 梅花易数称骨算命',
|
||||
path: '/pages/divination/divination'
|
||||
};
|
||||
},
|
||||
|
||||
onShareTimeline() {
|
||||
return {
|
||||
title: '占卜工具 - 梅花易数称骨算命'
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user