1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- "use strict";
- const common_vendor = require("../../common/vendor.js");
- if (!Array) {
- const _easycom_u_swiper2 = common_vendor.resolveComponent("u-swiper");
- _easycom_u_swiper2();
- }
- const _easycom_u_swiper = () => "../../node-modules/uview-plus/components/u-swiper/u-swiper.js";
- if (!Math) {
- _easycom_u_swiper();
- }
- const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
- __name: "index",
- setup(__props) {
- var _a, _b;
- (_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$api;
- (_b = common_vendor.getCurrentInstance()) == null ? void 0 : _b.appContext.config.globalProperties.$config;
- const config = common_vendor.ref({ logo: [], file: [] });
- common_vendor.ref([]);
- common_vendor.ref(0);
- common_vendor.ref([]);
- common_vendor.onShow(async () => {
- await searchConfig();
- await searchOther();
- await search();
- });
- const searchConfig = async () => {
- config.value = common_vendor.index.getStorageSync("config");
- };
- const searchOther = async () => {
- };
- const search = async () => {
- };
- return (_ctx, _cache) => {
- return {
- a: common_vendor.p({
- list: config.value.file,
- height: "240px",
- indicator: true,
- indicatorMode: "dot",
- circular: true
- })
- };
- };
- }
- });
- const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-4978fed5"], ["__file", "D:/project/学吧/learn_applet/pages/home/index.vue"]]);
- wx.createPage(MiniProgramPage);
|