import{C as t,p as s,o as a,e,w as d,s as o,b as i,i as _,y as r,z as n,k as u,f as l,h as c,F as m,B as p,d as f,m as g}from"./index-520dfaee.js";import{_ as x}from"./s-goods-item.cceb2670.js";import{a as y}from"./s-layout.5146c957.js";import{_ as k}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                     */const v=k({__name:"content",setup(k){const v=t({data:[]});return s((async t=>{!async function(t,s){const{code:a,data:e}=await o.$api.order.itemDetail({id:t,item_id:s});1===a&&(v.data=e)}(t.id,t.item_id)})),(t,s)=>{const o=p,k=i(f("s-goods-item"),x),b=g,h=i(f("s-layout"),y);return a(),e(h,{title:"发货内容"},{default:d((()=>[_(b,{class:"order-card ss-m-x-20 ss-r-20"},{default:d((()=>[_(k,{img:v.data.goods_image,title:v.data.goods_title,skuText:v.data.goods_sku_text,price:v.data.goods_price,num:v.data.goods_num,radius:"20"},{priceSuffix:d((()=>[v.data.status_text?(a(),e(o,{key:0,class:"ss-reset-button tag-btn"},{default:d((()=>[r(n(v.data.status_text),1)])),_:1})):u("",!0)])),_:1},8,["img","title","skuText","price","num"])])),_:1}),_(b,{class:"bg-white ss-p-20 ss-m-x-20 ss-r-20"},{default:d((()=>{var t;return[_(b,{class:"title ss-m-b-26"},{default:d((()=>[r("发货信息")])),_:1}),"params"===(null==(t=v.data.ext)?void 0:t.dispatch_content_type)?(a(),e(b,{key:0},{default:d((()=>[(a(!0),l(m,null,c(v.data.ext.dispatch_content,(t=>(a(),e(b,{class:"desc ss-m-b-20",key:t},{default:d((()=>[r(n(t.title)+": "+n(t.content),1)])),_:2},1024)))),128))])),_:1})):(a(),e(b,{key:1,class:"desc"},{default:d((()=>{var t;return[r(n(null==(t=v.data.ext)?void 0:t.dispatch_content),1)]})),_:1}))]})),_:1})])),_:1})}}},[["__scopeId","data-v-7463a124"]]);export{v as default};
