PageSourceSearch

https://static-cos.mureka.ai/cos-prod/mureka/static/js/pay_result_cn-DyForGFo.js

js mureka.ai collected 2026-09-24 09:24:12 UTC 2,551 bytes, 1 lines download raw bytes

1import{_ as a,u as e,C as s,e8 as t,K as l,e7 as r}from"./index-DIXwfVMT.js";import{r as i,aA as c,f as o,Q as n,x as p,G as u,B as d,O as v,u as y,U as m,K as _,g as f,au as g,y as x,a2 as b}from"./vendor-core-DockhpYX.js";import"./i18n-misc-CJ8HFqLU.js";import"./axios-C-1G2k3o.js";import"./element-plus-CADUlNlv.js";import"./@ffmpeg-CcTuH-sP.js";import"./@paypal-DitgUCQS.js";const h={class:"pay-result"},k={key:0,class:"loading"},j={class:"text"},I={key:1,class:"success"},w={class:"text"},C={key:2,class:"fail"},U={class:"btn-box"},$=a({__name:"pay_result_cn",setup(a){var $,P,q;const z=null==($=f())?void 0:$.appContext.config.globalProperties,{$$t:A}=(null==z?void 0:z.$i18n)??{},K=e(),O=c(),S=g(),B=i(0),D=i(!1),G=null==(P=null==O?void 0:O.query)?void 0:P.order_id;null==(q=null==O?void 0:O.query)||q.type;let L=null,Q=0,R={};const E=()=>{if(Q>=9)return B.value=5,void clearInterval(L);Q++,t.mineOrderDetail({order_id:G}).then(a=>{if(200==a.code){const{data:{state:e,product:s}}=a;R=s,4==e&&(clearInterval(L),F())}})},F=()=>{"normal"==R.category&&"lora"==R.p_group?S.replace({name:"create"}):("normal"==R.category&&"lora"!=R.p_group||"subscription"==R.category)&&(K.getUserInfo(),K.refreshUserAccount(),r(),S.replace({name:"subscribe"}))},H=async a=>{if("pay"===a){if(D.value)return;D.value=!0;try{await l.userPaySuccess()}catch(e){}finally{D.value=!1}}F()};return o(()=>{const a=(e="auth_key",new URLSearchParams(window.location.search).get(e)??"");var e;a&&(document.cookie=`skm_session=${a};path=/`),G&&(L=setInterval(E,5e3),E())}),n(()=>{L&&clearInterval(L)}),(a,e)=>(x(),p("div",h,[0==B.value?(x(),p("div",k,[e[1]||(e[1]=d("div",{class:"icon-box"},[d("div",{class:"icon"})],-1)),d("div",j,v(y(A)("payment.checking")),1)])):u("",!0),1==B.value?(x(),p("div",I,[e[2]||(e[2]=d("div",{class:"icon-box"},[d("div",{class:"icon"})],-1)),d("div",w,v(y(A)("payment.payment_successful")),1)])):u("",!0),5==B.value?(x(),p("div",C,[e[3]||(e[3]=d("div",{class:"text"},"未查询到您的支付成功状态",-1)),e[4]||(e[4]=d("div",{class:"text"},"如已付款,请点击“我已付款",-1)),e[5]||(e[5]=d("div",{class:"text"},"我们将尽快核实并激活您的付款状态",-1)),d("div",U,[m(y(s),{class:"pay-result-btn",type:"primary",size:"large",onClick:e[0]||(e[0]=a=>H("pay"))},{default:_(()=>[b(v(y(A)("payment.i_have_paid")),1)]),_:1}),m(y(s),{class:"pay-result-btn",type:"primary",size:"large",onClick:H},{default:_(()=>[b(v(y(A)("payment.not_paid")),1)]),_:1})])])):u("",!0)]))}},[["__scopeId","data-v-618b8c99"]]);export{$ as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.