"use strict";const e=require("../../common/vendor.js"),o=require("./method.js"),n=require("./model.js");require("../../common/libraries/request.js");const r=require("../../common/store/useWeAppAuthStore.js");if(require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../gen/Apis.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/userUserLogin.js"),require("../../common/libraries/setTabBar.js"),!Array){(e.resolveComponent("cc-scroll-loading")+e.resolveComponent("uni-icons"))()}Math||(u+l+(()=>"../../common/components/cc-scroll-loading/cc-scroll-loading.js")+(()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"))();const u=()=>"./components/MeHouseItem.js",l=()=>"./components/MeReviewItem.js",s=e.defineComponent({__name:"index",setup(u){const l=r.useWeAppAuthStore();return e.onShow((()=>{var e,o;n.useModel.selectedHouseEd.value={id:(null==(o=null==(e=null==l?void 0:l.data)?void 0:e.selected_house)?void 0:o.id)||""}})),e.onLoad((e=>{var r;n.useModel.dataList.value=[],n.useModel.currentTabs.value="1"===(null==e?void 0:e.type)?1:0,null==(r=o.method)||r.handleLoadMore(1)})),(r,u)=>{var l,s,i,d,t,a,c,m,v,p,j;return e.e({a:0===(null==(s=null==(l=e.unref(n.useModel))?void 0:l.currentTabs)?void 0:s.value)},(null==(d=null==(i=e.unref(n.useModel))?void 0:i.currentTabs)||d.value,{}),{b:1===(null==(a=null==(t=e.unref(n.useModel))?void 0:t.currentTabs)?void 0:a.value)},(null==(m=null==(c=e.unref(n.useModel))?void 0:c.currentTabs)||m.value,{}),{c:e.o(null==(v=e.unref(o.method))?void 0:v.handleLoadMore),d:e.p({meta:null==(j=null==(p=e.unref(n.useModel))?void 0:p.meta)?void 0:j.value}),e:e.p({type:"plusempty",color:"#666",size:"15"}),f:e.o(((...n)=>{var r,u;return(null==(r=e.unref(o.method))?void 0:r.hadnleNewBindingHouse)&&(null==(u=e.unref(o.method))?void 0:u.hadnleNewBindingHouse(...n))}))})}}});wx.createPage(s);
