1 |
- import{a as t,b as e,w as s,d as a,J as l,x as i,e as o,f as n,u as d,s as r,l as _,i as u,v as c,o as p,am as m,j as f,y,z as x,F as g,k as b}from"./index-0d77224a.js";import{_ as j}from"./s-layout.a2dc8218.js";import{_ as v}from"./_plugin-vue_export-helper.1b428a4d.js";import"./s-layout.vue_vue_type_style_index_0_scoped_0789db2f_lang.0894251f.js";import"./phone-international-input.vue_vue_type_style_index_0_scoped_a2d557af_lang.5383eb65.js";import"./s-tabbar.a1f477e6.js";import"./useGoods.40d21401.js";import"./phone-international-input.3630e35a.js";const h=v({__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-bbeb067c"]]),k=v({__name:"log",setup(l){const i=c({list:[]});return p((t=>{i.aftersaleId=t.id,async function(t){const{data:e}=await m.getAfterSaleLogList(t);i.list=e}(t.id)})),(l,o)=>{const n=u,d=f(b("s-layout"),j);return t(),e(d,{title:l.$t("order.after_sales_progress")},{default:s((()=>[a(n,{class:"log-box"},{default:s((()=>[(t(!0),y(g,null,x(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-86afd578"]]);export{k as default};
|