(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/store/detail"],{2436:function(t,e,n){"use strict";var a=n("5a1d"),o=n.n(a);o.a},5801:function(t,e,n){"use strict";n.r(e);var a=n("e861"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},"5a1d":function(t,e,n){},"753d":function(t,e,n){"use strict";(function(t){n("2d0a");a(n("66fd"));var e=a(n("84ac"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"84ac":function(t,e,n){"use strict";n.r(e);var a=n("ba5b"),o=n("5801");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("2436");var r,s=n("f0c5"),u=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"cbabf2e2",null,!1,a["a"],r);e["default"]=u.exports},ba5b:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement;t._self._c},i=[]},e861:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=function(){n.e("components/page-component/app-swiper/app-swiper").then(function(){return resolve(n("b886"))}.bind(null,n)).catch(n.oe)},o=function(){Promise.all([n.e("common/vendor"),n.e("components/basic-component/app-rich/parse")]).then(function(){return resolve(n("4851"))}.bind(null,n)).catch(n.oe)},i={name:"detail",components:{appSwiper:a,appRichText:o},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(t){if(this.$commonLoad.onload(t),t.id){var e=this;e.$showLoading({title:"加载中"}),e.$request({url:e.$api.store.detail,data:{id:t.id}}).then((function(t){e.$hideLoading(),0===t.code&&(e.list=t.data.list)})).catch((function(t){e.$hideLoading()}))}},methods:{goto:function(e){var n=this.list;t.openLocation({latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude),name:n.name,address:n.address})},mobile:function(){t.makePhoneCall({phoneNumber:this.list.mobile})}}};e.default=i}).call(this,n("543d")["default"])}},[["753d","common/runtime","common/vendor"]]]);