acdr-ui/dist/dev/mp-weixin/app.js

155 lines
5.5 KiB
JavaScript

"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const common_vendor = require("./common/vendor.js");
const service_notificationService = require("./service/notificationService.js");
const sheep_index = require("./sheep/index.js");
const store_index = require("./store/index.js");
const interceptors_route = require("./interceptors/route.js");
const interceptors_request = require("./interceptors/request.js");
const interceptors_prototype = require("./interceptors/prototype.js");
const sheep_store_index = require("./sheep/store/index.js");
if (!Math) {
"./pages/index/index.js";
"./pages/address/index.js";
"./pages/ai/ai-interactive-space.js";
"./pages/certification/index.js";
"./pages/certification/pet-sitter.js";
"./pages/extended/index.js";
"./pages/h5mall/index.js";
"./pages/login/index.js";
"./pages/login/phone.js";
"./pages/map/index.js";
"./pages/message/chat.js";
"./pages/message/index.js";
"./pages/message/message-list.js";
"./pages/message/privatechat.js";
"./pages/my/index.js";
"./pages/order/index.js";
"./pages/order/order-detail.js";
"./pages/order/take.js";
"./pages/others/agreement.js";
"./pages/others/null.js";
"./pages/others/official-account.js";
"./pages/permission/bind-phone.js";
"./pages/permission/real-name-auth.js";
"./pages/pet/index.js";
"./pages/pet/pet-add-page.js";
"./pages/pet/pet-detail-page.js";
"./pages/push/door.js";
"./pages/push/goods.js";
"./pages/push/index.js";
"./pages/push/share.js";
"./pages/service/accompany.js";
"./pages/service/detail.js";
"./pages/service/door.js";
"./pages/service/index.js";
"./pages/service/knowledge.js";
"./pages/service/my-service.js";
"./pages/service/search.js";
"./pages/service/shop.js";
"./pages/service/slippery.js";
"./pages/service/store.js";
"./pages/settings/index.js";
"./pages/space/index.js";
"./pages/webview/webview.js";
"./modules/mall/index/index.js";
"./modules/mall/index/user.js";
"./modules/mall/index/category.js";
"./modules/mall/index/cart.js";
"./modules/mall/index/login.js";
"./modules/mall/index/search.js";
"./modules/mall/index/page.js";
"./modules/mall/goods/index.js";
"./modules/mall/goods/groupon.js";
"./modules/mall/goods/seckill.js";
"./modules/mall/goods/list.js";
"./modules/mall/goods/comment/add.js";
"./modules/mall/goods/comment/list.js";
"./modules/mall/order/detail.js";
"./modules/mall/order/confirm.js";
"./modules/mall/order/list.js";
"./modules/mall/order/aftersale/apply.js";
"./modules/mall/order/aftersale/return-delivery.js";
"./modules/mall/order/aftersale/list.js";
"./modules/mall/order/aftersale/detail.js";
"./modules/mall/order/aftersale/log.js";
"./modules/mall/order/express/log.js";
"./modules/mall/user/info.js";
"./modules/mall/user/goods-collect.js";
"./modules/mall/user/goods-log.js";
"./modules/mall/user/address/list.js";
"./modules/mall/user/address/edit.js";
"./modules/mall/user/goods_details_store/index.js";
"./modules/mall/user/wallet/money.js";
"./modules/mall/user/wallet/score.js";
"./modules/mall/commission/index.js";
"./modules/mall/commission/wallet.js";
"./modules/mall/commission/goods.js";
"./modules/mall/commission/order.js";
"./modules/mall/commission/team.js";
"./modules/mall/commission/promoter.js";
"./modules/mall/commission/commission-ranking.js";
"./modules/mall/commission/withdraw.js";
"./modules/mall/app/sign.js";
"./modules/mall/public/setting.js";
"./modules/mall/public/richtext.js";
"./modules/mall/public/faq.js";
"./modules/mall/public/error.js";
"./modules/mall/public/webview.js";
"./modules/mall/coupon/list.js";
"./modules/mall/coupon/detail.js";
"./modules/mall/chat/index.js";
"./modules/mall/pay/index.js";
"./modules/mall/pay/result.js";
"./modules/mall/pay/recharge.js";
"./modules/mall/pay/recharge-log.js";
"./modules/mall/activity/groupon/detail.js";
"./modules/mall/activity/groupon/order.js";
"./modules/mall/activity/index.js";
"./modules/mall/activity/groupon/list.js";
"./modules/mall/activity/seckill/list.js";
}
const _sfc_main = {
__name: "App",
setup(__props) {
common_vendor.onLoad(() => {
common_vendor.index.hideTabBar();
});
common_vendor.onLaunch(() => {
console.log("应用正在运行...");
common_vendor.index.hideTabBar();
service_notificationService.notificationService.startPollingUnreadMessages();
sheep_index.ShoproInit();
});
common_vendor.onShow(() => {
console.log("应用显示出来了...");
service_notificationService.notificationService.startPollingUnreadMessages();
console.log(options, "options");
});
common_vendor.onHide(() => {
console.log("App Hide");
service_notificationService.notificationService.stopPollingUnreadMessages();
});
return () => {
};
}
};
function createApp() {
const app = common_vendor.createSSRApp(_sfc_main);
sheep_store_index.setupPinia(store_index.store);
app.use(store_index.store);
app.use(interceptors_route.routeInterceptor);
app.use(interceptors_request.requestInterceptor);
app.use(interceptors_prototype.prototypeInterceptor);
app.component("layout-default-uni", Layout_Default_Uni);
app.component("layout-demo-uni", Layout_Demo_Uni);
return {
app
};
}
const Layout_Default_Uni = () => "./layouts/default.js";
const Layout_Demo_Uni = () => "./layouts/demo.js";
createApp().app.mount("#app");
exports.createApp = createApp;
//# sourceMappingURL=app.js.map