"use strict"; const common_vendor = require("../../common/vendor.js"); if (!Array) { const _easycom_up_search2 = common_vendor.resolveComponent("up-search"); const _easycom_up_navbar2 = common_vendor.resolveComponent("up-navbar"); const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon"); const _easycom_u__icon2 = common_vendor.resolveComponent("u--icon"); (_easycom_up_search2 + _easycom_up_navbar2 + _easycom_up_icon2 + _easycom_u__icon2)(); } const _easycom_up_search = () => "../../uni_modules/uview-plus/components/u-search/u-search.js"; const _easycom_up_navbar = () => "../../uni_modules/uview-plus/components/u-navbar/u-navbar.js"; const _easycom_up_icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js"; const _easycom_u__icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js"; if (!Math) { (_easycom_up_search + _easycom_up_navbar + _easycom_up_icon + viewPopup + _easycom_u__icon)(); } const viewPopup = () => "../../components/viewPopup/index.js"; const _sfc_main = { __name: "index", setup(__props) { const topActive = common_vendor.ref(0); const leftActive = common_vendor.ref(2); const rightActive = common_vendor.ref(1); const show = common_vendor.ref(0); const keyword = common_vendor.ref(""); return (_ctx, _cache) => { return common_vendor.e({ a: common_vendor.o(($event) => keyword.value = $event), b: common_vendor.p({ placeholder: "请输入商品", showAction: false, modelValue: keyword.value }), c: common_vendor.p({ placeholder: true }), d: common_vendor.f(10, (item, index, i0) => { return { a: common_vendor.t(item), b: topActive.value == index ? 1 : "", c: index }; }), e: common_vendor.p({ name: "list" }), f: common_vendor.o(($event) => show.value = 1), g: show.value === 1 }, show.value === 1 ? { h: common_vendor.f(55, (item, index, i0) => { return { a: common_vendor.t(item), b: topActive.value == index ? 1 : "", c: index }; }), i: common_vendor.o(($event) => show.value = 0), j: common_vendor.p({ nav: true }) } : {}, { k: common_vendor.f(20, (item, index, i0) => { return { a: common_vendor.t(item), b: leftActive.value == index ? 1 : "", c: index }; }), l: common_vendor.f(6, (item, index, i0) => { return { a: rightActive.value == index ? 1 : "", b: index }; }), m: common_vendor.p({ name: "arrow-down" }), n: common_vendor.o(($event) => show.value = 2), o: show.value === 2 }, show.value === 2 ? { p: common_vendor.f(6, (item, index, i0) => { return { a: rightActive.value == index ? 1 : "", b: index }; }), q: common_vendor.o(($event) => show.value = 0) } : {}, { r: common_vendor.f(20, (item, index, i0) => { return { a: common_vendor.t(item), b: "1ba6254c-6-" + i0, c: "1ba6254c-7-" + i0, d: index }; }), s: common_vendor.p({ name: "minus-circle-fill", size: "20", color: "#20b128" }), t: common_vendor.t(1), v: common_vendor.p({ name: "plus-circle-fill", size: "20", color: "#20b128" }) }); }; } }; const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/里海数字乡村/purchase-let/pages/index/index.vue"]]); wx.createPage(MiniProgramPage);