Commit 7e4696d1 authored by lijiongliang's avatar lijiongliang

新增朋友圈分享

parent 5782232f
...@@ -49,14 +49,20 @@ ...@@ -49,14 +49,20 @@
}) })
}, },
onShareAppMessage(res) { onShareAppMessage(res) {
// console.log(res,111111) if (res.from === 'menu') {
if (res.from === 'menu') { return {
return { title: '京东汽车挪车牌',
title: '京东汽车挪车牌', path: '/pages/main',
path: '/pages/main', imageUrl: ""
imageUrl: "" };
}; }
} },
onShareTimeline(res){
return {
title: '京东汽车挪车牌',
path: '/pages/main',
imageUrl: ""
};
}, },
onShow: function() { onShow: function() {
uni.hideHomeButton() uni.hideHomeButton()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment