Commit dec775e7 authored by linxin's avatar linxin

Merge branch 'liuxin' into develop

parents f40498aa d89af8f9
Pipeline #4113 canceled with stages
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<h-view id="pay-page" class="public-style"> <h-view id="pay-page" class="public-style">
<h-header :proportion="[5,1,1]" class="bar-custom"> <h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn"> <div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="changePage"> <img src="@/assets/userBind/arrow.png" @click="changePage" >
<span>支付中心</span> <span>支付中心</span>
</div> </div>
</h-header> </h-header>
...@@ -16,19 +16,19 @@ ...@@ -16,19 +16,19 @@
<list-item :item-height="30"> <list-item :item-height="30">
<item> <item>
<div slot="name" class="name">时间</div> <div slot="name" class="name">时间</div>
<div slot="content">{{ date }}</div> <div slot="content">{{ info.order_date }}</div>
</item> </item>
<item> <item>
<div slot="name" class="name">姓名</div> <div slot="name" class="name">姓名</div>
<div slot="content">{{ userName }}</div> <div slot="content">{{ info.pay_amount_name }}</div>
</item> </item>
<item> <item>
<div slot="name" class="name">订单号</div> <div slot="name" class="name">订单号</div>
<div slot="content">{{ money|orderNum }}</div> <div slot="content">{{ info.order_number }}</div>
</item> </item>
<item> <item>
<div slot="name" class="name">还款金额</div> <div slot="name" class="name">还款金额</div>
<div slot="content">{{ money|currency }}</div> <div slot="content">{{ info.orderamount|currency }}</div>
</item> </item>
</list-item> </list-item>
</div> </div>
...@@ -43,19 +43,19 @@ ...@@ -43,19 +43,19 @@
<list-item :item-height="30"> <list-item :item-height="30">
<item> <item>
<div slot="name" class="name">时间</div> <div slot="name" class="name">时间</div>
<div slot="content">{{ date }}</div> <div slot="content">{{ info.order_date }}</div>
</item> </item>
<item> <item>
<div slot="name" class="name">姓名</div> <div slot="name" class="name">姓名</div>
<div slot="content">{{ userName }}</div> <div slot="content">{{ info.pay_amount_name }}</div>
</item> </item>
<item> <item>
<div slot="name" class="name">订单号</div> <div slot="name" class="name">订单号</div>
<div slot="content">{{ money|orderNum }}</div> <div slot="content">{{ info.order_number }}</div>
</item> </item>
<item> <item>
<div slot="name" class="name">还款金额</div> <div slot="name" class="name">还款金额</div>
<div slot="content">{{ money|currency }}</div> <div slot="content">{{ info.orderamount|currency }}</div>
</item> </item>
</list-item> </list-item>
</div> </div>
...@@ -73,7 +73,11 @@ export default { ...@@ -73,7 +73,11 @@ export default {
name: '', name: '',
url: '', url: '',
info: { info: {
order_number: '',
pay_amount_name: '',
order_date: '',
orderamount: '',
order_id: '',
}, },
showSelect: false, showSelect: false,
showpay: true, showpay: true,
...@@ -115,7 +119,7 @@ export default { ...@@ -115,7 +119,7 @@ export default {
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
Object.assign(vm.info, res.info)
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
...@@ -131,6 +135,7 @@ export default { ...@@ -131,6 +135,7 @@ export default {
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
vm.getDetail()
if (res.return_code !== '0000') { if (res.return_code !== '0000') {
vm.isFaild = true vm.isFaild = true
vm.isSuccess = false vm.isSuccess = false
...@@ -150,17 +155,17 @@ export default { ...@@ -150,17 +155,17 @@ export default {
</script> </script>
<style lang="less"> <style lang="less">
#pay-page { #pay-page {
.box{ .box {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-wrap:wrap; flex-wrap: wrap;
} }
button{ button {
color: #fff; color: #fff;
background-color: @headerColor; background-color: @headerColor;
width:50%; width: 50%;
height:40px; height: 40px;
border-radius: 5px; border-radius: 5px;
} }
.my-content { .my-content {
...@@ -208,7 +213,7 @@ export default { ...@@ -208,7 +213,7 @@ export default {
} }
} }
} }
.content{ .content {
background-color: #fff; background-color: #fff;
} }
} }
......
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