12 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/project/project"],{110:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var i=o(t(111));e.__webpack_require_UNI_MP_PLUGIN__=t,n(i.default)}).call(this,t(1)["default"],t(2)["createPage"])},111:function(e,n,t){"use strict";t.r(n);var o=t(112),i=t(114);for(var r in i)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(r);t(117);var c,a=t(32),s=Object(a["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],c);s.options.__file="pages/project/project.vue",n["default"]=s.exports},112:function(e,n,t){"use strict";t.r(n);var o=t(113);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},113:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return i})),t.d(n,"staticRenderFns",(function(){return c})),t.d(n,"recyclableRender",(function(){return r})),t.d(n,"components",(function(){return o}));try{o={uniIcons:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(t.bind(null,143))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var e=this,n=e.$createElement,t=(e._self._c,e.$field.findTypeNameByList("supportingFacilities",e.detail.supportingFacilities));e.$mp.data=Object.assign({},{$root:{l0:t}})},r=!1,c=[];i._withStripped=!0},114:function(e,n,t){"use strict";t.r(n);var o=t(115),i=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=i.a},115:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=t(47),i=t(116),r=function(){t.e("components/house/houseItems").then(function(){return resolve(t(193))}.bind(null,t)).catch(t.oe)},c={data:function(){return{list:[],detail:{},responsibility:[],coordinates:[],latitude:39.90923,longitude:116.397428}},onLoad:function(e){console.log(e),this.init()},onReady:function(){this._mapContext=e.createMapContext("map",this)},components:{houseItems:r},methods:{init:function(){var e=this;(0,i.getProjectDetailById)(9).then((function(n){200===n.code&&(e.detail=n.data,e.detail.picture&&(e.responsibility=JSON.parse(e.detail.picture)),e.detail.coordinates&&(e.coordinates=e.detail.coordinates.split(","),e.latitude=e.coordinates[1],e.longitude=e.coordinates[0],e.addMarkers()))})),(0,o.getOpenHouseListByPage)({currPage:1,pageSize:10}).then((function(n){200===n.code&&(e.list=e.list.concat(n.data.dataList))}))},addMarkers:function(){var e=[{latitude:this.coordinates[1],longitude:this.coordinates[0]}],n=[];e.forEach((function(e,t){n.push(Object.assign({},{id:t+1,width:50,height:50,joinCluster:!0},e))})),this._mapContext.addMarkers({markers:n,clear:!1,complete:function(e){}})}}};n.default=c}).call(this,t(2)["default"])},117:function(e,n,t){"use strict";t.r(n);var o=t(118),i=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=i.a},118:function(e,n,t){}},[[110,"common/runtime","common/vendor"]]]);
- //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/project/project.js.map
|