| | |
| | | </div> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button type="primary">立 即 支 付</el-button> |
| | | <el-button type="primary" @click="pay()">立 即 支 付</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | //支付宝 |
| | | 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; |
| | |
| | | this.code2 = this.getCode2FromUrl(url) |
| | | window.location.href = "http://hesuancj.cn/#/indexTest?code="+this.code+"&state=STATE&code2="+this.code2 |
| | | } |
| | | console.log('this.code====',this.code) |
| | | if(this.code != null && this.code != '') { |
| | | this.dialogVisible = true |
| | | }else { |