(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-60560254"],{"00ee":function(t,e,r){"use strict";var n={};n[r("b622")("toStringTag")]="z",t.exports="[object z]"===String(n)},"0712":function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return a}));var n=r("a18c");const o=r("96eb");console.log(n.a);const i=o.mock({data:{totalPrice:50.02,currencySymbol:"¥",orderSplitResponseVOList:[{shoppingCartList:[{shoppingCartCode:"872111938923716608",productId:"869227232945037312",skuId:"869227232945037312",skuName:"yx实物1001",skuImg:"shop/20210622144830/cms/image/501658b8-23f1-41de-9ef2-c810053987d9.jpg",standardsDesc:"[]",skuSpec:[],goodsName:"yx实物1001",skuPrice:.01,currency:"¥",quantity:2,moq:1,stock:890,statusTip:1,goodsInvalidFlag:1,subtotal:.02,appId:"143150160001",orderProcessId:"869157161248022528"}],totalNum:1,totalPrice:50.02,payableGoodsAmount:.02,freightPrice:50}]},status:200,msg:"success"}),a=o.mock({data:{distributionList:[{id:"1",name:"快递发货"}],payList:[{type:0,typeName:"在线支付",prompt:"即时到账，支持支付宝、微信、Paypal等支付方式",isAvailable:!0},{type:1,typeName:"线下支付",prompt:"支持Bank Transfer、Western Union、Money Gram等支付方式",isAvailable:!0},{type:2,typeName:"货到付款",prompt:"仅支持部分在地区货到付款",isAvailable:!0}]},status:200,msg:"success"})},"0d26":function(t,e,r){"use strict";var n=r("e330"),o=Error,i=n("".replace),a=String(new o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(a);t.exports=function(t,e){if(c&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,s,"");return t}},1787:function(t,e,r){"use strict";var n=r("861d");t.exports=function(t){return n(t)||null===t}},2263:function(t,e,r){t.exports=r.p+"static/img/WesternUnion.1296b368.png"},"2ba4":function(t,e,r){"use strict";var n=r("40d5"),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},"31f4":function(t,e,r){"use strict";r("c14d")},3439:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));const n={weChatSDK:"https://res.wx.qq.com/open/js/jweixin-1.6.0.js"}},"37b0":function(t,e,r){"use strict";function n(t){if(document.cookie.length>0){let e=document.cookie.indexOf(t+"=");if(-1!=e){e=e+t.length+1;let r=document.cookie.indexOf(";",e);return-1==r&&(r=document.cookie.length),decodeURIComponent(document.cookie.substring(e,r))}}return""}r.d(e,"a",(function(){return n}))},"3bbe":function(t,e,r){"use strict";var n=r("1787"),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},"3e0f":function(t,e,r){"use strict";r.d(e,"c",(function(){return a})),r.d(e,"e",(function(){return s})),r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return d})),r.d(e,"d",(function(){return u}));var n=r("4020"),o=r("ed98"),i=r("4260");const a=t=>Object(i.c)()?new Promise((function(t,e){t(o.a)})):Object(n.a)("/fwebapi/order/payMode/orderPayInit",t),s=t=>Object(n.b)("/fwebapi/order/payMode/saveOffLineTransfer",t),c=t=>Object(n.a)("/fwebapi/order/payMode/getPayModeByCode",t),d=t=>Object(n.b)("/fwebapi/order/pay/createPayment",t),u=t=>Object(i.c)()?new Promise((function(t,e){t(o.b)})):Object(n.a)("/fwebapi/order/pay/result",t)},5319:function(t,e,r){t.exports=r.p+"static/img/vchat.06c8eead.png"},"577e":function(t,e,r){"use strict";var n=r("f5df"),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},"5d14":function(t,e,r){"use strict";r.r(e);var n=(r("14d9"),r("4260")),o=r("3e0f"),i=r("6d9b"),a=r("3439"),s=(r("37b0"),r("e495")),c=r("ce77"),d={props:{payList:{type:Array,default:()=>[]},payeeList:{type:Array,default:()=>[]},offlineInfo:{type:Object,default:()=>({})},orderInfo:{type:Object,default:()=>({})},showTitle:{type:Boolean,default:()=>!0},payVal:{type:Number}},data:()=>({payCode:"",confirmPayVisible:!1,showGuide:!1,payResultVisible:!1,showOfflineForm:!1,inMiniProgram:!1,weixinParams:{}}),created:function(){Object(n.e)()&&i.a.script(a.a.weChatSDK)},mounted(){this.payCode=this.payList[0].payCode||""},methods:{async openPay(){if(console.log("wq: this.payCode:",this.payCode),"Alipay"==this.payCode||"Paypal"==this.payCode){let t={};t.callbackUrl=window.location.origin+"/sys/payment/result?orderId="+this.orderInfo.orderId,t.orderId=this.orderInfo.orderId,t.payCode=this.payCode,t.siteType=2,Object(o.a)(t).then((t=>{if(200==t.status)if("Wechat"==this.payCode){var e=navigator.userAgent,r=(e.indexOf("Android")>-1||e.indexOf("Adr"),!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/));let n=window.location.origin+"/sys/payment/result?orderId="+this.$route.query.orderId,o="&redirect_url="+encodeURIComponent(n),i=t.data.qrImg+o;r?window.location.href=i:window.open(i)}else"Alipay"==this.payCode?(this.aliPayForm=t.data.qrImg,document.write(this.aliPayForm)):"Paypal"==this.payCode&&(window.location.href=t.data.qrImg,console.log("paycodepaypal",this.payCode))}))}else"Wechat"==this.payCode?this.handleWeChatPay():"WechatMini"==this.payCode?this.handleWeChatMiniProgramPay():this.linkToPop()},handleWeChatPay(){"undefined"==typeof WeixinJSBridge?Object(c.f)().then((t=>{if(200==t.status&&!t.data){let t={};t.payUrl=encodeURIComponent(window.location.href),Object(c.c)(t).then((t=>{if(null!=t.data){var e=navigator.userAgent,r=(e.indexOf("Android")>-1||e.indexOf("Adr"),!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/));let n=t.data;r?window.location.href=n:window.open(n)}}))}})):this.execWeChatPay()},execWeChatPay(){let t={};t.orderId=this.orderInfo.orderId,t.payCode=this.payCode,t.siteType=2,t.wechatBrowserFlag=!0,Object(o.a)(t).then((t=>{if(200==t.status){let e=t.data;this.$set(this.weixinParams,"appId",e.appId),this.$set(this.weixinParams,"timeStamp",e.timeStamp),this.$set(this.weixinParams,"nonceStr",e.nonceStr),this.$set(this.weixinParams,"package",e.packageStr),this.$set(this.weixinParams,"signType",e.signType),this.$set(this.weixinParams,"paySign",e.paySign);let r=this;WeixinJSBridge.invoke("getBrandWCPayRequest",this.weixinParams,(t=>{if("get_brand_wcpay_request:ok"==t.err_msg){let t=window.location.origin+"/sys/payment/result?orderId="+r.orderInfo.orderId;window.location.href=t}}))}}))},async handleWeChatMiniProgramPay(){Object(n.e)()&&await s.a.toPay({orderId:this.orderInfo.orderId})},linkToPop(){this.$router.push({path:"/payment/poppay",query:{payCode:this.payCode,orderId:this.orderInfo.orderId,payMode:this.$route.query.payVal}})},agreePay(){this.payResultVisible=!0,this.confirmPayVisible=!1},continuePay(){this.agreePay()},finishPay(){this.$router.push({path:"/payment/result",query:{orderId:this.$parent.orderInfo.orderId}})},onSubmit(){}}},u=d,p=(r("9f0c"),r("0c7c")),l=Object(p.a)(u,(function(){var t=this,e=t._self._c;return e("div",[t.showTitle?[1==t.$route.query.payVal?e("p",[t._v(t._s(t.$t("components_pay_1")))]):e("p",[t._v(t._s(t.$t("components_pay_2")))])]:t._e(),e("van-radio-group",{model:{value:t.payCode,callback:function(e){t.payCode=e},expression:"payCode"}},[e("van-cell-group",t._l(t.payList,(function(n){return e("van-cell",{key:n.payType,scopedSlots:t._u([{key:"title",fn:function(){return[e("div",{staticClass:"pay-img-list"},["WechatMini"===n.payCode?[e("img",{staticClass:"pay-icon",attrs:{src:r("5319")}})]:t._e(),"Wechat"===n.payCode?[e("img",{staticClass:"pay-icon",attrs:{src:r("5319")}})]:t._e(),"Paypal"===n.payCode?[e("img",{staticStyle:{width:"20px"},attrs:{src:r("ac7b")}})]:t._e(),"Alipay"===n.payCode?[e("img",{staticStyle:{width:"20px"},attrs:{src:r("d342")}})]:t._e(),"WesternUnion"===n.payCode?[e("img",{staticStyle:{width:"40px"},attrs:{src:r("2263")}})]:t._e(),"MoneyGram"===n.payCode?[e("img",{staticStyle:{width:"40px"},attrs:{src:r("b6a1")}})]:t._e(),"BankTransfer"===n.payCode?[e("img",{staticStyle:{width:"40px"},attrs:{src:r("ca4f")}})]:t._e(),e("span",{staticStyle:{display:"inline-block","vertical-align":"text-top"}},["BankTransfer"==n.payCode?[t._v(" "+t._s(t.$t("backend_20"))+" ")]:"WesternUnion"==n.payCode?[t._v(" "+t._s(t.$t("backend_18"))+" ")]:"MoneyGram"==n.payCode?[t._v(" "+t._s(t.$t("backend_19"))+" ")]:"Wechat"==n.payCode?[t._v(" "+t._s(t.$t("backend_13"))+" ")]:"Paypal"==n.payCode?[t._v(" "+t._s(t.$t("backend_15"))+" ")]:"Alipay"==n.payCode?[t._v(" "+t._s(t.$t("backend_14"))+" ")]:t._e()],2)],2)]},proxy:!0},{key:"right-icon",fn:function(){return[e("van-radio",{attrs:{name:n.payCode}})]},proxy:!0}],null,!0)})})),1)],1),e("van-button",{staticClass:"pay-btn",attrs:{round:"",size:"normal",type:"info"},on:{click:t.openPay}},[t._v(t._s(t.$t("components_pay_3")))]),e("van-popup",{style:{height:"20%"},attrs:{position:"bottom"},model:{value:t.confirmPayVisible,callback:function(e){t.confirmPayVisible=e},expression:"confirmPayVisible"}},[e("div",{staticClass:"confirm-wrapper text-normal"},[e("p",{staticStyle:{"font-size":"16px"}},[t._v(t._s(t.$t("components_pay_4")))]),e("p",[t._v(t._s(t.$t("components_pay_5")))]),e("van-button",{staticStyle:{width:"140px","margin-right":"20px"},attrs:{round:"",type:"default",size:"normal"},on:{click:function(e){t.confirmPayVisible=!1}}},[t._v(" "+t._s(t.$t("components_pay_6"))+" ")]),e("van-button",{staticStyle:{width:"120px"},attrs:{round:"",type:"info",size:"normal"},on:{click:t.agreePay}},[t._v(" "+t._s(t.$t("components_pay_7"))+" ")])],1)]),e("van-popup",{style:{height:"300px",width:"90%"},attrs:{closeable:""},model:{value:t.payResultVisible,callback:function(e){t.payResultVisible=e},expression:"payResultVisible"}},[e("div",{staticClass:"result-wrapper"},[e("h2",[t._v(t._s(t.$t("components_pay_8")))]),e("p",{staticClass:"result-info"},[t._v(" "+t._s(t.$t("components_pay_9"))),e("br"),t._v(t._s(t.$t("components_pay_10"))+" ")]),e("van-button",{staticStyle:{width:"80%"},attrs:{round:"",type:"info"},on:{click:t.openPay}},[t._v(t._s(t.$t("components_pay_11")))]),e("div",{staticClass:"text-btn",staticStyle:{color:"#1989fa"},on:{click:t.finishPay}},[t._v(" "+t._s(t.$t("components_pay_12"))+" ")])],1)])],2)}),[],!1,null,"ed6dea2c",null),f=l.exports,y=r("ff64"),m=r("d35d"),h={data:()=>({orderInfo:{},orderDetail:{},pay:1,offlineInfo:{},payList:[],payeeList:[],orderItemList:[],showPay:!1}),components:{pay:f,corderinfo:y.a},created(){Object(m.a)(this.$route.query.orderId).then((t=>{if(t)this.$router.push({path:"/order/detail",query:{id:this.$route.query.orderId}});else{let t={};t.orderId=this.$route.query.orderId,Object(n.e)()&&(t.wechatMiniFlag=!0),Object(o.c)(t).then((t=>{200===t.status?(this.orderInfo=t.data,this.orderDetail=t.data.orderDetail,this.orderItemList=t.data.orderItemList,this.payList=t.data.payList,this.showPay=!0,this.payList.length):this.$message.error(t.msg)}))}})),Object(n.f)()||(this.showGuide=!0)},methods:{}},b=h,_=(r("31f4"),Object(p.a)(b,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-container"},[null!=t.orderInfo.failureTime?e("corderinfo",{attrs:{orderInfo:t.orderInfo,orderDetail:t.orderDetail,orderItemList:t.orderItemList}}):t._e(),t.showPay?[e("pay",{ref:"pay",attrs:{orderInfo:t.orderInfo,payList:t.payList,showTitle:!0}})]:t._e()],2)}),[],!1,null,"90225360",null));e.default=_.exports},"66c7":function(t,e,r){},"6d9b":function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r("d9e2"),r("14d9");class n{static script(t){return void 0===window.__loadScriptQueue&&(window.__loadScriptQueue={}),Array.isArray(window.__loadScriptQueue[t])||(window.__loadScriptQueue[t]=[]),Array.isArray(window.__loadScriptQueue[t])&&window.__loadScriptQueue[t].length>0?new Promise((e=>{window.__loadScriptQueue[t].push(e)})):new Promise((e=>{window.__loadScriptQueue[t].push(e),function(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}(n,this,o).call(this,t,(()=>{for(let e=0;e<window.__loadScriptQueue[t].length;e++)window.__loadScriptQueue[t][e]();window.__loadScriptQueue[t]=[]}))}))}}function o(t,e){"string"==typeof t&&(t=[t]);let r=0;function n(){r++,r===t.length&&e&&e()}t.map((t=>{if(document.querySelector('script[src="'+t+'"]'))n();else{const e=document.createElement("script");e.src=t,e.onload=n,document.querySelector("head").appendChild(e)}}))}},"6dc0":function(t,e,r){"use strict";r("66c7")},"6f19":function(t,e,r){"use strict";var n=r("9112"),o=r("0d26"),i=r("b980"),a=Error.captureStackTrace;t.exports=function(t,e,r,s){i&&(a?a(t,e):n(t,"stack",o(r,s)))}},7156:function(t,e,r){"use strict";var n=r("1626"),o=r("861d"),i=r("d2bb");t.exports=function(t,e,r){var a,s;return i&&n(a=e.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(t,s),t}},7282:function(t,e,r){"use strict";var n=r("e330"),o=r("59ed");t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},"74d7":function(t,e,r){},"9f0c":function(t,e,r){"use strict";r("74d7")},ab36:function(t,e,r){"use strict";var n=r("861d"),o=r("9112");t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},ac7b:function(t,e,r){t.exports=r.p+"static/img/paypal.91bec9dd.png"},aeb0:function(t,e,r){"use strict";var n=r("9bf2").f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},b6a1:function(t,e,r){t.exports=r.p+"static/img/money.a197b883.png"},b980:function(t,e,r){"use strict";var n=r("d039"),o=r("5c6c");t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},c14d:function(t,e,r){},ca4f:function(t,e,r){t.exports=r.p+"static/img/bank.f04a16b2.png"},ce77:function(t,e,r){"use strict";r.d(e,"g",(function(){return a})),r.d(e,"b",(function(){return s})),r.d(e,"a",(function(){return c})),r.d(e,"h",(function(){return d})),r.d(e,"d",(function(){return u})),r.d(e,"e",(function(){return p})),r.d(e,"f",(function(){return l})),r.d(e,"c",(function(){return f}));var n=r("4020"),o=r("0712"),i=r("4260");const a=t=>Object(i.c)()?new Promise((function(t,e){t(o.a)})):Object(n.b)("/fwebapi/order/payMode/initInfo",t),s=t=>Object(n.b)("/fwebapi/order/settle/addUpdateInvoice",t),c=t=>Object(n.b)("/fwebapi/order/settle/addOrder",t),d=t=>Object(i.c)()?new Promise((function(t,e){t(o.b)})):Object(n.b)("/fwebapi/order/shoppingCart/skuItemNew",t),u=t=>Object(n.a)("/fwebapi/order/settle/list",t),p=t=>Object(n.a)("/fwebapi/order/settle/getById",t),l=t=>Object(n.b)("/fwebapi/order/pay/wechat/hasAuth",t),f=t=>Object(n.b)("/fwebapi/order/pay/wechat/auth",t)},d2bb:function(t,e,r){"use strict";var n=r("7282"),o=r("861d"),i=r("1d80"),a=r("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),a(n),o(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},d342:function(t,e,r){t.exports=r.p+"static/img/alipay.487d9586.png"},d35d:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r("3e0f");async function o(t){let e,r={};return r.orderId=t,await Object(n.d)(r).then((t=>{200===t.status?e=t.data.isSuccess:console.log("请求结果出问题了！")})),e}},d9e2:function(t,e,r){"use strict";var n=r("23e7"),o=r("cfe9"),i=r("2ba4"),a=r("e5cb"),s="WebAssembly",c=o[s],d=7!==new Error("e",{cause:7}).cause,u=function(t,e){var r={};r[t]=a(t,e,d),n({global:!0,constructor:!0,arity:1,forced:d},r)},p=function(t,e){if(c&&c[t]){var r={};r[t]=a(s+"."+t,e,d),n({target:s,stat:!0,constructor:!0,arity:1,forced:d},r)}};u("Error",(function(t){return function(e){return i(t,this,arguments)}})),u("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),u("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),u("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),u("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),u("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),u("URIError",(function(t){return function(e){return i(t,this,arguments)}})),p("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),p("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),p("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},e391:function(t,e,r){"use strict";var n=r("577e");t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},e495:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r("3439"),o=r("4260"),i=r("37b0"),a=r("6d9b");class s{static async isWeChatMiniProgram(){return Object(o.e)()}static async toPay(t){var e,r,o;let s={domain:null!==(e=t.domain)&&void 0!==e?e:`${location.protocol}//${location.host}/`,orderId:t.orderId,sessionId:null!==(r=t.sessionId)&&void 0!==r?r:Object(i.a)("psession"),callbackUrl:null!==(o=t.callbackUrl)&&void 0!==o?o:"/sys/payment/result?orderId="+t.orderId},c="/pages/payment/pay",d=Object.keys(s).map((t=>t+"="+encodeURIComponent(s[t]))).join("&");c=c+(c.indexOf("?")<0?"?":"&")+d,a.a.script(n.a.weChatSDK).then((()=>{wx.miniProgram.navigateTo({url:c})}))}}},e5cb:function(t,e,r){"use strict";var n=r("d066"),o=r("1a2d"),i=r("9112"),a=r("3a9b"),s=r("d2bb"),c=r("e893"),d=r("aeb0"),u=r("7156"),p=r("e391"),l=r("ab36"),f=r("6f19"),y=r("83ab"),m=r("c430");t.exports=function(t,e,r,h){var b="stackTraceLimit",_=h?2:1,g=t.split("."),v=g[g.length-1],w=n.apply(null,g);if(w){var I=w.prototype;if(!m&&o(I,"cause")&&delete I.cause,!r)return w;var C=n("Error"),x=e((function(t,e){var r=p(h?e:t,void 0),n=h?new w(t):new w;return void 0!==r&&i(n,"message",r),f(n,x,n.stack,2),this&&a(I,this)&&u(n,this,x),arguments.length>_&&l(n,arguments[_]),n}));if(x.prototype=I,"Error"!==v?s?s(x,C):c(x,C,{name:!0}):y&&b in w&&(d(x,w,b),d(x,w,"prepareStackTrace")),c(x,w),!m)try{I.name!==v&&i(I,"name",v),I.constructor=x}catch(t){}return x}}},ed98:function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return i}));const n=r("96eb"),o=n.mock({data:{orderId:"872535551862824960",userId:"864808182405980160",userName:"测试账号",amount:750,currencySymbol:"C$",createTime:1628070287e3,failureTime:"0",payType:0,payList:[{id:"869217045473714176",payType:3,payName:"Paypal",payCode:"Paypal"}],orderDetail:{id:"870304739062898688",consigneeName:"国外收货地址1",consigneeCountry:"ALB",consigneeProvince:"EL",consigneeCity:"",consigneeCounty:"",consigneeAddr:"阿尔-爱尔街道地址1",consigneePhoneHead:"AF+93",consigneePhone:"139****0803",consigneeTelHead:"",consigneeTel:"",reverseFlag:1},orderItemList:[{orderId:"872535551862824960",orderNo:"20210804174446915300",payableTotalAmount:750,productName:["liangpd02 头像小鸡"]}],serverTime:1628070286729},status:200,msg:"success"}),i=n.mock({data:{orderNumberList:["20210804174446915300"],currencySymbol:"$",sumPayable:7660,isSuccess:!1,memberId:"864808182405980160"},status:200,msg:"success"})},f5df:function(t,e,r){"use strict";var n=r("00ee"),o=r("1626"),i=r("c6b6"),a=r("b622")("toStringTag"),s=Object,c="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:c?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},ff64:function(t,e,r){"use strict";r("14d9");var n={name:"corderinfo",data:()=>({orderTimer:1,timerFormat:"",activeNames:[]}),props:["orderInfo","orderDetail","orderItemList"],mounted(){this.orderTimer=1e3*(this.orderInfo.createTime/1e3+Number(this.orderInfo.failureTime)-this.orderInfo.serverTime/1e3);let t=this.orderTimer/1e3;t/60/60/24>1?this.timerFormat="DD:HH:mm:ss":t/60/60>1?this.timerFormat="HH:mm:ss":t/60>1?this.timerFormat="mm:ss":t>0&&(this.timerFormat="ss")},methods:{finish(){this.$router.push({path:"/order/detail",query:{id:this.orderInfo.orderId}})}}},o=n,i=(r("6dc0"),r("0c7c")),a=Object(i.a)(o,(function(){var t=this,e=t._self._c;return e("div",[e("p",{staticClass:"title text-normal"},[e("span",{staticStyle:{cursor:"pointer"},on:{click:function(e){return t.$router.push("/information/")}}},[t._v(t._s(t.orderInfo.userName))]),t._v(" | "),e("span",{staticStyle:{cursor:"pointer"},on:{click:function(e){return t.$router.push("/order/list")}}},[t._v(t._s(t.$t("commonorderlist")))])]),e("van-divider",{staticStyle:{clear:"both"}}),e("p",{staticClass:"pay-title"},[t._v(t._s(t.$t("payment_components_orderinfo_1"))),e("br"),"0"!==t.orderInfo.failureTime?[t._v(t._s(t.$t("payment_components_orderinfo_2"))+" "),e("span",{staticClass:"text-danger"},[e("van-count-down",{staticStyle:{color:"#f56c6c",display:"inline"},attrs:{time:t.orderTimer},on:{finish:t.finish}})],1),t._v(" "+t._s(t.$t("payment_components_orderinfo_3"))),e("br")]:t._e(),t._v(t._s(t.$t("payment_components_orderinfo_4"))),e("strong",{staticClass:"text-danger"},[t._v(t._s(t.orderInfo.currencySymbol)+t._s(t.$formatNum(t.orderInfo.amount)))])],2),e("van-collapse",{model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},t._l(t.orderItemList,(function(r,n){return e("van-collapse-item",{key:r.orderId,attrs:{name:n},scopedSlots:t._u([{key:"title",fn:function(){return[t._v(t._s(t.$t("payment_components_orderinfo_5",[r.orderNo]))),e("span",{staticClass:"text-blue s_sys_textcolor",staticStyle:{float:"right"}},[t._v(t._s(t.$t("payment_components_orderinfo_7")))])]},proxy:!0}],null,!0)},[e("p",[t._v(t._s(t.$t("payment_components_orderinfo_8"))),t._l(r.productName,(function(r){return e("span",{key:r},[t._v(t._s(r)+",")])}))],2)])})),1)],1)}),[],!1,null,"5654f936",null);e.a=a.exports}}]);