|
|
|
@ -36,6 +36,10 @@ Page({ |
|
|
|
* 生命周期函数--监听页面加载 |
|
|
|
*/ |
|
|
|
onLoad: function (options) { |
|
|
|
wx.showShareMenu({ |
|
|
|
withShareTicket: true, |
|
|
|
menus: ['shareAppMessage', 'shareTimeline'] |
|
|
|
}) |
|
|
|
this.getMovieArea() |
|
|
|
let d = new Date(); |
|
|
|
let month = d.getMonth() + 1, |
|
|
|
@ -435,5 +439,14 @@ setCity(e){ |
|
|
|
*/ |
|
|
|
onShareAppMessage: function () { |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
onShareTimeline: function() { |
|
|
|
return { |
|
|
|
title: '君到苏州-活动日历', |
|
|
|
query: '', |
|
|
|
imageUrl: 'https://static.ticket.sz-trip.com/xcxImages/index/icon1New.png' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}) |