1 |
- import{d as v,Y as j,r as y,b as B,s as N,l as E,a as e,o as t,A as a,B as u,C as c,f as n,a0 as _,E as p,X as k}from"./index-b8922f5d.js";import{_ as w}from"./ContentWrap.vue_vue_type_script_setup_true_lang-b3fd0fde.js";import"./index-729fb2fd.js";import S from"./AfterSaleBaseInfo-92d3536d.js";import h from"./AfterSaleLog-d269da4e.js";import q from"./AfterSaleRetrun-9335be4e.js";import x from"./AfterSaleInfo-ae4b01c5.js";import A from"./AfterSaleSpuInfo-018ebcad.js";import{T as C,a as F}from"./index-bbd9a0a3.js";import{_ as I}from"./_plugin-vue_export-helper-1b428a4d.js";import"./el-card-e8cb81af.js";import"./index-52ccffe7.js";import"./dict-592714ae.js";import"./el-descriptions-item-977a3bff.js";import"./el-timeline-item-638f330f.js";import"./formatTime-60385242.js";import"./el-image-15fd1f14.js";import"./el-image-viewer-63615958.js";import"./index-d8069e84.js";import"./useMessage-430097f4.js";const J={class:"top",style:{position:"relative",overflow:"hidden"}},M={class:"bottom"},O=I(v({name:"ProductSpuForm",__name:"AfterSaleMobileTab",setup(P){const i=j();console.log(i.query);const r=i.query.type,s=JSON.parse(i.query.obj),d=y(!1),o=y("info");return B(()=>{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)"}),(U,l)=>{const m=C,f=F,g=w,T=k;return E((t(),a(g,{style:{"overflow-y":"auto"},class:"ContentWrap"},{default:u(()=>[c("div",J,[n(f,{active:e(o),"onUpdate:active":l[0]||(l[0]=b=>_(o)?o.value=b:null)},{default:u(()=>[n(m,{title:"\u8BA2\u5355\u4FE1\u606F",name:"info"}),n(m,{title:"\u5546\u54C1\u4FE1\u606F",name:"spu"}),n(m,{title:"\u552E\u540E\u4FE1\u606F",name:"afterinfo"}),n(m,{title:"\u9000\u6B3E\u72B6\u6001",name:"return"}),n(m,{title:"\u552E\u540E\u65E5\u5FD7",name:"afterlog"})]),_:1},8,["active"])]),c("div",M,[e(o)=="info"?(t(),a(S,{key:0,obj:e(s),openType:e(r)},null,8,["obj","openType"])):p("",!0),e(o)=="spu"?(t(),a(A,{key:1,obj:e(s),openType:e(r)},null,8,["obj","openType"])):p("",!0),e(o)=="afterinfo"?(t(),a(x,{key:2,obj:e(s),openType:e(r)},null,8,["obj","openType"])):p("",!0),e(o)=="return"?(t(),a(q,{key:3,obj:e(s),openType:e(r)},null,8,["obj","openType"])):p("",!0),e(o)=="afterlog"?(t(),a(h,{key:4,obj:e(s),openType:e(r)},null,8,["obj","openType"])):p("",!0)])]),_:1})),[[T,e(d)]])}}}),[["__scopeId","data-v-c7511c3e"]]);export{O as default};
|