2 lines
726 B
JavaScript
2 lines
726 B
JavaScript
"use strict";const e=require("../../../../common/vendor.js"),r=require("../../../../sheep/hooks/useGoods.js");if(!Array){e.resolveComponent("s-goods-item")()}Math;const t={__name:"order",props:{orderData:{type:Object,default:{}}},setup:t=>(o,a)=>({a:e.t(t.orderData.no),b:e.t(e.unref(r.formatOrderStatus)(t.orderData)),c:e.n(e.unref(r.formatOrderColor)(t.orderData)),d:e.f(t.orderData.items,((r,t,o)=>({a:"28c6c13c-0-"+o,b:e.p({img:r.picUrl,title:r.spuName,skuText:r.properties.map((e=>e.valueName)).join(" "),price:r.price,num:r.count}),c:r.id}))),e:e.t(t.orderData.productCount),f:e.t(e.unref(r.fen2yuan)(t.orderData.payPrice)),g:t.orderData.id})},o=e._export_sfc(t,[["__scopeId","data-v-28c6c13c"]]);wx.createComponent(o);
|