Browse Source

useless

packages
HolyKnightIX 2 years ago
parent
commit
c432d09114
5 changed files with 38 additions and 24 deletions
  1. +5
    -5
      components/navbar/navbar.js
  2. +29
    -16
      ext.json
  3. +2
    -1
      pages/theme/index1/index.js
  4. +1
    -1
      project.config.json
  5. +1
    -1
      project.private.config.json

+ 5
- 5
components/navbar/navbar.js View File

@@ -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({


+ 29
- 16
ext.json View File

@@ -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": {


+ 2
- 1
pages/theme/index1/index.js View File

@@ -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}`
})


+ 1
- 1
project.config.json View File

@@ -33,7 +33,7 @@
},
"compileType": "miniprogram",
"libVersion": "2.11.2",
"appid": "wxfa336cad86ed598d",
"appid": "wx453ae0d37f3550d0",
"projectname": "C",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},


+ 1
- 1
project.private.config.json View File

@@ -4,5 +4,5 @@
"setting": {
"compileHotReLoad": true
},
"libVersion": "2.26.2"
"libVersion": "2.27.0"
}

Loading…
Cancel
Save