OrderMobileIndex-0da2c90c.js 3.6 KB

1
  1. import{d as B,ap as E,r as n,b as R,s as T,l as _,a as e,o,A as a,B as p,X as D,C as f,f as r,a0 as N,E as l}from"./index-d699e49b.js";import{_ as I}from"./ContentWrap.vue_vue_type_script_setup_true_lang-f88f7d38.js";import"./index-b25103c2.js";import S from"./OrderBaseInfo-af0623d7.js";import w from"./OrderProduct-0aae0a62.js";import x from"./OrderComment-da1a09aa.js";import h from"./OrderService-12323cd1.js";import{A as O}from"./AfterSale-74301b63.js";import A from"./OrderLogistics-11a62e55.js";import C from"./orderPay-c8efda2f.js";import j from"./OrderLogs-f0f703a4.js";import{T as q,a as F}from"./index-00791b5f.js";import{_ as M}from"./_plugin-vue_export-helper-1b428a4d.js";import"./el-card-6b272277.js";import"./SPuUploadImg-cba20fcc.js";import"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-4d222a4b.js";import"./index-3d84c993.js";import"./el-image-viewer-a96f07b6.js";import"./useMessage-28fef0d4.js";import"./index-b724fe30.js";import"./formatTime-48bd366a.js";import"./dict-283fdba2.js";import"./el-descriptions-item-df86b3b1.js";import"./DictTag.vue_vue_type_script_lang-50d6728c.js";import"./color-6e929987.js";import"./el-image-e35dab91.js";import"./index.vue_vue_type_script_setup_true_lang-e6497995.js";import"./index-61a8ddca.js";import"./index-0539200a.js";import"./el-timeline-item-05982f5e.js";import"./index-d6983994.js";const P={class:"top",style:{position:"relative",overflow:"hidden"}},U={class:"bottom"},W=M(B({name:"ProductSpuForm",__name:"OrderMobileIndex",props:{id:E.number.def(void 0)},setup(c){const u=n(!1),t=n("info"),i=n(0),y=c;return i.value=y.id,R(()=>{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"}),T(()=>{document.getElementsByTagName("section")[1].style.width="auto",document.getElementsByTagName("section")[1].style.padding="20px",document.getElementsByTagName("section")[1].style.background="var(--el-color-white)"}),(m,d)=>{const s=q,g=F,v=I,k=D;return _((o(),a(v,{style:{"overflow-y":"auto"},class:"ContentWrap"},{default:p(()=>[f("div",P,[r(g,{active:e(t),"onUpdate:active":d[0]||(d[0]=b=>N(t)?t.value=b:null)},{default:p(()=>[r(s,{title:"\u57FA\u672C\u4FE1\u606F",name:"info"}),r(s,{title:"\u5546\u54C1",name:"product"}),r(s,{title:"\u8BC4\u4EF7",name:"comment"}),r(s,{title:"\u5BA2\u670D",name:"service"}),r(s,{title:"\u552E\u540E",name:"afterSale"}),r(s,{title:"\u7269\u6D41",name:"logistics"}),r(s,{title:"\u652F\u4ED8",name:"pay"}),r(s,{title:"\u65E5\u5FD7",name:"logs"})]),_:1},8,["active"])]),f("div",U,[e(t)=="info"?(o(),a(S,{key:0,ref:"baseInfoRef","is-detail":!1,id:e(i)},null,8,["id"])):l("",!0),e(t)=="product"?(o(),a(w,{key:1,ref:"infoRef","is-detail":m.isDetail,id:e(i)},null,8,["is-detail","id"])):l("",!0),e(t)=="comment"?(o(),a(x,{key:2,ref:"infoRef","is-detail":m.isDetail,id:e(i)},null,8,["is-detail","id"])):l("",!0),e(t)=="service"?(o(),a(h,{key:3,ref:"infoRef","is-detail":m.isDetail,id:e(i)},null,8,["is-detail","id"])):l("",!0),e(t)=="afterSale"?(o(),a(O,{key:4,orderId:e(i),openSource:"Order"},null,8,["orderId"])):l("",!0),e(t)=="logistics"?(o(),a(A,{key:5,ref:"infoRef","is-detail":m.isDetail,id:e(i)},null,8,["is-detail","id"])):l("",!0),e(t)=="pay"?(o(),a(C,{key:6,ref:"infoRef","is-detail":m.isDetail,id:e(i)},null,8,["is-detail","id"])):l("",!0),e(t)=="logs"?(o(),a(j,{key:7,ref:"infoRef","is-detail":m.isDetail,id:e(i)},null,8,["is-detail","id"])):l("",!0)])]),_:1})),[[k,e(u)]])}}}),[["__scopeId","data-v-1d510f3e"]]);export{W as default};