!function(){var e=document.createElement("style");e.innerHTML="._payCenter_19c4e_1{min-height:100vh;overflow:hidden}._error-icon_19c4e_5{display:block;color:#ffb07b;font-size:.8rem;margin-bottom:.8rem;font-weight:700}._error-text_19c4e_12{font-size:.4rem;width:100%;text-align:center;color:#3f3f3f;margin-top:2.66667rem}\n",document.head.appendChild(e),System.register(["./index-legacy.77fd7daf.js"],(function(e){"use strict";var r,n,t,o,c,i,a,d,u,p;return{setters:[function(e){r=e.d,n=e.P,t=e.O,o=e.Q,c=e.U,i=e.j,a=e.M,d=e.f,u=e.bL,p=e.bM}],execute:function(){var l="_payCenter_19c4e_1",y="_error-icon_19c4e_5",_="_error-text_19c4e_12";e("default",r({name:"pay-center",setup:function(){var e=n(),r=t(),f=o({errorText:"",code:null,pay_channel:r.query.pay_channel,wxAppId:r.query.wxAppId,body:r.query.body,price:r.query.price,orderNo:r.query.orderNo,userId:r.query.userId}),s=function(){e.replace({path:"/payDefine",query:{pay_channel:f.pay_channel,wxAppId:f.wxAppId,body:f.body,price:f.price,code:f.code,orderNo:f.orderNo,userId:f.userId}})};return c((function(){!function(){var e=f.pay_channel;if(d().weixin)if("wx_pub"===e){var r=u();console.log(r),r?(f.code=r,s()):p(f.wxAppId),document.title="微信支付"}else"alipay_qr"==e&&(f.errorText="请使用支付宝扫码");else d().alipay?"wx_pub"===e?f.errorText="请使用微信扫码":"alipay_qr"==e&&(document.title="支付宝支付",s()):f.errorText="请在微信或支付宝客户端打开";f.errorText&&(document.title="ERROR")}()})),function(){return i("div",{class:l},[i("div",{class:_},[f.errorText&&i(a,{class:y,name:"warning-o"},null),f.errorText])])}}}))}}}))}();
