diff --git a/pages/special/straddlen/new_years.js b/pages/special/straddlen/new_years.js index 5a19e4e..2418726 100644 --- a/pages/special/straddlen/new_years.js +++ b/pages/special/straddlen/new_years.js @@ -251,6 +251,11 @@ Page({ * 用户点击右上角分享 */ onShareAppMessage: function () { - + let title='开心麻花有笑跨年攻略' + let imageUrl='https://mahuaimage2.oss-cn-qingdao.aliyuncs.com/mini_app/video/61cad2bba6e2b2fc1d12ae96520a9bbc7181b00e43c8b.jpg' + return { //自定义转发内容 + title, + imageUrl //不设置此字段时,默认截取当前页面作为展示的图片 + } } }) \ No newline at end of file diff --git a/pages/special/straddlen/new_years.json b/pages/special/straddlen/new_years.json index 8835af0..92c0985 100644 --- a/pages/special/straddlen/new_years.json +++ b/pages/special/straddlen/new_years.json @@ -1,3 +1,4 @@ { - "usingComponents": {} + "usingComponents": {}, + "navigationBarTitleText":"开心麻花有笑跨年攻略" } \ No newline at end of file