"use strict";
const common_vendor = require("../../common/vendor.js");
if (!Array) {
  const _component_login = common_vendor.resolveComponent("login");
  const _easycom_up_overlay2 = common_vendor.resolveComponent("up-overlay");
  (_component_login + _easycom_up_overlay2)();
}
const _easycom_up_overlay = () => "../../node-modules/uview-plus/components/u-overlay/u-overlay.js";
if (!Math) {
  _easycom_up_overlay();
}
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
  __name: "index",
  setup(__props) {
    common_vendor.inject("$api");
    common_vendor.inject("$config");
    const config = common_vendor.ref({ logo: [], file: [] });
    common_vendor.ref([]);
    common_vendor.ref(0);
    const user = common_vendor.computed(() => {
      return common_vendor.index.getStorageSync("user");
    });
    const show = common_vendor.ref(false);
    common_vendor.onShow(async () => {
      await searchConfig();
      await searchOther();
      await search();
      if (!user.value)
        show.value = true;
    });
    const searchConfig = async () => {
      config.value = common_vendor.index.getStorageSync("config");
    };
    const searchOther = async () => {
    };
    const search = async () => {
    };
    const showChange = () => {
      show.value = false;
    };
    return (_ctx, _cache) => {
      return {
        a: common_vendor.o(showChange),
        b: common_vendor.p({
          show: show.value
        })
      };
    };
  }
});
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5346e3e3"], ["__file", "D:/project/学吧/learn_applet/pagesHome/teacher/index.vue"]]);
wx.createPage(MiniProgramPage);
