acdr-ui/dist/dev/mp-weixin/modules/mall/index/components/first-one.js

39 lines
1.2 KiB
JavaScript
Raw Permalink Normal View History

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");
2024-09-19 07:20:14 +08:00
if (!Array) {
const _easycom_s_goods_column2 = common_vendor.resolveComponent("s-goods-column");
_easycom_s_goods_column2();
}
2024-10-01 09:15:35 +08:00
const _easycom_s_goods_column = () => "../../sheep/components/s-goods-column/s-goods-column.js";
2024-09-19 07:20:14 +08:00
if (!Math) {
_easycom_s_goods_column();
}
const _sfc_main = {
__name: "first-one",
props: {
pagination: Object
},
setup(__props) {
return (_ctx, _cache) => {
return {
a: common_vendor.f(__props.pagination.list, (item, k0, i0) => {
return {
2024-10-01 09:15:35 +08:00
a: 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),
b: "55c69fa0-0-" + i0,
c: common_vendor.p({
size: "sl",
data: item
}),
d: item.id
};
})
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-55c69fa0"]]);
wx.createComponent(Component);