From 0f56942de67db587381f357b1cda58c1b820e4db Mon Sep 17 00:00:00 2001 From: chenxuhui Date: Sat, 15 Dec 2018 11:11:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/homePage/homePage.js | 2 +- pages/order/detail/detail.js | 4 ++++ project.config.json | 16 +++++++++++++++- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/pages/homePage/homePage.js b/pages/homePage/homePage.js index f29327f..5c2be6f 100644 --- a/pages/homePage/homePage.js +++ b/pages/homePage/homePage.js @@ -1,5 +1,5 @@ // pages/homePage/homePage.js - +var app = getApp() var network = require("../../utils/net.js") function GetUserProfile(successtion) { let method = '/MainSystem/B3MiniProgramRpc/Rpcs/BaseInfoRpc/GetUserProfile'; diff --git a/pages/order/detail/detail.js b/pages/order/detail/detail.js index 91ecc43..0e60dca 100644 --- a/pages/order/detail/detail.js +++ b/pages/order/detail/detail.js @@ -111,6 +111,10 @@ Page({ if (app.globalData.shareInParameter.id) { var detailItemID = parseInt(app.globalData.shareInParameter.id); + wx.showModal({ + title: '看下ID值', + content: '+++' + detailItemID + '+++', + }) // detailItemType = app.globalData.shareInParameter.detailItemType; } else { var detailItemID = parseInt(options.ID); diff --git a/project.config.json b/project.config.json index f6bbe80..cb8db27 100644 --- a/project.config.json +++ b/project.config.json @@ -27,12 +27,16 @@ "current": -1, "list": [] }, + "plugin": { + "current": -1, + "list": [] + }, "game": { "currentL": -1, "list": [] }, "miniprogram": { - "current": -1, + "current": 1, "list": [ { "id": 0, @@ -40,6 +44,16 @@ "pathName": "pages/selctCustomer/selctCustomer", "query": "", "scene": "1011" + }, + { + "id": 1, + "name": "模版消息进入", + "pathName": "pages/order/detail/detail", + "query": "id=97", + "scene": "1043", + "referrerInfo": { + "appId": "wx1a89a89a80318160" + } } ] }