(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/store/detail"],{"1aa1":function(e,t,n){"use strict";var a=n("fa4a"),o=n.n(a);o.a},"2f8b":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){Promise.all([n.e("common/vendor"),n.e("components/basic-component/app-layout/app-layout")]).then(function(){return resolve(n("f5e7"))}.bind(null,n)).catch(n.oe)},o=function(){n.e("components/page-component/app-swiper/app-swiper").then(function(){return resolve(n("076d"))}.bind(null,n)).catch(n.oe)},i=function(){Promise.all([n.e("common/vendor"),n.e("components/basic-component/app-rich/parse")]).then(function(){return resolve(n("ef35"))}.bind(null,n)).catch(n.oe)},r={name:"detail",components:{appLayout:a,appSwiper:o,appRichText:i},data:function(){return{list:{business_hours:"",name:"",mobile:"",score:"",address:"",description:""}}},onShareAppMessage:function(){return this.$shareAppMessage({title:this.list.name,path:"/pages/store/detail",params:{id:this.list.id}})},onLoad:function(e){if(e.id){var t=this;t.$showLoading({title:"加载中"}),t.$request({url:t.$api.store.detail,data:{id:e.id}}).then((function(e){t.$hideLoading(),0===e.code&&(t.list=e.data.list)})).catch((function(e){t.$hideLoading()}))}},methods:{goto:function(t){var n=this.list;e.openLocation({latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude),name:n.name,address:n.address})},mobile:function(){e.makePhoneCall({phoneNumber:this.list.mobile})}}};t.default=r}).call(this,n("543d")["default"])},"3ed5":function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var o=function(){var e=this,t=e.$createElement;e._self._c},i=[]},"52d7":function(e,t,n){"use strict";(function(e){n("ecb4");a(n("66fd"));var t=a(n("688c"));function a(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"688c":function(e,t,n){"use strict";n.r(t);var a=n("3ed5"),o=n("9b04");for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("1aa1");var r,c=n("f0c5"),u=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,"1941dc9a",null,!1,a["a"],r);t["default"]=u.exports},"9b04":function(e,t,n){"use strict";n.r(t);var a=n("2f8b"),o=n.n(a);for(var i in a)"default"!==i&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=o.a},fa4a:function(e,t,n){}},[["52d7","common/runtime","common/vendor"]]]);