2024-10-01 09:15:35 +08:00
|
|
|
"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:"c3175480-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-c3175480"]]);wx.createComponent(o);
|