2025-07-15 16:18:34 +08:00
|
|
|
"use strict";
|
|
|
|
|
const common_vendor = require("../../common/vendor.js");
|
|
|
|
|
require("../../common/libraries/request.js");
|
|
|
|
|
const common_store_useWeAppAuthStore = require("../../common/store/useWeAppAuthStore.js");
|
2025-08-29 09:51:02 +08:00
|
|
|
require("../../common/store/useWorkStore.js");
|
2025-07-15 16:18:34 +08:00
|
|
|
require("./method.js");
|
|
|
|
|
require("../../gen/Apis.js");
|
|
|
|
|
require("../../common/libraries/apiLoading.js");
|
2025-08-29 09:51:02 +08:00
|
|
|
if (!Math) {
|
|
|
|
|
(MyHeader + MyAreaFunctional + MyMoreFunctional)();
|
|
|
|
|
}
|
|
|
|
|
const MyHeader = () => "./components/header.js";
|
|
|
|
|
const MyAreaFunctional = () => "./components/AreaFunctional.js";
|
|
|
|
|
const MyMoreFunctional = () => "./components/MoreFunctional.js";
|
2025-07-15 16:18:34 +08:00
|
|
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
|
|
__name: "index",
|
|
|
|
|
setup(__props) {
|
|
|
|
|
getApp();
|
2025-08-29 09:51:02 +08:00
|
|
|
const auth = common_store_useWeAppAuthStore.useWeAppAuthStore();
|
|
|
|
|
const userData = common_vendor.ref({});
|
|
|
|
|
common_vendor.onShow(async (e) => {
|
|
|
|
|
userData.value = auth == null ? void 0 : auth.data;
|
|
|
|
|
const curPages = getCurrentPages()[0];
|
|
|
|
|
if (typeof curPages.getTabBar === "function" && curPages.getTabBar()) {
|
|
|
|
|
curPages.getTabBar().setData({
|
|
|
|
|
selected: 2
|
|
|
|
|
// 表示当前菜单的索引,该值在不同的页面表示不同
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
2025-07-15 16:18:34 +08:00
|
|
|
return (_ctx, _cache) => {
|
|
|
|
|
return {};
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-customer/src/pages/me/index.vue"]]);
|
|
|
|
|
wx.createPage(MiniProgramPage);
|