From 5a19a603d2b100d295abe4ef7049958f4c0e2be2 Mon Sep 17 00:00:00 2001 From: GJW200011 <2399547226@qq.com> Date: Tue, 28 Dec 2021 17:06:39 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=B7=A8=E5=B9=B4=E4=B8=93=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/special/straddlen/new_years.js | 7 ++++++- pages/special/straddlen/new_years.json | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) 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