import{C as s,p as e,o as a,e as t,w as l,s as r,b as o,i as d,y as n,z as u,f as c,h as i,F as p,m as _,d as f,u as x,k as m,l as g,S as b}from"./index-520dfaee.js";import{_ as y}from"./su-sticky.4736fd36.js";import{a as h}from"./s-layout.5146c957.js";import{_ as k}from"./_plugin-vue_export-helper.1b428a4d.js";const I=k({__name:"list",setup(k){const I=s({list:[],orderId:""});return e((s=>{I.orderId=s.orderId,async function(s){const{data:e}=await r.$api.order.express.list(s);I.list=e}(I.orderId)})),(s,e)=>{const k=_,v=o(f("su-sticky"),y),w=g,j=b,C=o(f("s-layout"),h);return a(),t(C,{title:"物流包裹"},{default:l((()=>[d(k,{class:"express-wrap"},{default:l((()=>[d(v,{bgColor:"#FFE2B6"},{default:l((()=>[d(k,{class:"header ss-flex ss-p-l-24"},{default:l((()=>[n(u(I.list.length)+"个包裹已派送",1)])),_:1})])),_:1}),(a(!0),c(p,null,i(I.list,(s=>(a(),t(k,{class:"express-box",key:s.type,onClick:e=>x(r).$router.go("/pages/order/express/log",{id:s.id,orderId:I.orderId})},{default:l((()=>[d(k,{class:"express-box-header ss-flex ss-row-between"},{default:l((()=>[d(k,{class:"express-box-header-type"},{default:l((()=>[n(u(s.status_text),1)])),_:2},1024),d(k,{class:"express-box-header-num"},{default:l((()=>[n(u(s.express_name+" : "+s.express_no),1)])),_:2},1024)])),_:2},1024),d(k,{class:"express-box-content"},{default:l((()=>{var e;return[d(k,{class:"content-address"},{default:l((()=>{var e;return[n(u(null==(e=s.logs[0])?void 0:e.content),1)]})),_:2},1024),(null==(e=s.items)?void 0:e.length)?(a(),t(k,{key:0,class:""},{default:l((()=>[d(j,{class:"scroll-box","scroll-x":"","scroll-anchoring":""},{default:l((()=>[d(k,{class:"ss-flex"},{default:l((()=>[(a(!0),c(p,null,i(s.items,(s=>(a(),t(k,{key:s,class:"ss-m-r-20"},{default:l((()=>[d(w,{class:"content-img",src:x(r).$url.static(s.goods_image)},null,8,["src"])])),_:2},1024)))),128))])),_:2},1024)])),_:2},1024)])),_:2},1024)):m("",!0)]})),_:2},1024),d(k,{class:"express-box-foot"},{default:l((()=>[n("共"+u(s.items.length)+"件商品",1)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-b32e982b"]]);export{I as default};
