Commit b0a21261 by 李嘉林

原生首页分享朋友圈

parent 30534db5
...@@ -240,6 +240,10 @@ export default { ...@@ -240,6 +240,10 @@ export default {
}) })
observer.observe({ entryTypes: ['render'] }) observer.observe({ entryTypes: ['render'] })
} }
wx.showShareMenu({
withShareTicket: true,
menus: ['shareAppMessage', 'shareTimeline']
})
// 查询是否展示生日礼品 // 查询是否展示生日礼品
// this.isShowBirth = true // 测试 // this.isShowBirth = true // 测试
...@@ -757,6 +761,9 @@ export default { ...@@ -757,6 +761,9 @@ export default {
} }
}; };
}, },
onShareTimeline(res) {
console.log(res,'-----onShareTimeline')
},
onPullDownRefresh(){ onPullDownRefresh(){
console.log('onPullDownRefresh',this.$store.state.extConfig) console.log('onPullDownRefresh',this.$store.state.extConfig)
app.getShopInfo(this.$store.state.extConfig); app.getShopInfo(this.$store.state.extConfig);
......
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