From c432d0911444a964fd4cf9ede39121172af6c84e Mon Sep 17 00:00:00 2001 From: XiaoXinPro 14 IAH5R <568170040@qq.com> Date: Mon, 31 Oct 2022 10:23:55 +0800 Subject: [PATCH] useless --- components/navbar/navbar.js | 10 ++++----- ext.json | 45 ++++++++++++++++++++++++------------- pages/theme/index1/index.js | 3 ++- project.config.json | 2 +- project.private.config.json | 2 +- 5 files changed, 38 insertions(+), 24 deletions(-) diff --git a/components/navbar/navbar.js b/components/navbar/navbar.js index c387af0..0962168 100644 --- a/components/navbar/navbar.js +++ b/components/navbar/navbar.js @@ -21,13 +21,13 @@ Component({ }, back: { type: Boolean, - value: false + value: true }, home: { type: Boolean, value: false }, - + }, data: { @@ -37,7 +37,7 @@ Component({ navigationBarHeight: (app.statusBarHeight + 44) + 'px', }, methods: { - + backHome: function () { let url = app.globalData.goHomeUrl wx.switchTab({ @@ -56,8 +56,8 @@ Component({ }) } }, - attached: function(){ - + attached: function () { + let pages = getCurrentPages(); if (pages.length <= 1) { this.setData({ diff --git a/ext.json b/ext.json index ac328e8..e8d28c4 100644 --- a/ext.json +++ b/ext.json @@ -1,33 +1,47 @@ { "ext": { "attr": { - "mchId": "1602801645", + "car": { + "tjd": { + "payPath": "", + "tjdAppId": "wx6945d1bda68d7993" + }, + "etcp": { + "payPath": "pages/pay/order-pay-open/main", + "etcpAppId": "wxc07f9d67923d676d", + "etcpCallbackUrl": "https://admin.malls.iformall.com/api/carCallback/etcpPaidCallback" + }, + "bolink": { + "payPath": "pages/park/park", + "bolinkAppId": "wxbd08b4baa10fcc1d" + }, + "version": "release" + }, + "mchId": "1623869862", "imgProxy": [ { - "newUrl": "https://ctest.malls.iformall.com/img", + "newUrl": "https://c.malls.iformall.com/img", "orgUrl": "https://iformall-net.formall.oss-accelerate.aliyuncs.com" }, { - "newUrl": "https://ctest.malls.iformall.com/img1", + "newUrl": "https://c.malls.iformall.com/img1", "orgUrl": "https://formall.oss-accelerate.aliyuncs.com" }, { - "newUrl": "https://ctest.malls.iformall.com/img2", + "newUrl": "https://c.malls.iformall.com/img2", "orgUrl": "https://wx.qlogo.cn" } ], - "configUrl": "https://ctest.malls.iformall.com/C/api", - "etcpAppId": "wx219a81b9c87aa4f7", - "etcpVersion": "release", - "businessSwitch": "0", + "configUrl": "https://c.malls.iformall.com/C/api", + "ifStoreApp": "0", + "businessSwitch": "1", "businessVersion": "1", - "etcpCallbackUrl": "https://admintest.malls.iformall.com/api/carCallback/etcpPaidCallback", "ifHaveWebSocket": "0", - "ifHaveCarModular": "1" + "ifHaveCarModular": "0" }, - "name": "富茂光谷测试版", - "weappId": "wx219a81b9c87aa4f7", - "appVersion": "C.test.5.2.0" + "name": "泊悦茂邻荟", + "weappId": "wx34aa0a9a9a55b810", + "appVersion": "C.5.1.1" }, "debug": false, "tabBar": { @@ -63,8 +77,7 @@ "selectedIconPath": "assets/images/user-a.png" } ], - "color": "#abb1be", - "selectedColor": "#b2743d" + "custom": true }, "window": { "backgroundTextStyle": "dark", @@ -82,7 +95,7 @@ "provider": "wx2b03c6e691cd7370" } }, - "extAppid": "wx219a81b9c87aa4f7", + "extAppid": "wx34aa0a9a9a55b810", "extEnable": true, "permission": { "scope.userLocation": { diff --git a/pages/theme/index1/index.js b/pages/theme/index1/index.js index 6f70a94..75a346e 100644 --- a/pages/theme/index1/index.js +++ b/pages/theme/index1/index.js @@ -3,7 +3,7 @@ console.log(extConfig, 'extConfig'); let ifStoreApp = extConfig.attr.ifStoreApp; let businessSwitch = 1 * extConfig.attr.businessSwitch ? extConfig.attr.businessSwitch : false console.log(businessSwitch, 'businessSwitch'); -let businessVersion = extConfig.attr.businessVersion +let businessVersion = 1 * extConfig.attr.businessVersion let mch_id = extConfig.attr.mchId const navigationBarHeight = (getApp().statusBarHeight + 44) + "px" const Http = require("../../../utils/HttpBasics"); @@ -629,6 +629,7 @@ Page({ console.log(res.status, 'member_status') }) if (businessVersion) { + console.log(this.data.mch_id, 'this.data.mch_id'); this.setData({ goUrl: `plugin://auto-points-plugin/index?openid=${openId}&mch_id=${this.data.mch_id}&member_status=${1}` }) diff --git a/project.config.json b/project.config.json index 200eb69..aeb0015 100644 --- a/project.config.json +++ b/project.config.json @@ -33,7 +33,7 @@ }, "compileType": "miniprogram", "libVersion": "2.11.2", - "appid": "wxfa336cad86ed598d", + "appid": "wx453ae0d37f3550d0", "projectname": "C", "simulatorType": "wechat", "simulatorPluginLibVersion": {}, diff --git a/project.private.config.json b/project.private.config.json index 6692461..4cbe363 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -4,5 +4,5 @@ "setting": { "compileHotReLoad": true }, - "libVersion": "2.26.2" + "libVersion": "2.27.0" } \ No newline at end of file