From 85e65d0053c40847826c9e8b8e9ac0a4b8c4855d Mon Sep 17 00:00:00 2001 From: nige Date: Wed, 27 Sep 2023 11:10:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=9C=8B=E5=8F=8B=E5=9C=88,?= =?UTF-8?q?=E5=AE=A2=E6=9C=8D=E7=94=B5=E8=AF=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- app.json | 3 ++- pages/index/index.js | 7 +++++++ pages/user/service/list/index.js | 4 ++-- pages/user/service/list/index.wxml | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/app.js b/app.js index 2127815..7959862 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.isTest94? true : false; + data.isTest = data.isTest95? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/app.json b/app.json index 7de07ea..a1a1761 100644 --- a/app.json +++ b/app.json @@ -220,7 +220,8 @@ "pagePath": "pages/index/index", "iconPath": "/images/home.png", "selectedIconPath": "/images/homeSel.png", - "text": "首页" + "text": "首页", + "shareTimeline": true }, { "pagePath": "pages/map/index", diff --git a/pages/index/index.js b/pages/index/index.js index 2ad8c63..88032db 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -795,5 +795,12 @@ Page({ */ onShareAppMessage: function () { + }, + onShareTimeline: function() { + return { + title: '君到苏州(文化旅游总入口)', + query: '', + imageUrl: 'https://static.ticket.sz-trip.com/xcxImages/zwt/logo.png' + } } }) \ No newline at end of file diff --git a/pages/user/service/list/index.js b/pages/user/service/list/index.js index 51b8f3d..0b7a418 100644 --- a/pages/user/service/list/index.js +++ b/pages/user/service/list/index.js @@ -58,12 +58,12 @@ Page({ },1) wx.showModal({ title: '提示', - content: '呼叫人工客服\n0512-66555111', + content: '呼叫人工客服\n18136165673', confirmColor:"#0B898E", success (res) { if (res.confirm) { wx.makePhoneCall({ - phoneNumber: '0512-66555111', + phoneNumber: '18136165673', }) } else if (res.cancel) { } diff --git a/pages/user/service/list/index.wxml b/pages/user/service/list/index.wxml index 4b548a6..1915d84 100644 --- a/pages/user/service/list/index.wxml +++ b/pages/user/service/list/index.wxml @@ -23,7 +23,7 @@ 即将跳转人工在线客服 客服服务时间:08:30-17:30 -如遇紧急情况可拨打 0512-66555111 +如遇紧急情况可拨打 18136165673