PayOrderMobileTab-e849a02c.js 2.7 KB

1
  1. import{d as j,N as B,r as p,z as E,A as k,h as d,D as w,a as t,o as r,j as o,w as f,k as v,i as s,R as F,l as _,M as R,__tla as q}from"./index-1e808f2e.js";import{_ as x,__tla as P}from"./ContentWrap.vue_vue_type_script_setup_true_lang-cc335a20.js";import S,{__tla as M}from"./PayOrderBaseInfo-30bcf17b.js";import O,{__tla as z}from"./PayOrderPayInfo-93f48a9e.js";import A,{__tla as C}from"./PayOrderReturnInfo-24a0984c.js";import{_ as I}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as J}from"./el-card-03b3588b.js";import{__tla as U}from"./dict-a31cb4ba.js";import{__tla as W}from"./index-c506407b.js";import{__tla as G}from"./formatTime-a348c3be.js";let g,H=Promise.all([(()=>{try{return q}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return G}catch{}})()]).then(async()=>{let m,c;m={class:"top",style:{position:"relative",overflow:"hidden"}},c={class:"bottom"},g=I(j({name:"ProductSpuForm",__name:"PayOrderMobileTab",setup(K){const y=B(),l=y.query.type,n=JSON.parse(y.query.obj),b=p(!1),a=p("info");return E(()=>{document.getElementsByTagName("section")[1].style.padding="0px",document.getElementsByTagName("section")[1].style.width="100%",document.getElementsByTagName("section")[1].style.background="#f5f7f9",document.getElementsByTagName("section")[1].querySelector("div").style.border="none"}),k(()=>{document.getElementsByTagName("section")[1].style.width="auto",document.getElementsByTagName("section")[1].style.padding="20px",document.getElementsByTagName("section")[1].style.background="var(--el-color-white)"}),(e,u)=>{const i=d("van-tab"),h=d("van-tabs"),T=x,D=R;return w((r(),o(T,{style:{"overflow-y":"auto"},class:"ContentWrap"},{default:f(()=>[v("div",m,[s(h,{active:t(a),"onUpdate:active":u[0]||(u[0]=N=>F(a)?a.value=N:null)},{default:f(()=>[s(i,{title:"\u57FA\u672C\u4FE1\u606F",name:"info"}),s(i,{title:"\u652F\u4ED8\u4FE1\u606F",name:"pay"}),s(i,{title:"\u5F02\u6B65\u56DE\u8C03\u5185\u5BB9",name:"return"})]),_:1},8,["active"])]),v("div",c,[t(a)=="info"?(r(),o(S,{key:0,obj:t(n),ref:"userFormRef",isDetail:e.isDetail,openType:t(l),avatar:e.avatar},null,8,["obj","isDetail","openType","avatar"])):_("",!0),t(a)=="pay"?(r(),o(O,{key:1,obj:t(n),ref:"userFormRef",isDetail:e.isDetail,openType:t(l),avatar:e.avatar},null,8,["obj","isDetail","openType","avatar"])):_("",!0),t(a)=="return"?(r(),o(A,{key:2,obj:t(n),ref:"userFormRef",isDetail:e.isDetail,openType:t(l),avatar:e.avatar},null,8,["obj","isDetail","openType","avatar"])):_("",!0)])]),_:1})),[[D,t(b)]])}}}),[["__scopeId","data-v-74b51f8a"]])});export{H as __tla,g as default};