2024-09-19 07:20:14 +08:00
|
|
|
"use strict";
|
|
|
|
const common_vendor = require("../../../../common/vendor.js");
|
2024-10-01 09:15:35 +08:00
|
|
|
const modules_mall_sheep_index = require("../../sheep/index.js");
|
|
|
|
const modules_mall_sheep_hooks_useGoods = require("../../sheep/hooks/useGoods.js");
|
2024-09-19 07:20:14 +08:00
|
|
|
const _sfc_main = {
|
|
|
|
__name: "first-two",
|
|
|
|
props: {
|
|
|
|
pagination: Object
|
|
|
|
},
|
|
|
|
setup(__props) {
|
|
|
|
return (_ctx, _cache) => {
|
|
|
|
var _a;
|
|
|
|
return {
|
|
|
|
a: common_vendor.f((_a = __props.pagination) == null ? void 0 : _a.list, (item, k0, i0) => {
|
|
|
|
return {
|
|
|
|
a: item.picUrl,
|
|
|
|
b: common_vendor.t(item.title),
|
2024-10-01 09:15:35 +08:00
|
|
|
c: common_vendor.t(common_vendor.unref(modules_mall_sheep_hooks_useGoods.fen2yuan)(item.price)),
|
|
|
|
d: common_vendor.o(($event) => common_vendor.unref(modules_mall_sheep_index.sheep).$router.go("/modules/mall/goods/index", {
|
2024-09-19 07:20:14 +08:00
|
|
|
id: item.id
|
|
|
|
}), item.id),
|
|
|
|
e: item.id
|
|
|
|
};
|
|
|
|
})
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-7560339c"]]);
|
|
|
|
wx.createComponent(Component);
|