49 lines
1.4 KiB
JavaScript
49 lines
1.4 KiB
JavaScript
|
|
"use strict";
|
||
|
|
const common_vendor = require("../../../common/vendor.js");
|
||
|
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||
|
|
__name: "AreaFunctional",
|
||
|
|
setup(__props) {
|
||
|
|
const area_functional = [
|
||
|
|
{
|
||
|
|
label: "我的收藏",
|
||
|
|
icon: "IconCollection",
|
||
|
|
url: ""
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "我的审核",
|
||
|
|
icon: "IconReview",
|
||
|
|
url: "/INDEX/owner_audit_list/index"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "我的活动",
|
||
|
|
icon: "IconEvent",
|
||
|
|
url: ""
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "我的车辆",
|
||
|
|
icon: "IconVehicle",
|
||
|
|
url: ""
|
||
|
|
}
|
||
|
|
];
|
||
|
|
const handleToPage = (url) => {
|
||
|
|
if (url) {
|
||
|
|
common_vendor.index.navigateTo({ url });
|
||
|
|
}
|
||
|
|
};
|
||
|
|
return (_ctx, _cache) => {
|
||
|
|
return {
|
||
|
|
a: common_vendor.f(area_functional, (i, index, i0) => {
|
||
|
|
return {
|
||
|
|
a: `/static/svg/${(i == null ? void 0 : i.icon) || ""}.svg`,
|
||
|
|
b: common_vendor.t((i == null ? void 0 : i.label) || ""),
|
||
|
|
c: `items_${index}`,
|
||
|
|
d: common_vendor.o(($event) => handleToPage(i == null ? void 0 : i.url), `items_${index}`)
|
||
|
|
};
|
||
|
|
})
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|
||
|
|
});
|
||
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-ce2c62fb"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-customer/src/pages/me/components/AreaFunctional.vue"]]);
|
||
|
|
wx.createComponent(Component);
|