diff --git a/assets/images/icon001.png b/assets/images/icon001.png new file mode 100644 index 0000000..550c568 Binary files /dev/null and b/assets/images/icon001.png differ diff --git a/assets/images/icon002.png b/assets/images/icon002.png new file mode 100644 index 0000000..a24c2d7 Binary files /dev/null and b/assets/images/icon002.png differ diff --git a/assets/images/icon003.png b/assets/images/icon003.png new file mode 100644 index 0000000..2056c5c Binary files /dev/null and b/assets/images/icon003.png differ diff --git a/assets/images/icon01 (4).png b/assets/images/icon01 (4).png new file mode 100644 index 0000000..215e92e Binary files /dev/null and b/assets/images/icon01 (4).png differ diff --git a/config/config.js b/config/config.js index acf9dd0..006b46a 100755 --- a/config/config.js +++ b/config/config.js @@ -199,7 +199,7 @@ var config = { }, weapp: { - AppId: appId + AppId: "wxea71200db93d756b" }, ErrorCode: { diff --git a/ext.json b/ext.json new file mode 100644 index 0000000..e37dc50 --- /dev/null +++ b/ext.json @@ -0,0 +1,43 @@ +{ + "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 +} \ No newline at end of file diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 6d0ac54..6acd398 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -4,6 +4,20 @@ + + + + 限时抢购 + + + + 优惠卡 + + + + 会员权益 + + diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 859ada7..de885ea 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -32,3 +32,11 @@ page { width: 100%; height: 140rpx; } +.section{ + display: flex; + justify-content: space-around; +} +.section >view image{ + width: 121rpx; + display: block; +} \ No newline at end of file diff --git a/pages/scanPay/scanPay.js b/pages/scanPay/scanPay.js index 0dc49cc..02bbc5b 100644 --- a/pages/scanPay/scanPay.js +++ b/pages/scanPay/scanPay.js @@ -23,6 +23,8 @@ Page({ cardid: options.cardid, remainingAmount: options.remainingAmount }) + console.log(that.data.remainingAmount) + console.log("------------------remainingAmount-------------------") }, bindKeyInput(e) { console.log(e) diff --git a/project.config.json b/project.config.json index 23e97be..4e30ca0 100644 --- a/project.config.json +++ b/project.config.json @@ -13,7 +13,7 @@ }, "compileType": "miniprogram", "libVersion": "2.0.9", - "appid": "wxb11603577a84a86d", + "appid": "wxea71200db93d756b", "projectname": "C", "isGameTourist": false, "condition": {