text: webpackJsonp([3],{"035s":function(t,n){},4349:function(t,n){},TFhR:function(t,n,e){"use strict";var s={hostLists:"/index/hotlists",bannerLists:"/index/banner",topLists:"/category/topList",subLists:"/category/subList",rank:"/category/rank",searchLists:"/search/list",details:"/goods/details",deal:"/goods/deal",evaluation:"/goods/evaluation",cartLists:"/cart/list",remove:"/cart/remove",mrremove:"/cart/mrremove",add:"/cart/add",reduce:"/cart/reduce",addressAdd:"/address/add",addressRemove:"/address/remove",addressLists:"/address/list",addressUpdate:"/address/update",addressDefault:"/address/setDefault"};for(var a in s)s[a]="http://rap2api.taobao.org/app/mock/7058"+s[a];n.a=s},"U/rD":function(t,n,e){"use strict";var s={filters:{currency:function(t){var n=(t+="").split(".");return 1===n.length?t+".00":1===n[1].length?t+"0":t}},components:{Footnav:e("n7YN").a}};n.a=s},U67u:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var s=e("d8/S"),a=(e.n(s),e("clQT")),i=e.n(a),r=e("eChN"),o=(e.n(r),e("035s")),c=(e.n(o),e("TFhR")),l=e("mtWM"),d=e.n(l),u=e("7+uW"),h=e("n7YN"),f=e("gN+L");e("U/rD");u.default.use(i.a);new u.default({el:"#app",data:{lists:null,pageNum:1,pageSize:6,loading:!1,allLoad:!1,bannerLists:null},created:function(){this.getList(),this.getBannerList()},methods:{getList:function(){var t=this;this.allLoad||(this.loading=!0,d.a.post(c.a.hostLists,{pageNum:this.pageNum,pageSize:this.pageSize}).then(function(n){var e=n.data.lists;e.length<t.pageSize&&(t.allLoad=!0),t.lists?t.lists=t.lists.concat(e):t.lists=e,t.pageNum++,t.loading=!1}))},getBannerList:function(){var t=this;d.a.get(c.a.bannerLists).then(function(n){t.bannerLists=n.data.lists})},showGoods:function(){window.location.href="/goods?id="+list.id}},filters:{currency:function(t){var n=(t+="").split(".");return 1===n.length?t+".00":1===n[1].length?t+"0":t}},components:{Footnav:h.a,Swipe:f.a}})},bCh0:function(t,n){},"d8/S":function(t,n){},eChN:function(t,n){},"gN+L":function(t,n,e){"use strict";e("v2ns");var s=e("gsqX"),a=e.n(s),i={name:"Swipe",props:["lists"],created:function(){},mounted:function(){new a.a(".swiper-container",{autoplay:!0,loop:!0,pagination:{el:".swiper-pagination"}})}},r={render:function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"swiper-container"},[n("div",{staticClass:"swiper-wrapper"},this._l(this.lists,function(t){return n("div",{staticClass:"swp-page swiper-slide"},[n("a",{staticClass:"js-no-follow",attrs:{href:t.clickUrl}},[n("img",{staticClass:"goods-main-photo fadeIn",attrs:{src:t.img}})])])})),this._v(" "),n("div",{staticClass:"swiper-pagination"})])},staticRenderFns:[]};var o=e("VU/8")(i,r,!1,function(t){e("bCh0")},null,null);n.a=o.exports},n7YN:function(t,n,e){"use strict";var s=e("mw3O"),a=[{name:"有赞",icon:"icon-home",href:"index.html"},{name:"分类",icon:"icon-category",href:"category.html"},{name:"购物车",icon:"icon-cart",href:"cart.html"},{name:"我",icon:"icon-user",href:"member.html"}],i=e.n(s).a.parse(window.location.search.substring(1)).index,r={data:function(){return{navConfig:a,curIndex:parseInt(i,10)||0}},methods:{changeNav:function(t,n){location.href=n.href+"?index="+t}}},o={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"bottom-nav"},[e("ul",t._l(t.navConfig,function(n,s){return e("li",{class:{active:t.curIndex===s},on:{click:function(e){t.changeNav(s,n)}}},[e("a",[e("i",{class:n.icon}),e("div",[t._v(t._s(n.name))])])])}))])},staticRenderFns:[]};var c=e("VU/8")(r,o,!1,function(t){e("4349")},null,null);n.a=c.exports},v2ns:function(t,n){}},["U67u"]);
  //# sourceMappingURL=index.11d4cbbc4522a7eec4f8.js.map