77 lines
2.4 KiB
JavaScript
77 lines
2.4 KiB
JavaScript
|
|
"use strict";
|
||
|
|
const common_vendor = require("../../common/vendor.js");
|
||
|
|
require("./model.js");
|
||
|
|
require("./method.js");
|
||
|
|
require("../../common/libraries/request.js");
|
||
|
|
const common_store_useWeAppAuthStore = require("../../common/store/useWeAppAuthStore.js");
|
||
|
|
require("../../common/libraries/day.js");
|
||
|
|
require("../../gen/Apis.js");
|
||
|
|
require("../../common/libraries/apiLoading.js");
|
||
|
|
if (!Array) {
|
||
|
|
const _easycom_hs_button2 = common_vendor.resolveComponent("hs-button");
|
||
|
|
const _easycom_cc_root_view2 = common_vendor.resolveComponent("cc-root-view");
|
||
|
|
(_easycom_hs_button2 + _easycom_cc_root_view2)();
|
||
|
|
}
|
||
|
|
const _easycom_hs_button = () => "../../components/hs-button/hs-button.js";
|
||
|
|
const _easycom_cc_root_view = () => "../../common/components/cc-root-view/cc-root-view.js";
|
||
|
|
if (!Math) {
|
||
|
|
(_easycom_hs_button + _easycom_cc_root_view)();
|
||
|
|
}
|
||
|
|
const _sfc_defineComponent = /* @__PURE__ */ common_vendor.defineComponent({
|
||
|
|
__name: "index",
|
||
|
|
setup(__props) {
|
||
|
|
getApp();
|
||
|
|
common_store_useWeAppAuthStore.useWeAppAuthStore();
|
||
|
|
const toLogin = () => {
|
||
|
|
common_vendor.index.navigateTo({
|
||
|
|
url: "/pages/login"
|
||
|
|
});
|
||
|
|
};
|
||
|
|
const toBill = () => {
|
||
|
|
common_vendor.index.navigateTo({
|
||
|
|
url: "/INDEX/bill/index"
|
||
|
|
});
|
||
|
|
};
|
||
|
|
const toBinding = () => {
|
||
|
|
common_vendor.index.navigateTo({
|
||
|
|
url: "/INDEX/binding/index"
|
||
|
|
});
|
||
|
|
};
|
||
|
|
common_vendor.onShow(async () => {
|
||
|
|
var _a;
|
||
|
|
await ((_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$onLaunched);
|
||
|
|
});
|
||
|
|
common_vendor.onShareAppMessage(() => {
|
||
|
|
return {
|
||
|
|
title: "",
|
||
|
|
path: "/pages/index/index"
|
||
|
|
};
|
||
|
|
});
|
||
|
|
common_vendor.onShareTimeline(() => {
|
||
|
|
return {
|
||
|
|
title: "",
|
||
|
|
path: "/pages/index/index"
|
||
|
|
};
|
||
|
|
});
|
||
|
|
return (_ctx, _cache) => {
|
||
|
|
return {
|
||
|
|
a: common_vendor.o(toLogin),
|
||
|
|
b: common_vendor.p({
|
||
|
|
label: "登录"
|
||
|
|
}),
|
||
|
|
c: common_vendor.o(toBinding),
|
||
|
|
d: common_vendor.p({
|
||
|
|
label: "绑定房屋"
|
||
|
|
}),
|
||
|
|
e: common_vendor.o(toBill),
|
||
|
|
f: common_vendor.p({
|
||
|
|
label: "我的账单"
|
||
|
|
})
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|
||
|
|
});
|
||
|
|
_sfc_defineComponent.__runtimeHooks = 6;
|
||
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_defineComponent, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-customer/src/pages/index/index.vue"]]);
|
||
|
|
wx.createPage(MiniProgramPage);
|