Browse Source

优化

master
chenxuhui 7 years ago
parent
commit
0f56942de6
3 changed files with 20 additions and 2 deletions
  1. +1
    -1
      pages/homePage/homePage.js
  2. +4
    -0
      pages/order/detail/detail.js
  3. +15
    -1
      project.config.json

+ 1
- 1
pages/homePage/homePage.js View File

@ -1,5 +1,5 @@
// pages/homePage/homePage.js // pages/homePage/homePage.js
var app = getApp()
var network = require("../../utils/net.js") var network = require("../../utils/net.js")
function GetUserProfile(successtion) { function GetUserProfile(successtion) {
let method = '/MainSystem/B3MiniProgramRpc/Rpcs/BaseInfoRpc/GetUserProfile'; let method = '/MainSystem/B3MiniProgramRpc/Rpcs/BaseInfoRpc/GetUserProfile';


+ 4
- 0
pages/order/detail/detail.js View File

@ -111,6 +111,10 @@ Page({
if (app.globalData.shareInParameter.id) { if (app.globalData.shareInParameter.id) {
var detailItemID = parseInt(app.globalData.shareInParameter.id); var detailItemID = parseInt(app.globalData.shareInParameter.id);
wx.showModal({
title: '看下ID值',
content: '+++' + detailItemID + '+++',
})
// detailItemType = app.globalData.shareInParameter.detailItemType; // detailItemType = app.globalData.shareInParameter.detailItemType;
} else { } else {
var detailItemID = parseInt(options.ID); var detailItemID = parseInt(options.ID);


+ 15
- 1
project.config.json View File

@ -27,12 +27,16 @@
"current": -1, "current": -1,
"list": [] "list": []
}, },
"plugin": {
"current": -1,
"list": []
},
"game": { "game": {
"currentL": -1, "currentL": -1,
"list": [] "list": []
}, },
"miniprogram": { "miniprogram": {
"current": -1,
"current": 1,
"list": [ "list": [
{ {
"id": 0, "id": 0,
@ -40,6 +44,16 @@
"pathName": "pages/selctCustomer/selctCustomer", "pathName": "pages/selctCustomer/selctCustomer",
"query": "", "query": "",
"scene": "1011" "scene": "1011"
},
{
"id": 1,
"name": "模版消息进入",
"pathName": "pages/order/detail/detail",
"query": "id=97",
"scene": "1043",
"referrerInfo": {
"appId": "wx1a89a89a80318160"
}
} }
] ]
} }


Loading…
Cancel
Save