pages-order-aftersale-log.56d2d310.js 1.6 KB

1
  1. import{f as t,g as s,w as e,k as a,E as l,i,u as o,v as d,x as n,s as c,I as u,j as r,z as m,o as f,ao as p,m as _,l as x,r as y,F as g,n as b}from"./index-19c286a2.js";import{_ as j}from"./s-layout.d844755c.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.ab2d3a0d.js";import"./useGoods.3ad97ac6.js";const v=h({__name:"log-item",props:{item:{type:Object,default(){}},index:{type:Number,default:0},data:{type:Object,default(){}}},setup:m=>(f,p)=>{const _=u,x=r;return t(),s(x,{class:"log-item ss-flex"},{default:e((()=>[a(x,{class:"log-icon ss-flex-col ss-col-center ss-m-r-20"},{default:e((()=>[a(_,{class:l(["cicon-title",0===m.index?"activity-color":""])},null,8,["class"]),m.data.length-1!==m.index?(t(),s(x,{key:0,class:"line"})):i("",!0)])),_:1}),a(x,null,{default:e((()=>[a(x,{class:"text"},{default:e((()=>[o(d(m.item.content),1)])),_:1}),a(x,{class:"date"},{default:e((()=>[o(d(n(c).$helper.timeFormat(m.item.createTime,"yyyy-mm-dd hh:MM:ss")),1)])),_:1})])),_:1})])),_:1})}},[["__scopeId","data-v-bbeb067c"]]),I=h({__name:"log",setup(l){const i=m({list:[]});return f((t=>{i.aftersaleId=t.id,async function(t){const{data:s}=await p.getAfterSaleLogList(t);i.list=s}(t.id)})),(l,o)=>{const d=r,n=_(b("s-layout"),j);return t(),s(n,{title:"售后进度"},{default:e((()=>[a(d,{class:"log-box"},{default:e((()=>[(t(!0),x(g,null,y(i.list,((l,o)=>(t(),s(d,{key:l.id},{default:e((()=>[a(v,{item:l,index:o,data:i.list},null,8,["item","index","data"])])),_:2},1024)))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-b61de3f9"]]);export{I as default};