PayOrderMobileTab-085919f4.js 2.3 KB

1
  1. import{d as D,Y as B,r as u,b as E,s as N,l as _,a as e,o,A as s,B as c,C as d,f as r,a0 as j,E as p,X as k}from"./index-d82a5fba.js";import{_ as w}from"./ContentWrap.vue_vue_type_script_setup_true_lang-8d1cbd74.js";import"./index-343ddf84.js";import x from"./PayOrderBaseInfo-fed4f90f.js";import h from"./PayOrderPayInfo-91615da0.js";import q from"./PayOrderReturnInfo-5e5b2f56.js";import{T as F,a as P}from"./index-9cf6da43.js";import{_ as R}from"./_plugin-vue_export-helper-1b428a4d.js";import"./el-card-6ad438fb.js";import"./dict-8e02ceeb.js";import"./index-86ad43d8.js";import"./formatTime-029989fa.js";const S={class:"top",style:{position:"relative",overflow:"hidden"}},C={class:"bottom"},O=R(D({name:"ProductSpuForm",__name:"PayOrderMobileTab",setup(A){const i=B();console.log(i.query);const n=i.query.type,l=JSON.parse(i.query.obj),f=u(!1),t=u("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"}),N(()=>{document.getElementsByTagName("section")[1].style.width="auto",document.getElementsByTagName("section")[1].style.padding="20px",document.getElementsByTagName("section")[1].style.background="var(--el-color-white)"}),(a,y)=>{const m=F,v=P,g=w,b=k;return _((o(),s(g,{style:{"overflow-y":"auto"},class:"ContentWrap"},{default:c(()=>[d("div",S,[r(v,{active:e(t),"onUpdate:active":y[0]||(y[0]=T=>j(t)?t.value=T:null)},{default:c(()=>[r(m,{title:"\u57FA\u672C\u4FE1\u606F",name:"info"}),r(m,{title:"\u652F\u4ED8\u4FE1\u606F",name:"pay"}),r(m,{title:"\u5F02\u6B65\u56DE\u8C03\u5185\u5BB9",name:"return"})]),_:1},8,["active"])]),d("div",C,[e(t)=="info"?(o(),s(x,{key:0,obj:e(l),ref:"userFormRef",isDetail:a.isDetail,openType:e(n),avatar:a.avatar},null,8,["obj","isDetail","openType","avatar"])):p("",!0),e(t)=="pay"?(o(),s(h,{key:1,obj:e(l),ref:"userFormRef",isDetail:a.isDetail,openType:e(n),avatar:a.avatar},null,8,["obj","isDetail","openType","avatar"])):p("",!0),e(t)=="return"?(o(),s(q,{key:2,obj:e(l),ref:"userFormRef",isDetail:a.isDetail,openType:e(n),avatar:a.avatar},null,8,["obj","isDetail","openType","avatar"])):p("",!0)])]),_:1})),[[b,e(f)]])}}}),[["__scopeId","data-v-66753670"]]);export{O as default};