pages-order-aftersale-log.BeGwoe3Q.js 1.8 KB

1
  1. import{e as t,d as e,w as s,f as a,J as l,x as i,g as o,j as n,u as d,s as r,l as _,i as u,v as c,o as p,a as m,b as f,am as y,y as x,z as g,F as j}from"./index-GG3wbp_l.js";import{_ as v}from"./s-layout.D_7slFnG.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./s-layout.vue_vue_type_style_index_0_scoped_d5f7c468_lang.52qZkhgC.js";import"./phone-international-input.vue_vue_type_style_index_0_scoped_a793e264_lang.CBIXRq2C.js";import"./s-tabbar.CZu-2u-H.js";import"./useGoods.pQoQk4F9.js";import"./phone-international-input.Dq-FdFh0.js";const h=b({__name:"log-item",props:{item:{type:Object,default(){}},index:{type:Number,default:0},data:{type:Object,default(){}}},setup:c=>(p,m)=>{const f=_,y=u;return t(),e(y,{class:"log-item ss-flex"},{default:s((()=>[a(y,{class:"log-icon ss-flex-col ss-col-center ss-m-r-20"},{default:s((()=>[a(f,{class:l(["cicon-title",0===c.index?"activity-color":""])},null,8,["class"]),c.data.length-1!==c.index?(t(),e(y,{key:0,class:"line"})):i("",!0)])),_:1}),a(y,null,{default:s((()=>[a(y,{class:"text"},{default:s((()=>[o(n(c.item.content),1)])),_:1}),a(y,{class:"date"},{default:s((()=>[o(n(d(r).$helper.timeFormat(c.item.createTime,"yyyy-mm-dd hh:MM:ss")),1)])),_:1})])),_:1})])),_:1})}},[["__scopeId","data-v-bc3922ca"]]),F=b({__name:"log",setup(l){const i=c({list:[]});return p((t=>{i.aftersaleId=t.id,async function(t){const{data:e}=await y.getAfterSaleLogList(t);i.list=e}(t.id)})),(l,o)=>{const n=u,d=m(f("s-layout"),v);return t(),e(d,{title:l.$t("order.after_sales_progress")},{default:s((()=>[a(n,{class:"log-box"},{default:s((()=>[(t(!0),x(j,null,g(i.list,((l,o)=>(t(),e(n,{key:l.id},{default:s((()=>[a(h,{item:l,index:o,data:i.list},null,8,["item","index","data"])])),_:2},1024)))),128))])),_:1})])),_:1},8,["title"])}}},[["__scopeId","data-v-d0623624"]]);export{F as default};