Bläddra i källkod

[ext.json 修改]

tags/广东版3.2.1
meo 6 år sedan
förälder
incheckning
014082e452
5 ändrade filer med 8 tillägg och 51 borttagningar
  1. +2
    -2
      config/config.js
  2. +0
    -43
      ext.json
  3. +2
    -4
      pages/discountCardList/discountCardList.js
  4. +2
    -0
      pages/index/index.js
  5. +2
    -2
      project.config.json

+ 2
- 2
config/config.js Visa fil

@@ -1,7 +1,7 @@
var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {};
var appId = extConfig.appId;
var config = {
url: "https://ciformall.youlane.cn/C/api",
url: "https://ciformall.youlane.cn/C/api",
// url:"https://c.malls.iformall.com/C/api",
// url:'https://ctest.malls.iformall.com/C/api',
// url:'http://10.100.33.68:7000/C/api',
@@ -199,7 +199,7 @@ var config = {
},

weapp: {
AppId: "wxea71200db93d756b",
AppId: appId
},
ErrorCode: {


+ 0
- 43
ext.json Visa fil

@@ -1,43 +0,0 @@
{
"extEnable": true,
"extAppid": "wxea71200db93d756b",
"ext": {
"appId": "wxea71200db93d756b"
},
"directCommit": false,
"tabBar": {
"color": "#9F9F9F",
"selectedColor": "#00C0FF",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "assets/images/home-n.png",
"selectedIconPath": "assets/images/home-y.png",
"text": "首页"
},
{
"pagePath": "pages/passCar/passCar",
"iconPath": "assets/images/pass1.png",
"selectedIconPath": "assets/images/pass0.png",
"text": "停车"
},
{
"pagePath": "pages/user/index",
"iconPath": "assets/images/user-n.png",
"selectedIconPath": "assets/images/user-y.png",
"text": "我的"
}
]
},
"window": {
"backgroundTextStyle": "red",
"navigationBarBackgroundColor": "#02C0FF",
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle": "white"
},
"networkTimeout": {
"request": 30000,
"downloadFile": 10000
},
"debug": false
}

+ 2
- 4
pages/discountCardList/discountCardList.js Visa fil

@@ -68,16 +68,14 @@ Page({
var param = {
pageNum: pageNum,
pageSize: 6,
targetAd: 1,
type: "7"
targetAd: 5,
};
} else {
var param = {
pageNum: pageNum,
pageSize: 6,
business: key,
targetAd: 1,
type: "7"
targetAd: 5,
};
}
if (that.data.allow_load) {


+ 2
- 0
pages/index/index.js Visa fil

@@ -77,6 +77,8 @@ Page({
* 生命周期函数--监听页面初次渲染完成
*/
onLoad: function (options) {
console.log("AppId:" + config.weapp.AppId)
console.log("-------------------Yesyyy----------------------------------")
wx.setStorageSync('imgurl', imgurl)
if (options.played == "true") {
this.setData({


+ 2
- 2
project.config.json Visa fil

@@ -4,7 +4,7 @@
"ignore": []
},
"setting": {
"urlCheck": true,
"urlCheck": false,
"es6": true,
"postcss": true,
"minified": true,
@@ -13,7 +13,7 @@
},
"compileType": "miniprogram",
"libVersion": "2.0.9",
"appid": "wxea71200db93d756b",
"appid": "wxb11603577a84a86d",
"projectname": "C",
"isGameTourist": false,
"condition": {


Laddar…
Avbryt
Spara