61 lines
1.9 KiB
JavaScript
61 lines
1.9 KiB
JavaScript
|
|
"use strict";
|
||
|
|
const common_vendor = require("../../../common/vendor.js");
|
||
|
|
const common_libraries_IsHouseExist = require("../../../common/libraries/IsHouseExist.js");
|
||
|
|
require("../../../common/libraries/userUserLogin.js");
|
||
|
|
require("../../../common/libraries/request.js");
|
||
|
|
require("../../../common/store/useWeAppAuthStore.js");
|
||
|
|
require("../../../gen/Apis.js");
|
||
|
|
require("../../../common/store/useWorkStore.js");
|
||
|
|
require("../../../common/libraries/apiLoading.js");
|
||
|
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||
|
|
__name: "Classification",
|
||
|
|
setup(__props) {
|
||
|
|
const goToPage = async (url) => {
|
||
|
|
if (!common_libraries_IsHouseExist.getIsHouseExist())
|
||
|
|
return;
|
||
|
|
common_vendor.index.navigateTo({
|
||
|
|
url: url || ""
|
||
|
|
});
|
||
|
|
};
|
||
|
|
const list = [
|
||
|
|
{
|
||
|
|
label: "物业缴费",
|
||
|
|
icon: "jingang_icon5.png",
|
||
|
|
url: "/INDEX/bill/list/index"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "工单报事",
|
||
|
|
icon: "jingang_icon3.png",
|
||
|
|
url: "/WORKORDER/list/index"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "房屋管理",
|
||
|
|
icon: "jingang_icon2.png",
|
||
|
|
url: "/INDEX/archive_houses/index"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "我的钱包",
|
||
|
|
icon: "jingang_icon4.png"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "访客邀请",
|
||
|
|
icon: "jingang_icon1.png"
|
||
|
|
}
|
||
|
|
];
|
||
|
|
return (_ctx, _cache) => {
|
||
|
|
return {
|
||
|
|
a: common_vendor.f(list, (i, index, i0) => {
|
||
|
|
return {
|
||
|
|
a: `/static/images/${i.icon}`,
|
||
|
|
b: common_vendor.t(i.label),
|
||
|
|
c: `items_${index}`,
|
||
|
|
d: common_vendor.o(($event) => goToPage(i == null ? void 0 : i.url), `items_${index}`)
|
||
|
|
};
|
||
|
|
})
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|
||
|
|
});
|
||
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1833569a"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-customer/src/pages/index/components/Classification.vue"]]);
|
||
|
|
wx.createComponent(Component);
|