xiaokuaisong-xiaochengxu/uniapp04/unpackage/dist/dev/mp-alipay/pages/orderDetaiols.js
2025-04-11 14:42:29 +08:00

28 lines
1.1 KiB
JavaScript

"use strict";
const common_vendor = require("../common/vendor.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "orderDetaiols",
setup(__props) {
const orderTypes = [
{ type: 1, url: "/pages/fullOrder/fullOrder", title: "未支付", imgUrl: "../../static/small/order.png" },
{ type: 2, url: "/pages/fullOrder/fullOrder", title: "已支付", imgUrl: "../../static/small/noComplete.png" },
{ type: 3, url: "/pages/fullOrder/fullOrder", title: "已退款", imgUrl: "../../static/small/complete.png" },
{ type: 4, url: "/pages/fullOrder/fullOrder", title: "已出餐", imgUrl: "../../static/small/complete.png" },
{ type: 5, url: "/pages/fullOrder/fullOrder", title: "已完成", imgUrl: "../../static/small/complete.png" }
];
return (_ctx, _cache) => {
return {
a: common_vendor.f(orderTypes, (item, index, i0) => {
return {
a: common_vendor.t(item.title),
b: item.imgUrl,
c: `${item.url}?type=${item.type}`,
d: index
};
})
};
};
}
});
my.createComponent(_sfc_main);