| | |
| | | <div class="dialog-main-box"> |
| | | <div class="dialog-main-line"> |
| | | <h1>合计费用</h1> |
| | | <h1>17.00元</h1> |
| | | <h1>{{this.statisticData.price}}元</h1> |
| | | </div> |
| | | <div class="dialog-main-line"> |
| | | <h1>停车时长</h1> |
| | | <h1>3小时2分钟</h1> |
| | | <h1>{{this.statisticData.timeStr}}</h1> |
| | | </div> |
| | | <div class="dialog-main-line-middle"> |
| | | <h1>17.00<font>元</font></h1> |
| | | <h1>{{this.statisticData.price}}<font>元</font></h1> |
| | | </div> |
| | | <div class="wx-img-box"> |
| | | <div class="wx-img-l"> |
| | |
| | | } |
| | | }, |
| | | created(){ |
| | | |
| | | let ua = window.navigator.userAgent.toLowerCase(); |
| | | //判断是不是微信 |
| | | if (ua.match(/MicroMessenger/i) == "micromessenger") { |
| | |
| | | //支付宝 |
| | | this.type = 1 |
| | | } |
| | | // if(this.type == null){ |
| | | // this.$message.error("请用微信或支付宝扫描二维码") |
| | | // return; |
| | | // } |
| | | |
| | | if(this.type == null){ |
| | | this.$message.error("请用微信或支付宝扫描二维码") |
| | | return; |
| | | } |
| | | |
| | | var url = window.location.href; |
| | | var count = url.split('?').length-1; |
| | | if(count >1){ |
| | | this.code = this.getCodeFromUrl(url) |
| | | this.code2 = this.getCode2FromUrl(url) |
| | | //window.location.href = "http://hesuancj.cn/#/indexTest?code="+this.code+"&state=STATE&code2="+this.code2 |
| | | window.location.href = " http://192.168.0.113:8083/#/indexTest?code="+this.code+"&state=STATE&code2="+this.code2 |
| | | window.location.href = "http://hesuancj.cn/#/indexTest?code="+this.code+"&state=STATE&code2="+this.code2 |
| | | } |
| | | if(this.code != null || this.code != '') { |
| | | if(this.code != null && this.code != '') { |
| | | this.dialogVisible = true |
| | | }else { |
| | | this.dialogVisible = false |
| | | } |
| | | var cs = url.split('?')[1]; |
| | | var cs_arr = cs.split('&'); |
| | |
| | | this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/outpark/getById', {id: this.outParkId}, res => { |
| | | if (res.code == 0) { |
| | | let outpark = res.data |
| | | if(outPark.status == 1){ |
| | | if(outpark.status == 1){ |
| | | window.location.href = "http://hesuancj.cn/#/indexOk?code2="+this.code2 |
| | | }else { |
| | | window.location.href = "http://hesuancj.cn/#/indexFail?code2="+this.code2 |