1 |
- import{d as j,L as B,r as u,x as N,y as _,h as d,B as E,a as e,o,j as s,w as c,k as f,i as r,P as k,l as m,K as w}from"./index-6d906b8a.js";import{_ as h}from"./ContentWrap.vue_vue_type_script_setup_true_lang-3e2a4d47.js";import x from"./PayOrderBaseInfo-30564937.js";import F from"./PayOrderPayInfo-5b7cfa83.js";import q from"./PayOrderReturnInfo-82d234cd.js";import{_ as P}from"./_plugin-vue_export-helper-1b428a4d.js";import"./el-card-dcb0121c.js";import"./dict-1d5b7a74.js";import"./index-c77808c7.js";import"./formatTime-b48ce278.js";const R={class:"top",style:{position:"relative",overflow:"hidden"}},S={class:"bottom"},O=P(j({name:"ProductSpuForm",__name:"PayOrderMobileTab",setup(C){const p=B(),n=p.query.type,i=JSON.parse(p.query.obj),v=u(!1),t=u("info");return N(()=>{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"}),_(()=>{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 l=d("van-tab"),g=d("van-tabs"),b=h,T=w;return E((o(),s(b,{style:{"overflow-y":"auto"},class:"ContentWrap"},{default:c(()=>[f("div",R,[r(g,{active:e(t),"onUpdate:active":y[0]||(y[0]=D=>k(t)?t.value=D:null)},{default:c(()=>[r(l,{title:"\u57FA\u672C\u4FE1\u606F",name:"info"}),r(l,{title:"\u652F\u4ED8\u4FE1\u606F",name:"pay"}),r(l,{title:"\u5F02\u6B65\u56DE\u8C03\u5185\u5BB9",name:"return"})]),_:1},8,["active"])]),f("div",S,[e(t)=="info"?(o(),s(x,{key:0,obj:e(i),ref:"userFormRef",isDetail:a.isDetail,openType:e(n),avatar:a.avatar},null,8,["obj","isDetail","openType","avatar"])):m("",!0),e(t)=="pay"?(o(),s(F,{key:1,obj:e(i),ref:"userFormRef",isDetail:a.isDetail,openType:e(n),avatar:a.avatar},null,8,["obj","isDetail","openType","avatar"])):m("",!0),e(t)=="return"?(o(),s(q,{key:2,obj:e(i),ref:"userFormRef",isDetail:a.isDetail,openType:e(n),avatar:a.avatar},null,8,["obj","isDetail","openType","avatar"])):m("",!0)])]),_:1})),[[T,e(v)]])}}}),[["__scopeId","data-v-66753670"]]);export{O as default};
|