webpackJsonp([44],{"/LPr":function(e,t,o){(e.exports=o("UTlt")(!0)).push([e.i,"","",{version:3,sources:[],names:[],mappings:"",file:"myCollections.vue",sourceRoot:""}])},B1d7:function(e,t,o){(e.exports=o("UTlt")(!0)).push([e.i,'\n.my_collections[data-v-4add4ada]{width:100vw;min-height:100vh;background:#fff;content:"viewport-units-buggyfill; width: 100vw; min-height: 100vh"\n}',"",{version:3,sources:["/Users/gongyifeng/workcode/futureFed/sailClientApp/src/pages/personalCenter/myCollections.vue"],names:[],mappings:";AACA,iCAAiC,YAAY,iBAAiB,gBAAgB,mEAAmE;CAChJ",file:"myCollections.vue",sourcesContent:['\n.my_collections[data-v-4add4ada]{width:100vw;min-height:100vh;background:#fff;content:"viewport-units-buggyfill; width: 100vw; min-height: 100vh"\n}'],sourceRoot:""}])},aqFp:function(e,t,o){var n=o("B1d7");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);o("FIqI")("e43969ea",n,!0,{})},"dof/":function(e,t,o){var n=o("/LPr");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);o("FIqI")("c9d92302",n,!0,{})},uVlq:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o("4YfN"),i=o.n(n),a=o("LzJq"),s=o("3my3"),l=o("9rMa"),c=o("I3h8"),r={components:{sailPage:a.a,ProjectCard:s.a},computed:i()({},Object(l.b)({collectionRegionInfo:function(e){return e.addCollectionModule.collectionRegionInfo},collectionLayoutInfo:function(e){return e.addCollectionModule.collectionLayoutInfo}})),data:function(){return{name:"template",active:0,tabTextMap:{1:"项目",2:"户型"}}},asyncData:function(e){var t=e.store;e.route;return t.dispatch("addCollectionModule/getCollectionInfo",{pn:1,pageSize:1e3,type:1})},methods:{onClick:function(e,t){c.f.loading({duration:0,forbidClick:!0,loadingType:"spinner",message:"正在加载"}),0===e?this.$store.dispatch("addCollectionModule/getCollectionInfo",{pn:1,pageSize:1e3,type:1}).then(function(e){c.f.clear()}):this.$store.dispatch("addCollectionModule/getCollectionInfo",{pn:1,pageSize:1e3,type:2}).then(function(e){c.f.clear()}),console.log("index, title",e)}}},d={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("sail-page",{attrs:{type:"loading-view",title:"我的收藏",isHead:""}},[o("div",{staticClass:"my_collections",attrs:{slot:"content"},slot:"content"},[o("van-tabs",{attrs:{swipeable:""},on:{click:e.onClick},model:{value:e.active,callback:function(t){e.active=t},expression:"active"}},e._l(2,function(t){return o("van-tab",{key:t,staticClass:"van-tab-style",attrs:{title:e.tabTextMap[t]}},[o("div",{directives:[{name:"show",rawName:"v-show",value:1==t,expression:"index == 1"}]},[o("div",{staticClass:"project_collections"},e._l(e.collectionRegionInfo,function(e,t){return o("router-link",{key:t,staticClass:"link",attrs:{to:"/projectDetails/"+e.midReference}},[o("ProjectCard",{attrs:{data:e,isHouseAddress:"",isProjectNum:""}})],1)}))]),e._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:2==t,expression:"index == 2"}]},[o("div",{staticClass:"housing_collections"},e._l(e.collectionLayoutInfo,function(e,t){return o("router-link",{key:t,staticClass:"link",attrs:{to:"/housingTypeDetails/"+e.midReference}},[o("ProjectCard",{attrs:{data:e,isHouseName:"",isHouseSpace:""}})],1)}))])])}))],1)])},staticRenderFns:[]};var u=o("Z0/y")(r,d,!1,function(e){o("dof/"),o("aqFp")},"data-v-4add4ada",null);t.default=u.exports}});
//# sourceMappingURL=44.a6ff5a4d214620a74cbe.js.map