| @@ -199,7 +199,7 @@ var config = { | |||||
| }, | }, | ||||
| weapp: { | weapp: { | ||||
| AppId: appId | |||||
| AppId: "wxea71200db93d756b" | |||||
| }, | }, | ||||
| ErrorCode: { | ErrorCode: { | ||||
| @@ -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 | |||||
| } | |||||
| @@ -4,6 +4,20 @@ | |||||
| <!-- 折扣卡 --> | <!-- 折扣卡 --> | ||||
| <discount-card wx:key="unique" /> | <discount-card wx:key="unique" /> | ||||
| <c-rushToBuy /> | <c-rushToBuy /> | ||||
| <view class='section'> | |||||
| <view> | |||||
| <image src='./../../assets/images/icon001.png' mode='widthFix'></image> | |||||
| <text>限时抢购</text> | |||||
| </view> | |||||
| <view> | |||||
| <image src='./../../assets/images/icon002.png' mode='widthFix'></image> | |||||
| <text>优惠卡</text> | |||||
| </view> | |||||
| <view> | |||||
| <image src='./../../assets/images/icon003.png' mode='widthFix'></image> | |||||
| <text>会员权益</text> | |||||
| </view> | |||||
| </view> | |||||
| <!-- 小游戏暂时注释 --> | <!-- 小游戏暂时注释 --> | ||||
| <view class='game' bindtap="gotogame" wx-if="{{showIf}}"> | <view class='game' bindtap="gotogame" wx-if="{{showIf}}"> | ||||
| <view class='game-entry'> | <view class='game-entry'> | ||||
| @@ -32,3 +32,11 @@ page { | |||||
| width: 100%; | width: 100%; | ||||
| height: 140rpx; | height: 140rpx; | ||||
| } | } | ||||
| .section{ | |||||
| display: flex; | |||||
| justify-content: space-around; | |||||
| } | |||||
| .section >view image{ | |||||
| width: 121rpx; | |||||
| display: block; | |||||
| } | |||||
| @@ -23,6 +23,8 @@ Page({ | |||||
| cardid: options.cardid, | cardid: options.cardid, | ||||
| remainingAmount: options.remainingAmount | remainingAmount: options.remainingAmount | ||||
| }) | }) | ||||
| console.log(that.data.remainingAmount) | |||||
| console.log("------------------remainingAmount-------------------") | |||||
| }, | }, | ||||
| bindKeyInput(e) { | bindKeyInput(e) { | ||||
| console.log(e) | console.log(e) | ||||
| @@ -13,7 +13,7 @@ | |||||
| }, | }, | ||||
| "compileType": "miniprogram", | "compileType": "miniprogram", | ||||
| "libVersion": "2.0.9", | "libVersion": "2.0.9", | ||||
| "appid": "wxb11603577a84a86d", | |||||
| "appid": "wxea71200db93d756b", | |||||
| "projectname": "C", | "projectname": "C", | ||||
| "isGameTourist": false, | "isGameTourist": false, | ||||
| "condition": { | "condition": { | ||||