"use strict";const e=require("../../../common/vendor.js"),r=require("../../../sheep/index.js"),s=require("../../../sheep/api/trade/order.js");if(require("../../../sheep/url/index.js"),require("../../../sheep/store/index.js"),require("../../../sheep/store/app.js"),require("../../../sheep/api/promotion/diy.js"),require("../../../sheep/request/index.js"),require("../../../sheep/config/index.js"),require("../../../sheep/platform/index.js"),require("../../../sheep/platform/provider/wechat/index.js"),require("../../../sheep/platform/provider/wechat/miniProgram.js"),require("../../../sheep/api/member/auth.js"),require("../../../sheep/api/member/social.js"),require("../../../sheep/api/member/user.js"),require("../../../sheep/platform/provider/apple/index.js"),require("../../../sheep/platform/share.js"),require("../../../sheep/router/index.js"),require("../../../sheep/hooks/useModal.js"),require("../../../sheep/helper/index.js"),require("../../../sheep/helper/test.js"),require("../../../sheep/helper/digit.js"),require("../../../sheep/api/member/signin.js"),require("../../../sheep/helper/throttle.js"),require("../../../sheep/platform/pay.js"),require("../../../sheep/api/pay/order.js"),require("../../../sheep/store/user.js"),require("../../../sheep/store/cart.js"),require("../../../sheep/api/trade/cart.js"),require("../../../sheep/api/pay/wallet.js"),require("../../../sheep/api/promotion/coupon.js"),require("../../../sheep/store/sys.js"),require("../../../sheep/store/modal.js"),require("../../../sheep/config/zIndex.js"),!Array){(e.resolveComponent("uni-swiper-dot")+e.resolveComponent("s-layout"))()}Math||((()=>"../../../uni_modules/uni-swiper-dot/components/uni-swiper-dot/uni-swiper-dot.js")+(()=>"../../../sheep/components/s-layout/s-layout.js"))();const i={__name:"log",setup(i){const t=e.reactive({info:[],tracks:[]}),p=e.computed((()=>{let e=[];return t.info.items&&t.info.items.forEach((r=>{e.push({image:r.picUrl})})),e}));return e.onLoad((e=>{!async function(e){const{data:r}=await s.OrderApi.getOrderExpressTrackList(e);t.tracks=r}(e.id),async function(e){const{data:r}=await s.OrderApi.getOrder(e);t.info=r}(e.id)})),(s,i)=>e.e({a:p.value.length>0},p.value.length>0?{b:e.f(p.value,((s,i,t)=>({a:e.unref(r.sheep).$url.static(s.image),b:i}))),c:e.p({info:p.value,current:t.current,mode:"round"}),d:e.t(t.info.logisticsNo),e:e.t(t.info.logisticsName),f:e.t(e.unref(r.sheep).$helper.timeFormat(t.info.deliveryTime,"yyyy-mm-dd hh:MM"))}:{},{g:e.f(t.tracks,((s,i,p)=>e.e({a:t.tracks.length-1!==i},(t.tracks.length,{}),{b:e.t(s.content),c:e.t(e.unref(r.sheep).$helper.timeFormat(s.time,"yyyy-mm-dd hh:MM:ss")),d:s.title}))),h:e.p({title:"物流追踪"})})}},t=e._export_sfc(i,[["__scopeId","data-v-8029bf57"]]);wx.createPage(t);
