Commit c2464d38 authored by 5359's avatar 5359

页面修改

parent 4ba9755d
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
background-color: rgb(230, 230, 230); background-color: rgb(230, 230, 230);
border: 1px solid #cccccc; border: 1px solid #cccccc;
border-radius: 20px; border-radius: 20px;
width: 15%; width: 20%;
height: 100%; height: 100%;
} }
} }
...@@ -201,12 +201,14 @@ export default { ...@@ -201,12 +201,14 @@ export default {
position: absolute; position: absolute;
top: 12px; top: 12px;
right: 5px; right: 5px;
width: 75px; width: 70px;
height: 25px; height: 25px;
font-size: 14px; font-size: 12px;
background-color: #d1d1d1; background-color: #d1d1d1;
border: 2px solid #dcd0d0; border: 2px solid #dcd0d0;
border-radius: 5px; border-radius: 5px;
padding-right: 1px;
padding-left: 1px;
} }
.more { .more {
position: absolute; position: absolute;
......
...@@ -55,6 +55,8 @@ export default { ...@@ -55,6 +55,8 @@ export default {
showPayamount: 0, // 后续支付结果页面显示 showPayamount: 0, // 后续支付结果页面显示
recamt_id: '', // 获得的账单二维码 recamt_id: '', // 获得的账单二维码
counter: [10, 10, 1], // 前十次请求间隔,后十次请求间隔,间隔一/二 counter: [10, 10, 1], // 前十次请求间隔,后十次请求间隔,间隔一/二
timer: '',
timer2: ''
} }
}, },
computed: { computed: {
...@@ -76,7 +78,6 @@ export default { ...@@ -76,7 +78,6 @@ export default {
let vm = this let vm = this
let url = process.env.basePath + 'getCmbConDetail' let url = process.env.basePath + 'getCmbConDetail'
let params = { let params = {
// L20RJ00313
'contractno': this.contractno, 'contractno': this.contractno,
} }
// console.log("请求"); // console.log("请求");
...@@ -143,7 +144,7 @@ export default { ...@@ -143,7 +144,7 @@ export default {
}, },
showRecamt () { showRecamt () {
let vm = this let vm = this
let url = 'http://sign.hitachics.com/core/r/api/cmb/poly/get/qrcode' let url = process.env.rootPath + '/cmb/poly/get/qrcode'
// console.log('支付id', this.recamt_id) // console.log('支付id', this.recamt_id)
let params = { let params = {
'recamt_id': this.recamt_id, 'recamt_id': this.recamt_id,
...@@ -236,11 +237,11 @@ export default { ...@@ -236,11 +237,11 @@ export default {
}; };
// 支付成功应该不需要前端主动关闭订单吧; // 支付成功应该不需要前端主动关闭订单吧;
// vm.closeBill(urlp, params); // vm.closeBill(urlp, params);
// console.log(res.respMsg) console.log(res.respMsg)
vm.hlsPopup.showLongCenter(res.respMsg) //vm.hlsPopup.showLongCenter(res.respMsg)
} else { } else {
// console.log(res.respMsg) console.log(res.respMsg)
vm.hlsPopup.showLongCenter(res.respMsg) //vm.hlsPopup.showLongCenter(res.respMsg)
} }
}) })
} else { } else {
...@@ -258,11 +259,11 @@ export default { ...@@ -258,11 +259,11 @@ export default {
if (res.tradeState != 'P') { if (res.tradeState != 'P') {
clearInterval(vm.timer2)// 判断订单已支付暂停定时器 clearInterval(vm.timer2)// 判断订单已支付暂停定时器
}; };
// console.log(res.respMsg) console.log(res.respMsg)
vm.hlsPopup.showLongCenter(res.respMsg) //vm.hlsPopup.showLongCenter(res.respMsg)
} else { } else {
// console.log(res.respMsg) console.log(res.respMsg)
vm.hlsPopup.showLongCenter(res.respMsg) //vm.hlsPopup.showLongCenter(res.respMsg)
} }
}) })
} else { clearInterval(vm.timer2) } } else { clearInterval(vm.timer2) }
...@@ -286,6 +287,8 @@ export default { ...@@ -286,6 +287,8 @@ export default {
close () { close () {
// 点击关闭二维码页面; // 点击关闭二维码页面;
this.bottomType = 0 this.bottomType = 0
clearInterval(this.timer)
clearInterval(this.timer2)
this.getData() this.getData()
}, },
// 选择账单后把总计金额显示在底部 // 选择账单后把总计金额显示在底部
...@@ -296,11 +299,11 @@ export default { ...@@ -296,11 +299,11 @@ export default {
var num = this.total var num = this.total
// 计算 // 计算
if (this.checked[index] == false) { if (this.checked[index] == false) {
num += this.Lists[index].recdueamt_total num = Math.round((num + this.Lists[index].recdueamt_total) * 100) / 100
} else if (this.checked[index] == true) { } else if (this.checked[index] == true) {
num -= this.Lists[index].recdueamt_total num = Math.round((num - this.Lists[index].recdueamt_total) * 100) / 100
} }
this.total = Math.floor(num * 100) / 100 this.total = num
document.getElementById('payamount').value = this.total document.getElementById('payamount').value = this.total
// console.log(index) // console.log(index)
}, },
...@@ -408,13 +411,13 @@ input[type="checkbox"] { ...@@ -408,13 +411,13 @@ input[type="checkbox"] {
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
width: 100%; width: 100%;
height: 18%; height: 15%;
background-color: #fffffe; background-color: #fffffe;
border-top: 2px solid #7aae3b; border-top: 2px solid #7aae3b;
.total { .total {
font-size: 12px; font-size: 12px;
color: rgb(180, 0, 0); color: rgb(180, 0, 0);
width: 80%; width: 75%;
height: 20%; height: 20%;
margin: 20px auto; margin: 20px auto;
display: flex; display: flex;
...@@ -427,10 +430,10 @@ input[type="checkbox"] { ...@@ -427,10 +430,10 @@ input[type="checkbox"] {
input { input {
position: relative; position: relative;
right: 0px; right: 0px;
width: 50%; width: 40%;
border: 1px solid #dab2b2; border: 1px solid #dab2b2;
border-radius: 5px; border-radius: 5px;
padding-left: 6%; text-align: center;
} }
} }
button { button {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment