"use strict";const e=require("../../../common/vendor.js"),r=require("../../index.js");if(require("../../url/index.js"),require("../../store/index.js"),require("../../store/app.js"),require("../../api/promotion/diy.js"),require("../../request/index.js"),require("../../config/index.js"),require("../../platform/index.js"),require("../../platform/provider/wechat/index.js"),require("../../platform/provider/wechat/miniProgram.js"),require("../../api/member/auth.js"),require("../../api/member/social.js"),require("../../api/member/user.js"),require("../../platform/provider/apple/index.js"),require("../../platform/share.js"),require("../../router/index.js"),require("../../hooks/useModal.js"),require("../../helper/index.js"),require("../../helper/test.js"),require("../../helper/digit.js"),require("../../api/member/signin.js"),require("../../helper/throttle.js"),require("../../platform/pay.js"),require("../../api/pay/order.js"),require("../../store/user.js"),require("../../store/cart.js"),require("../../api/trade/cart.js"),require("../../api/pay/wallet.js"),require("../../api/trade/order.js"),require("../../api/promotion/coupon.js"),require("../../store/sys.js"),require("../../store/modal.js"),require("../../config/zIndex.js"),!Array){e.resolveComponent("uni-badge")()}Math;const t={__name:"s-order-card",setup(t){const i=[{title:"待付款",value:"1",icon:"/static/images/no_pay.png",path:"/pages/order/list",type:"unpaid",count:"unpaidCount"},{title:"待发货",value:"2",icon:"/static/images/change_order.png",path:"/pages/order/list",type:"undelivered",count:"undeliveredCount"},{title:"待收货",value:"3",icon:"/static/images/no_take.png",path:"/pages/order/list",type:"noget",count:"deliveredCount"},{title:"待评价",value:"4",icon:"/static/images/no_comment.png",path:"/pages/order/list",type:"nocomment",count:"uncommentedCount"},{title:"全部订单",value:"0",icon:"/static/images/all_order.png",path:"/pages/order/list"}],s=e.computed((()=>r.sheep.$store("user").numData));return(t,o)=>({a:e.f(i,((t,i,o)=>({a:e.unref(r.sheep).$url.static(t.icon),b:"5ede6581-0-"+o,c:e.p({text:s.value.orderCount[t.count],absolute:"rightTop",size:"small"}),d:e.t(t.title),e:t.title,f:e.o((i=>e.unref(r.sheep).$router.go(t.path,{type:t.value})),t.title)})))})}},i=e._export_sfc(t,[["__scopeId","data-v-5ede6581"]]);wx.createComponent(i);
