(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/store/detail"],{"35f9":function(e,t,n){"use strict";n.r(t);var o=n("b478"),a=n("f2e5");for(var i in a)"default"!==i&&function(e){n.d(t,e,(function(){return a[e]}))}(i);n("42a3");var r,u=n("f0c5"),c=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,"7401c21e",null,!1,o["a"],r);t["default"]=c.exports},"42a3":function(e,t,n){"use strict";var o=n("7121"),a=n.n(o);a.a},"6d1b":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){Promise.all([n.e("common/vendor"),n.e("components/basic-component/app-layout/app-layout")]).then(function(){return resolve(n("3dd6"))}.bind(null,n)).catch(n.oe)},a=function(){n.e("components/page-component/app-swiper/app-swiper").then(function(){return resolve(n("de77"))}.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("ee52"))}.bind(null,n)).catch(n.oe)},r={name:"detail",components:{appLayout:o,appSwiper:a,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"])},7121:function(e,t,n){},b478:function(e,t,n){"use strict";var o,a=function(){var e=this,t=e.$createElement;e._self._c},i=[];n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o}))},f2e5:function(e,t,n){"use strict";n.r(t);var o=n("6d1b"),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=a.a},fff3:function(e,t,n){"use strict";(function(e){n("8748");o(n("66fd"));var t=o(n("35f9"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])}},[["fff3","common/runtime","common/vendor"]]]);