瀏覽代碼

[ext.json 修改]

tags/广东版3.2.1
meo 6 年之前
父節點
當前提交
014082e452
共有 5 個文件被更改,包括 8 次插入51 次删除
  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 查看文件

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


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


+ 0
- 43
ext.json 查看文件

@@ -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 查看文件

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


+ 2
- 0
pages/index/index.js 查看文件

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


+ 2
- 2
project.config.json 查看文件

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


Loading…
取消
儲存