"use strict"; const common_vendor = require("../../../common/vendor.js"); const plugins_modal = require("../../../plugins/modal.js"); if (!Array) { const _easycom_uni_section2 = common_vendor.resolveComponent("uni-section"); const _easycom_geek_statistic2 = common_vendor.resolveComponent("geek-statistic"); const _easycom_u_col2 = common_vendor.resolveComponent("u-col"); const _easycom_u_row2 = common_vendor.resolveComponent("u-row"); const _easycom_geek_menu2 = common_vendor.resolveComponent("geek-menu"); const _easycom_geek_commodity2 = common_vendor.resolveComponent("geek-commodity"); const _easycom_geek_order2 = common_vendor.resolveComponent("geek-order"); const _easycom_geek_color_picker2 = common_vendor.resolveComponent("geek-color-picker"); const _easycom_geek_qrcode2 = common_vendor.resolveComponent("geek-qrcode"); (_easycom_uni_section2 + _easycom_geek_statistic2 + _easycom_u_col2 + _easycom_u_row2 + _easycom_geek_menu2 + _easycom_geek_commodity2 + _easycom_geek_order2 + _easycom_geek_color_picker2 + _easycom_geek_qrcode2)(); } const _easycom_uni_section = () => "../../../components/uni-section/uni-section.js"; const _easycom_geek_statistic = () => "../../../components/geek-xd/components/geek-statistic/geek-statistic.js"; const _easycom_u_col = () => "../../../node-modules/uview-plus/components/u-col/u-col.js"; const _easycom_u_row = () => "../../../node-modules/uview-plus/components/u-row/u-row.js"; const _easycom_geek_menu = () => "../../../components/geek-xd/components/geek-menu/geek-menu.js"; const _easycom_geek_commodity = () => "../../../components/geek-xd/components/geek-commodity/geek-commodity.js"; const _easycom_geek_order = () => "../../../components/geek-xd/components/geek-order/geek-order.js"; const _easycom_geek_color_picker = () => "../../../components/geek-xd/components/geek-color-picker/geek-color-picker.js"; const _easycom_geek_qrcode = () => "../../../components/geek-xd/components/geek-qrcode/geek-qrcode.js"; if (!Math) { (_easycom_uni_section + _easycom_geek_statistic + _easycom_u_col + _easycom_u_row + _easycom_geek_menu + _easycom_geek_commodity + _easycom_geek_order + _easycom_geek_color_picker + _easycom_geek_qrcode)(); } const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "index", setup(__props) { const gk = common_vendor.ref(null); function open() { gk.value.open(); } const menus = common_vendor.reactive([ { icon: "/static/images/icon/rocket.png", label: "抢单" }, { icon: "/static/images/icon/phone.png", label: "回访" }, { icon: "/static/images/icon/message.png", label: "消息" }, { icon: "/static/images/icon/dialogue.png", label: "公告" }, { icon: "/static/images/icon/knowledge.png", label: "知识库" } ]); const commodityList = common_vendor.reactive([ { img: "/static/images/banner/banner01.jpg", title: "商品1", subTitle: "商品1简介", price: 100 }, { img: "/static/images/banner/banner02.jpg", title: "商品2", subTitle: "商品2简介", price: 300 }, { img: "/static/images/banner/banner03.jpg", title: "商品3", subTitle: "商品3简介", price: 200 } ]); const orderList = [ { shop: "geek自营旗舰店", status: "完成", img: "/static/images/banner/banner01.jpg", title: "商品1", subTitle: "商品1简介", price: 100.32, num: 10 }, { shop: "geek自营旗舰店", status: "已取消", img: "/static/images/banner/banner03.jpg", title: "商商商商商商商商商商商商商商商商商商商商商商商商商商商商商商商商商商品3", subTitle: "商品3简介", price: 2000.67, num: 10 }, { shop: "geek自营旗舰店", status: "已取消", img: "/static/images/banner/banner03.jpg", title: "商商商商商商商商商商商商商商商商商商商商商商商商商商商商商商商商商商品3", subTitle: "商品3简介", price: 10.67, num: 10 } ]; return (_ctx, _cache) => { return { a: common_vendor.p({ title: "数值板", ["sub-title"]: "statistic", type: "line" }), b: common_vendor.p({ label: "订单数量(个)", labelColor: "#1f1f1f", number: 0, numberColor: "red" }), c: common_vendor.p({ span: "6" }), d: common_vendor.p({ label: "交易金额(元)", labelColor: "#1f1f1f", number: 0, numberColor: "red" }), e: common_vendor.p({ span: "6" }), f: common_vendor.p({ gutter: "0" }), g: common_vendor.p({ title: "菜单", ["sub-title"]: "menu", type: "line" }), h: common_vendor.f(menus, (menu, index, i0) => { return { a: common_vendor.o(($event) => common_vendor.unref(plugins_modal.modal).msg(menu.label), index), b: "7f2da3f4-9-" + i0 + "," + ("7f2da3f4-8-" + i0), c: common_vendor.p({ ...menu, size: 60, type: "circle" }), d: index, e: "7f2da3f4-8-" + i0 + ",7f2da3f4-7" }; }), i: common_vendor.p({ span: 2.1, offset: 0.3 }), j: common_vendor.f(menus, (menu, index, i0) => { return { a: common_vendor.o(($event) => common_vendor.unref(plugins_modal.modal).msg(menu.label), index), b: "7f2da3f4-12-" + i0 + "," + ("7f2da3f4-11-" + i0), c: common_vendor.p({ icon: menu.icon, label: menu.label, size: 60, type: "rect" }), d: index, e: "7f2da3f4-11-" + i0 + ",7f2da3f4-10" }; }), k: common_vendor.p({ span: 2.1, offset: 0.3 }), l: common_vendor.p({ title: "商品列表", ["sub-title"]: "commodity", type: "line" }), m: common_vendor.f(commodityList, (item, index, i0) => { return { a: index, b: common_vendor.o(($event) => common_vendor.unref(plugins_modal.modal).msg(item.title), index), c: "7f2da3f4-14-" + i0, d: common_vendor.p({ ...item, type: "line" }) }; }), n: common_vendor.f(commodityList, (item, index, i0) => { return { a: index, b: common_vendor.o(($event) => common_vendor.unref(plugins_modal.modal).msg(item.title), index), c: "7f2da3f4-15-" + i0, d: common_vendor.p({ ...item, type: "rect" }) }; }), o: common_vendor.p({ title: "订单列表", ["sub-title"]: "order", type: "line" }), p: common_vendor.f(orderList, (item, index, i0) => { return { a: index, b: common_vendor.o(($event) => common_vendor.unref(plugins_modal.modal).msg("更多"), index), c: common_vendor.o(($event) => common_vendor.unref(plugins_modal.modal).msg("再次购买"), index), d: common_vendor.o(($event) => common_vendor.unref(plugins_modal.modal).msg("退换"), index), e: common_vendor.o(($event) => common_vendor.unref(plugins_modal.modal).msg("卖了换钱"), index), f: "7f2da3f4-17-" + i0, g: common_vendor.p({ ...item }) }; }), q: common_vendor.p({ title: "颜色选择器", ["sub-title"]: "order", type: "line" }), r: common_vendor.sr(gk, "7f2da3f4-19", { "k": "gk" }), s: common_vendor.o(($event) => open()), t: common_vendor.p({ title: "二维码", ["sub-title"]: "order", type: "line" }), v: common_vendor.sr("qrcode2", "7f2da3f4-21"), w: common_vendor.p({ cid: "qrcode2", val: "二维码", loadMake: true }) }; }; } }); const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "C:/Users/Administrator/Desktop/srcaaa/pages_geek/pages/index/index.vue"]]); wx.createPage(MiniProgramPage);