AfterSaleMobileTab-5d485a59.js 2.7 KB

1
  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-d82a5fba.js";import{_ as w}from"./ContentWrap.vue_vue_type_script_setup_true_lang-8d1cbd74.js";import"./index-343ddf84.js";import S from"./AfterSaleBaseInfo-742020e3.js";import h from"./AfterSaleLog-e1bd7b5c.js";import q from"./AfterSaleRetrun-ef63a2c0.js";import x from"./AfterSaleInfo-52596ea0.js";import A from"./AfterSaleSpuInfo-1cc779df.js";import{T as C,a as F}from"./index-9cf6da43.js";import{_ as I}from"./_plugin-vue_export-helper-1b428a4d.js";import"./el-card-6ad438fb.js";import"./index-07fa1bef.js";import"./dict-8e02ceeb.js";import"./el-descriptions-item-441788d5.js";import"./el-timeline-item-3a3db8f5.js";import"./formatTime-029989fa.js";import"./el-image-11177953.js";import"./el-image-viewer-bc9aa45f.js";import"./index-9c8125db.js";import"./useMessage-32e95b00.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};