feat: 添加小程序码,增加分享功能
This commit is contained in:
@@ -182,4 +182,17 @@ Page({
|
||||
this.setData({ showIntroductionPopup: false });
|
||||
wx.setStorageSync('hasShowIntroduction', true);
|
||||
},
|
||||
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: '涂鸦丫 - 涂色|识字|画画|打印',
|
||||
path: '/pages/index/index',
|
||||
};
|
||||
},
|
||||
onShareTimeline() {
|
||||
return {
|
||||
title: '涂鸦丫 - 涂色|识字|画画|打印',
|
||||
query: '/pages/index/index',
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user