import f from"./building-D4VN7586.js";import h from"./unit-Bl4zH8aL.js";import{P as v}from"./index-6fE1mQ4R.js";import{u as g}from"./house-CxmtNIEi.js";import{d as m,bh as x,o as l,c as p,m as i,p as y,q as o,z as t,e,I as B,J as k,K as C,r as H,G as I}from"./index-XuO881sr.js";import"./table-BZoZEjh1.js";import"./el-table-column-5BM1zXQ-.js";import"./_baseClone-CIlxLVYA.js";import"./_baseIteratee-CskuuWpP.js";import"./el-checkbox-Cxc7yQYm.js";import"./omit-nuy_stBf.js";/* empty css               */import"./houseItem-BhOkFgXq.js";import"./index-B_ImzkRi.js";import"./index-BMymgPp9.js";const N={class:"p-2 houselist"},S={class:"houseAdressBox"},T={class:"mr-50px"},V={class:"houseTypeBox flex"},b=["onClick"],w={class:"houseBody mt-10px w-full flex align-center justify-center"},z=m({name:"Houselist"}),P=m({...z,setup(j){const n=g(),{currentVilageInfo:s}=x(n);console.log(s);const u=["住宅","办公","商用","公寓"],a=H(0),_=c=>{a.value=c};return n.initHouse(a.value),(c,q)=>(l(),p("div",N,[i(v,null,{content:y(()=>[o("div",S,[o("span",T,"当前小区："+t(e(s)&&e(s).villageName),1),o("span",null,"小区地址："+t(e(s)&&e(s).city)+" "+t(e(s)&&e(s).address),1)]),o("div",V,[(l(),p(B,null,k(u,(d,r)=>o("div",{class:C(["housetype",{active:e(a)===r}]),onClick:A=>_(r),key:r},t(d),11,b)),64))])]),_:1}),o("div",w,[i(f),i(h)])]))}}),Y=I(P,[["__scopeId","data-v-56426787"]]);export{Y as default};
