"use strict";const e=require("../../common/vendor.js");require("../../common/libraries/request.js");const o=require("../../common/store/useWeAppAuthStore.js");require("../../common/store/useWorkStore.js");const n=require("./model.js"),s=require("../../common/libraries/userUserLogin.js"),l=require("./method.js");if(require("../../gen/Apis.js"),require("../../common/libraries/setTabBar.js"),require("../../common/libraries/apiLoading.js"),!Array){e.resolveComponent("hs-all-page-bg")()}Math||((()=>"../../components/hs-all-page-bg/hs-all-page-bg.js")+r+i+a+t+u+g+c+p)();const t=()=>"./components/NewsList.js",r=()=>"./components/PageHeadTitle.js",i=()=>"./components/PageBanner.js",a=()=>"./components/Classification.js",u=()=>"./components/AiInput.js",c=()=>"./components/ModalServer.js",g=()=>"./components/Tabs.js",p=()=>"./components/OfficialAccount.js",d=e.defineComponent({__name:"index",setup(t){const r=o.useWeAppAuthStore();return e.onLoad((async o=>{var n;await(null==(n=e.getCurrentInstance())?void 0:n.appContext.config.globalProperties.$onLaunched),console.log("页面加载",null==r?void 0:r.data)})),e.onPageScroll((e=>{n.useModel.scrollTop.value=e.scrollTop})),e.onShow((async o=>{var t,i,a,u,c,g,p;await(null==(t=e.getCurrentInstance())?void 0:t.appContext.config.globalProperties.$onLaunched),n.useModel.user.value=null==(i=null==r?void 0:r.data)?void 0:i.user,n.useModel.pageConfig.value=(null==(c=null==(u=null==(a=null==r?void 0:r.data)?void 0:a.config)?void 0:u.companyConfig)?void 0:c.config_value)||{},console.log("页面显示"),(null==(g=s.getUserLogin)?void 0:g.getLoginStatus())&&(null==(p=l.method)||p.getCountBills()),(null==r?void 0:r.data.house_register)?(console.log("house_register",null==r?void 0:r.data.house_register),null==r||r.getIsHouseExist()):n.useModel.countBills.value=0})),e.onShareAppMessage((()=>({title:"",path:"/pages/index/index"}))),e.onShareTimeline((()=>({title:"",path:"/pages/index/index"}))),(e,o)=>({})}});d.__runtimeHooks=7,wx.createPage(d);
