From db16692a7a680ea1fa723bf4c3aaaefb76371e21 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Tue, 20 Aug 2024 10:07:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E5=AE=A2=E6=9C=8D=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=B7=BB=E5=8A=A0=E5=88=86=E4=BA=AB=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/user/service/index.js | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 92156ac..a36249c 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest142? true : false; + data.isTest = data.isTest143? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/user/service/index.js b/pages/user/service/index.js index 4b01b44..d1c0104 100644 --- a/pages/user/service/index.js +++ b/pages/user/service/index.js @@ -103,5 +103,18 @@ Page({ */ onReachBottom: function () { // this.getList() + }, + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + }, + onShareTimeline: function() { + return { + title: '君到苏州-在线客服', + query: '', + imageUrl: 'https://static.ticket.sz-trip.com/xcxImages/zwt/logo.png' + } } }) \ No newline at end of file