From 085865a69b2d8e954033c788a28124e4f92799da Mon Sep 17 00:00:00 2001 From: jiazhipeng Date: Mon, 14 Jul 2025 11:56:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/scene/index.js | 14 +++++++++++++- project.private.config.json | 7 +++++++ utils/https.js | 4 ++-- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index bee3cc0..48ffd9a 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -104,6 +104,15 @@ Page({ this.couponCom = this.selectAllComponents("#coupon")[0]; } }, + + initPage () { + this.setData({ + is_need_idcard:app.globalData.product.sku.sku_model.is_need_idcard, + is_authentication:app.globalData.product.sku.sku_model.is_authentication, + is_real_name:app.globalData.product.sku.sku_model.is_real_name, + }) + }, + // next: function () { // this.setData({ // showMask:true @@ -414,11 +423,14 @@ Page({ }, changed() { - console.log('time---',this.data.date,this.data.time) + console.log('time---',this.data.date,this.data.time) app.globalData.product.date = this.data.date app.globalData.product.time = this.data.time app.globalData.product.changeFlag = true this.hideDate() + + // this.initPage() + }, order:function() { let linkmanList = this.data.linkmanList, productNum = this.data.productNum, date = this.data.date, time = this.data.time, remark = this.data.remark, product = this.data.product; diff --git a/project.private.config.json b/project.private.config.json index 12064dd..be8ee63 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -6,6 +6,13 @@ "condition": { "miniprogram": { "list": [ + { + "name": "pages/info/sceneProductInfo/index", + "pathName": "pages/info/sceneProductInfo/index", + "query": "id=54182", + "launchMode": "default", + "scene": null + }, { "name": "pages/pbService/web/index", "pathName": "pages/pbService/web/index", diff --git a/utils/https.js b/utils/https.js index 4ecfe51..9dbc3ee 100644 --- a/utils/https.js +++ b/utils/https.js @@ -1,8 +1,8 @@ var app = getApp(); import util from "../utils/util" // import userApi from "../utils/https/user.js"; -// const baseUrl = "https://test.api.cloud.sz-trip.com/api/"; -let baseUrl = "https://api.cloud.sz-trip.com/api/"; +const baseUrl = "https://test.api.cloud.sz-trip.com/api/"; +// let baseUrl = "https://api.cloud.sz-trip.com/api/"; const env = wx.getAccountInfoSync().miniProgram.envVersion if (env == 'develop1') { baseUrl = "https://test.api.cloud.sz-trip.com/api/"