12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- "use strict";
- const common_vendor = require("../../common/vendor.js");
- if (!Array) {
- const _easycom_u_swiper2 = common_vendor.resolveComponent("u-swiper");
- const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
- (_easycom_u_swiper2 + _easycom_u_icon2)();
- }
- const _easycom_u_swiper = () => "../../node-modules/uview-plus/components/u-swiper/u-swiper.js";
- const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
- if (!Math) {
- (_easycom_u_swiper + _easycom_u_icon)();
- }
- 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.onShow(async () => {
- await searchConfig();
- await search();
- });
- const searchConfig = async () => {
- config.value = common_vendor.index.getStorageSync("config");
- };
- const search = async () => {
- };
- const toCommon = (item) => {
- common_vendor.index.navigateTo({
- url: `/pagesHome/search/index?type=${item.type || ""}`
- });
- };
- return (_ctx, _cache) => {
- return {
- a: common_vendor.p({
- list: config.value.file,
- height: "240px",
- indicator: true,
- indicatorMode: "line",
- circular: true
- }),
- b: common_vendor.f(_ctx.menuList, (item, index, i0) => {
- return {
- a: item.url,
- b: common_vendor.t(item.title),
- c: common_vendor.t(item.brief),
- d: "4978fed5-1-" + i0,
- e: index,
- f: common_vendor.o(($event) => toCommon(item.route), index)
- };
- }),
- c: common_vendor.p({
- name: "arrow-right",
- size: "20"
- })
- };
- };
- }
- });
- const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-4978fed5"], ["__file", "D:/project/赋强公证/notarization_applet/pages/home/index.vue"]]);
- wx.createPage(MiniProgramPage);
|