(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-18ebe37e"],{"05eb":function(n,t,e){},"18b8":function(n,t,e){"use strict";e.r(t);var i=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",[e("div",{staticClass:"banner"},[e("van-swipe",{attrs:{autoplay:3e3}},n._l(n.banner,(function(n,t){return e("van-swipe-item",{key:t},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:n.picUrl,expression:"image.picUrl"}]})])})),1)],1),n._l(n.subshop,(function(t){return e("div",{key:t.id},[e("p",[n._v(n._s(t.name))]),e("p",[n._v(n._s(t.address))]),e("p",[n._v(" 营业时间 "),e("span",[n._v(n._s(t.openingHours))])]),e("p",[n._v(" 联系电话 "),e("span",[n._v(n._s(t.linkPhone))])])])})),e("h1",[n._v("店家推荐")]),e("div",n._l(n.shopping,(function(t){return e("van-card",{key:t.id,attrs:{price:t.minPrice,title:t.name,thumb:t.pic},on:{click:function(e){return n.$router.push("/menuInfo?id="+t.id)}}})})),1)],2)},s=[],a={data:function(){return{banner:[],subshop:[],shopping:[]}},methods:{getbanner:function(){var n=this;this.$http.get("/banner/list").then((function(t){n.banner=t.data.data}))},getsubshop:function(){var n=this;this.$http.get("/shop/subshop/list").then((function(t){n.subshop=t.data.data}))},getshopping:function(){var n=this;this.$http.post("/shop/goods/list").then((function(t){n.shopping=t.data.data}))}},mounted:function(){this.getbanner(),this.getsubshop(),this.getshopping()}},o=a,p=(e("1c94"),e("2877")),r=Object(p["a"])(o,i,s,!1,null,"c9536622",null);t["default"]=r.exports},"1c94":function(n,t,e){"use strict";e("05eb")}}]);
//# sourceMappingURL=chunk-18ebe37e.9971612e.js.map