| @@ -8,7 +8,7 @@ | |||||
| "attr": { | "attr": { | ||||
| "configUrl": "https://ciformall.youlane.cn/C/api", | "configUrl": "https://ciformall.youlane.cn/C/api", | ||||
| "socketUrl": "wss://mp.youlane.cn/W/ws", | "socketUrl": "wss://mp.youlane.cn/W/ws", | ||||
| "ifHaveWebSocket": "1", | |||||
| "ifHaveWebSocket": "0", | |||||
| "etcpVersion": "release", | "etcpVersion": "release", | ||||
| "etcpAppId": "wx192b7d2e8dcbefd0", | "etcpAppId": "wx192b7d2e8dcbefd0", | ||||
| "etcpCallbackUrl": "https://ciformall.youlane.cn/api/carCallback/etcpPaidCallback" | "etcpCallbackUrl": "https://ciformall.youlane.cn/api/carCallback/etcpPaidCallback" | ||||
| @@ -134,7 +134,18 @@ Page({ | |||||
| wx.switchTab({ | wx.switchTab({ | ||||
| url: '/pages/user/index' | url: '/pages/user/index' | ||||
| }); | }); | ||||
| } else if (app.globalData.type == 'pc') { | |||||
| } else if (app.globalData.type == 'in') { | |||||
| // 首页 | |||||
| wx.switchTab({ | |||||
| url: '/pages/main/index' | |||||
| }); | |||||
| } | |||||
| // 积分 | |||||
| else if (app.globalData.type == 'jf') { | |||||
| wx.redirectTo({ | |||||
| url: '/pages/integralmall/index' | |||||
| }); | |||||
| }else if (app.globalData.type == 'pc') { | |||||
| // 停车 | // 停车 | ||||
| wx.switchTab({ | wx.switchTab({ | ||||
| url: '/pages/passCar/passCar' | url: '/pages/passCar/passCar' | ||||
| @@ -162,6 +162,18 @@ Page({ | |||||
| url: '/pages/user/index' | url: '/pages/user/index' | ||||
| }); | }); | ||||
| } | } | ||||
| // 积分 | |||||
| else if (app.globalData.type == 'jf') { | |||||
| wx.redirectTo({ | |||||
| url: '/pages/integralmall/index' | |||||
| }); | |||||
| } | |||||
| // 首页 | |||||
| else if (app.globalData.type == 'in') { | |||||
| wx.switchTab({ | |||||
| url: '/pages/main/index' | |||||
| }); | |||||
| } | |||||
| // 停车 | // 停车 | ||||
| else if (app.globalData.type == 'pc') { | else if (app.globalData.type == 'pc') { | ||||
| // 停车 | // 停车 | ||||
| @@ -9,6 +9,7 @@ Page({ | |||||
| bannerUrl: imgurl.banner.url, | bannerUrl: imgurl.banner.url, | ||||
| loadingUrl: imgurl.loading.url, | loadingUrl: imgurl.loading.url, | ||||
| nodata: imgurl.nodata.url, | nodata: imgurl.nodata.url, | ||||
| wmhome: imgurl.wmhome.url, | |||||
| wangmeimeicredit: imgurl.wangmeimeicredit.url, | wangmeimeicredit: imgurl.wangmeimeicredit.url, | ||||
| list: [], | list: [], | ||||
| lists: [], | lists: [], | ||||
| @@ -24,6 +25,11 @@ Page({ | |||||
| reloadIf: false, | reloadIf: false, | ||||
| creditAmount: 0 | creditAmount: 0 | ||||
| }, | }, | ||||
| goback: function () { | |||||
| wx.switchTab({ | |||||
| url: '/pages/main/index', | |||||
| }) | |||||
| }, | |||||
| onLoad: function (options) { | onLoad: function (options) { | ||||
| let that = this; | let that = this; | ||||
| var todayDate = new Date().getTime(); | var todayDate = new Date().getTime(); | ||||
| @@ -1,3 +1,4 @@ | |||||
| <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> | |||||
| <view class='content-box'> | <view class='content-box'> | ||||
| <view class='topbg'> | <view class='topbg'> | ||||
| <image bindtap='gotojifen' src='{{wangmeimeicredit}}' mode='widthFix'></image> | <image bindtap='gotojifen' src='{{wangmeimeicredit}}' mode='widthFix'></image> | ||||
| @@ -321,4 +321,26 @@ image{ | |||||
| font-weight: bold; | font-weight: bold; | ||||
| font-size: 36rpx; | font-size: 36rpx; | ||||
| padding-left: 30rpx; | padding-left: 30rpx; | ||||
| } | |||||
| } | |||||
| button::after{ border: none; } | |||||
| .goback{ | |||||
| position: fixed; | |||||
| right: 50rpx; | |||||
| bottom: 60rpx; | |||||
| width:100rpx!important; | |||||
| height:100rpx; | |||||
| z-index: 100; | |||||
| background:rgba(255,255,255,1); | |||||
| line-height: 95rpx; | |||||
| border:1rpx solid rgba(227,227,227,1); | |||||
| border-radius:50%; | |||||
| } | |||||
| .goback image{ | |||||
| position: absolute; | |||||
| width: 60rpx; | |||||
| left: 0; | |||||
| right: 0; | |||||
| top: 0; | |||||
| bottom: 0; | |||||
| margin: auto; | |||||
| } | |||||
| @@ -13,7 +13,7 @@ | |||||
| }, | }, | ||||
| "compileType": "miniprogram", | "compileType": "miniprogram", | ||||
| "libVersion": "2.2.0", | "libVersion": "2.2.0", | ||||
| "appid": "wxfa336cad86ed598d", | |||||
| "appid": "wxb11603577a84a86d", | |||||
| "projectname": "C%E7%AB%AF%E5%B0%8F%E7%A8%8B%E5%BA%8F", | "projectname": "C%E7%AB%AF%E5%B0%8F%E7%A8%8B%E5%BA%8F", | ||||
| "isGameTourist": false, | "isGameTourist": false, | ||||
| "simulatorType": "wechat", | "simulatorType": "wechat", | ||||