1 |
- import{d as j,af as x,r as I,k as L,a as t,o as c,c as o,g as a,t as l,O as N,as as T,__tla as q}from"./index-2eab2d23.js";import{i as A,__tla as B}from"./index-3562b2a3.js";import{g as C,__tla as D}from"./index-e7451cd0.js";import{u as E,__tla as F}from"./useMessage-171aa63e.js";import{_ as G}from"./_plugin-vue_export-helper-1b428a4d.js";let U,H=Promise.all([(()=>{try{return q}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return D}catch{}})(),(()=>{try{return F}catch{}})()]).then(async()=>{let n,_,d,m,p,f,g,u,y,v,h;n={key:0,style:{"text-align":"center","margin-top":"50px","font-size":"14px"}},_={key:1,class:"logistics-container"},d={class:"rating-title"},m={key:0,class:"content"},p={class:"content-image"},f=["src"],g={class:"details"},u={class:"product-model"},y={class:"first-aftersale"},v={class:"first-aftersale"},h=["title"],U=G(j({__name:"OrderLogistics",props:{id:x.number.def(void 0),showPickUp:x.bool.def(!0)},setup(w){const P=w,s=I({logs:[]}),k=P.id,O=E(),z=e=>{for(let r=0;r<i.value.length;r++){const b=i.value[r];if(b.id==e)return b.name}},i=I([]);return L(async()=>{(async()=>{if(k){const e=await A(k);e||(O.error("\u4EA4\u6613\u8BA2\u5355\u4E0D\u5B58\u5728"),close()),s.value=e}})(),i.value=await C()}),(e,r)=>t(s).logisticsId==0||t(s).logisticsId==null?(c(),o("div",n," \u8BE5\u8BA2\u5355\u6682\u65E0\u7269\u6D41\u8BB0\u5F55 ")):(c(),o("div",_,[a("h3",d,l(t(s).logisticsNo),1),t(s).picUrl?(c(),o("div",m,[a("div",p,[a("img",{src:t(s).picUrl,alt:"\u8BC4\u4EF7\u56FE\u7247"},null,8,f)])])):N("",!0),a("div",g,[a("p",u,l(z(t(s).logisticsId)),1),a("p",y,"\u8FD0\u8D39\uFF1A"+l(t(T)(t(s).deliveryPrice))+"\u5143",1),a("p",v,"\u53D1\u8D27\u65F6\u95F4\uFF1A"+l(t(s).deliveryType),1),a("p",{class:"logistics-comment",title:t(s).remark},"\u5907\u6CE8\uFF1A"+l(t(s).remark),9,h)])]))}}),[["__scopeId","data-v-b8bf8c5f"]])});export{H as __tla,U as default};
|