Commit e15847a6 authored by 华国豪's avatar 华国豪 🙄
parents b6a17db9 6006d1f0
This diff is collapsed.
...@@ -4,24 +4,33 @@ ...@@ -4,24 +4,33 @@
<el-col :span="18" :offset="3"> <el-col :span="18" :offset="3">
<!-- 头部 --> <!-- 头部 -->
<div class="head"> <div class="head">
<div style="box-sizing:border-box;">
<div v-show="!visa" style="float:left;">
<i class="iconfont icon-jinggao"></i> <i class="iconfont icon-jinggao"></i>
<div style="padding-left:40px;box-sizing:border-box"> <div style="margin-left:50px">
<p style="font-size:14px;font-weight:600"> <p style="font-size:14px;font-weight:600">
订单提交成功!剩余支付时间 订单提交成功!剩余支付时间
<span style="color:#FF680B;font-size:18px">{{time_15}}</span> <span style="color:#FF680B;font-size:18px">{{time_15}}</span>
<span style="text-align:center;float:right;">
<span style="font-weight:200">应付金额</span>
<span style="color:#FF680B;font-size:18px">{{Commoditydetails.preferPrice | priceFormat}}</span>
</span>
</p> </p>
<p style="font-size:12px">请您在 <p style="font-size:12px">请您在
<span style="color:#FF680B;">15分钟</span> <span style="color:#FF680B;">15分钟</span>
内完成支付,否则订单会自动取消</p> 内完成支付,否则订单会自动取消</p>
</div> </div>
</div>
<div style="text-align:center;float:right">
<span style="font-weight:200">应付金额</span>
<span style="color:#FF680B;font-size:18px">{{Commoditydetails.preferPrice | priceFormat}}</span>
</div>
</div>
</div> </div>
<div class="payvue_content"> <div class="payvue_content">
<div class="ordernum"> <div class="ordernum">
...@@ -120,6 +129,7 @@ import moment from 'moment' ...@@ -120,6 +129,7 @@ import moment from 'moment'
export default { export default {
data() { data() {
return { return {
visa:false,
zfbpay_imgcode: false, zfbpay_imgcode: false,
wxpay_imgcode: false, wxpay_imgcode: false,
time_15: 0, time_15: 0,
...@@ -131,7 +141,7 @@ export default { ...@@ -131,7 +141,7 @@ export default {
total_fee: "", total_fee: "",
payway: "" payway: ""
}, },
AirOrderId: this.$route.params.id, AirOrderId:0,
Commoditydetails: {}, Commoditydetails: {},
codeInfo:{}, codeInfo:{},
...@@ -153,11 +163,24 @@ export default { ...@@ -153,11 +163,24 @@ export default {
CodeVialdTime:0, CodeVialdTime:0,
payway:-1, payway:-1,
Visainfo:{},
}; };
}, },
created() { created() {
if(this.$route.params.id==-1){
this.visa=true;
let Visainfo=JSON.parse(sessionStorage.Visainfo);
this.Commoditydetails=Visainfo;
this.Commoditydetails.airOrderId=Visainfo.AirOrderId;
this.code.OrderSource=Visainfo.orderResourceId;
this.code.total_fee=Visainfo.preferPrice+'';
this.code.body=Visainfo.description;
this.code.attach=`${Visainfo.costType}|${Visainfo.customerName}|${Visainfo.AirOrderId}|${Visainfo.customerId}|${Visainfo.outBranchId}`
}else{
this.AirOrderId=this.$route.params.id;
this.TimeDjs(); this.TimeDjs();
// this.Time15() }
}, },
methods: { methods: {
TimeDjs() { TimeDjs() {
...@@ -445,6 +468,7 @@ export default { ...@@ -445,6 +468,7 @@ export default {
.pay_vue .head { .pay_vue .head {
padding: 4px 0; padding: 4px 0;
position: relative; position: relative;
overflow: auto;
} }
.payvue_content { .payvue_content {
min-height:479px; min-height:479px;
......
This diff is collapsed.
...@@ -427,24 +427,23 @@ export default { ...@@ -427,24 +427,23 @@ export default {
.visa_flex .el-col .visa_title{ .visa_flex .el-col .visa_title{
color: #333333; color: #333333;
font-size: 12px; font-size: 12px;
padding:10px 0;
} }
.visa_flex .el-col img{ .visa_flex .el-col img{
position: absolute; /* position: absolute; */
width: 74px; width: 74px;
height: 48px; height: 48px;
border:1px solid #B3B3B3;
} }
.visa_flex .visa_content{ .visa_flex .visa_content{
padding-left: 85px; padding-left: 10px;
box-sizing: border-box; box-sizing: border-box;
font-family: "PingFang"; font-family: "PingFang";
min-height: 80px;
} }
.visa_flex { .visa_flex {
display: flex; display: flex;
justify-content: space-between; justify-content: space-around;
flex-wrap: wrap; flex-wrap: wrap;
} }
.visa_flex .el-col:hover{ .visa_flex .el-col:hover{
...@@ -493,7 +492,7 @@ export default { ...@@ -493,7 +492,7 @@ export default {
.row_flex{ .row_flex{
width: 100%; width: 100%;
padding-top:20px; padding-top:20px;
justify-content: space-between; justify-content: space-around;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }
...@@ -562,6 +561,7 @@ export default { ...@@ -562,6 +561,7 @@ export default {
display: inline-block; display: inline-block;
width: 73px; width: 73px;
height: 48px; height: 48px;
border: 1px dashed #DDDDDD;
} }
.visahome .Qzlist{ .visahome .Qzlist{
display: flex; display: flex;
......
This diff is collapsed.
This diff is collapsed.
...@@ -12,6 +12,7 @@ import echarts from 'echarts' ...@@ -12,6 +12,7 @@ import echarts from 'echarts'
import VueLazyload from 'vue-lazyload' import VueLazyload from 'vue-lazyload'
import htmlToPdf from './assets/utils/htmlToPdf' import htmlToPdf from './assets/utils/htmlToPdf'
import commonUtils from './assets/utils/commonUtils' import commonUtils from './assets/utils/commonUtils'
import languageUtils from './assets/utils/languageUtils' //引入语言转换帮助类
import moment from 'moment' import moment from 'moment'
import co from 'co' import co from 'co'
...@@ -30,6 +31,7 @@ Vue.use(ElementUI) ...@@ -30,6 +31,7 @@ Vue.use(ElementUI)
Vue.use(plug) Vue.use(plug)
Vue.http = Vue.prototype.$http = axios Vue.http = Vue.prototype.$http = axios
Vue.commonUtils = Vue.prototype.$commonUtils=commonUtils Vue.commonUtils = Vue.prototype.$commonUtils=commonUtils
Vue.languageUtils=Vue.prototype.$languageUtils=languageUtils
Vue.prototype.$echarts = echarts Vue.prototype.$echarts = echarts
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
// console.log("from",from.path) // console.log("from",from.path)
......
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