Commit c2464d38 authored by 5359's avatar 5359

页面修改

parent 4ba9755d
......@@ -151,7 +151,7 @@ export default {
background-color: rgb(230, 230, 230);
border: 1px solid #cccccc;
border-radius: 20px;
width: 15%;
width: 20%;
height: 100%;
}
}
......@@ -201,12 +201,14 @@ export default {
position: absolute;
top: 12px;
right: 5px;
width: 75px;
width: 70px;
height: 25px;
font-size: 14px;
font-size: 12px;
background-color: #d1d1d1;
border: 2px solid #dcd0d0;
border-radius: 5px;
padding-right: 1px;
padding-left: 1px;
}
.more {
position: absolute;
......
......@@ -55,6 +55,8 @@ export default {
showPayamount: 0, // 后续支付结果页面显示
recamt_id: '', // 获得的账单二维码
counter: [10, 10, 1], // 前十次请求间隔,后十次请求间隔,间隔一/二
timer: '',
timer2: ''
}
},
computed: {
......@@ -76,7 +78,6 @@ export default {
let vm = this
let url = process.env.basePath + 'getCmbConDetail'
let params = {
// L20RJ00313
'contractno': this.contractno,
}
// console.log("请求");
......@@ -143,7 +144,7 @@ export default {
},
showRecamt () {
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)
let params = {
'recamt_id': this.recamt_id,
......@@ -236,11 +237,11 @@ export default {
};
// 支付成功应该不需要前端主动关闭订单吧;
// vm.closeBill(urlp, params);
// console.log(res.respMsg)
vm.hlsPopup.showLongCenter(res.respMsg)
console.log(res.respMsg)
//vm.hlsPopup.showLongCenter(res.respMsg)
} else {
// console.log(res.respMsg)
vm.hlsPopup.showLongCenter(res.respMsg)
console.log(res.respMsg)
//vm.hlsPopup.showLongCenter(res.respMsg)
}
})
} else {
......@@ -258,11 +259,11 @@ export default {
if (res.tradeState != 'P') {
clearInterval(vm.timer2)// 判断订单已支付暂停定时器
};
// console.log(res.respMsg)
vm.hlsPopup.showLongCenter(res.respMsg)
console.log(res.respMsg)
//vm.hlsPopup.showLongCenter(res.respMsg)
} else {
// console.log(res.respMsg)
vm.hlsPopup.showLongCenter(res.respMsg)
console.log(res.respMsg)
//vm.hlsPopup.showLongCenter(res.respMsg)
}
})
} else { clearInterval(vm.timer2) }
......@@ -286,6 +287,8 @@ export default {
close () {
// 点击关闭二维码页面;
this.bottomType = 0
clearInterval(this.timer)
clearInterval(this.timer2)
this.getData()
},
// 选择账单后把总计金额显示在底部
......@@ -296,11 +299,11 @@ export default {
var num = this.total
// 计算
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) {
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
// console.log(index)
},
......@@ -408,13 +411,13 @@ input[type="checkbox"] {
position: absolute;
bottom: 0px;
width: 100%;
height: 18%;
height: 15%;
background-color: #fffffe;
border-top: 2px solid #7aae3b;
.total {
font-size: 12px;
color: rgb(180, 0, 0);
width: 80%;
width: 75%;
height: 20%;
margin: 20px auto;
display: flex;
......@@ -427,10 +430,10 @@ input[type="checkbox"] {
input {
position: relative;
right: 0px;
width: 50%;
width: 40%;
border: 1px solid #dab2b2;
border-radius: 5px;
padding-left: 6%;
text-align: center;
}
}
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