"use strict";
const common_vendor = require("../../../common/vendor.js");
const ErpNavBar = () => "../../../components/erp-nav-bar.js";
const _sfc_main = {
  components: { ErpNavBar },
  methods: {
    // 将再来一单和返回页面功能合并：通过 reLaunch 自动重置数据
    handleReorder() {
      common_vendor.index.reLaunch({
        url: "/pages/order/index"
      });
    },
    viewOrder() {
      common_vendor.index.switchTab({
        url: "/pages/index/index"
      });
    }
  }
};
if (!Array) {
  const _component_erp_nav_bar = common_vendor.resolveComponent("erp-nav-bar");
  _component_erp_nav_bar();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  return {
    a: common_vendor.p({
      title: "下单成功"
    }),
    b: common_vendor.o((...args) => $options.handleReorder && $options.handleReorder(...args), "60"),
    c: common_vendor.o((...args) => $options.viewOrder && $options.viewOrder(...args), "16"),
    d: common_vendor.o((...args) => $options.handleReorder && $options.handleReorder(...args), "1e")
  };
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4df36a57"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/order/success/index.js.map
