jiuyiUniapp/jiuyi2/unpackage/dist/dev/mp-weixin/pages/mine/browsed/index.js

50 lines
1.6 KiB
JavaScript

"use strict";
const common_vendor = require("../../../common/vendor.js");
const components_public_eventBus = require("../../../components/public/event-bus.js");
if (!Array) {
const _component_line = common_vendor.resolveComponent("line");
_component_line();
}
if (!Math) {
(JyCommodityInformation + common_vendor.unref(JyBottomBtn))();
}
const JyCommodityInformation = () => "../../../components/public/jy-commodity-information/index.js";
const JyBottomBtn = () => "../../../components/public/jy-bottom-button/index.js";
const _sfc_main = {
__name: "index",
setup(__props) {
const checkList = common_vendor.ref([]);
const checkboxChange = (e) => {
checkList.value = e.detail.value;
};
const sendCommodity = () => {
components_public_eventBus.eventBus.emit("changeShop", checkList.value);
common_vendor.index.navigateBack();
};
return (_ctx, _cache) => {
return {
a: common_vendor.f(1, (item, index, i0) => {
return {
a: common_vendor.f(item, (item2, index2, i1) => {
return {
a: item2 + "",
b: "261527be-0-" + i0 + "-" + i1,
c: index2
};
}),
b: "261527be-1-" + i0,
c: index
};
}),
b: common_vendor.p({
showType: 3
}),
c: common_vendor.o$1(checkboxChange),
d: common_vendor.o$1(sendCommodity)
};
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-261527be"]]);
wx.createPage(MiniProgramPage);