text: webpackJsonp([11],{"64oU":function(t,a){},MqvE:function(t,a,e){"use strict";var i=e("Zrlr"),s=e.n(i),n=e("wxAW"),r=e.n(n),c=e("0Mti"),o=function(){function t(){s()(this,t)}return r()(t,[{key:"getJoin",value:function(){return c.a.get("/index/article/information")}},{key:"getIndustry",value:function(){return c.a.get("/index/article/presentation")}},{key:"getArticleList",value:function(t){return c.a.get("/index/article/article_list",t)}}]),t}();a.a=new o},ev2I:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=e("/KFX"),s=e("2qVQ"),n=e("MqvE"),r={name:"index.vue",data:function(){return{type:1,page:0,data:[],count:0}},created:function(){var t=this.$route.query.type,a=void 0===t?1:t;this.type=a,this.getData()},methods:{tabChange:function(t){this.type=t.target.dataset.type,this.page=0,this.getData()},getData:function(){var t=this,a=this.page,e=this.type;n.a.getArticleList({page:a,type:e}).then(function(a){t.count=a.count,t.data=a.data})},pageChange:function(t){this.page=t-1,window.scrollTo(0,0),this.getData()}},components:{Search:i.a,HotOrder:s.a}},c={render:function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",[i("Search"),t._v(" "),i("div",{staticClass:"commonNav"},[i("div",{staticClass:"wrapper"},[i("div",{staticClass:"part"},[t._m(0),t._v(" "),i("router-link",{attrs:{to:"/list"}},[i("span",[t._v("找项目")]),t._v(" "),i("img",{staticClass:"hot",attrs:{src:e("J7Va")}}),t._v(" "),i("i")]),t._v(" "),i("router-link",{attrs:{to:"/rankingList"}},[i("span",[t._v("排行榜")]),t._v(" "),i("i")]),t._v(" "),i("router-link",{staticClass:"active",attrs:{to:"/news"}},[i("span",[t._v("行业资讯")]),t._v(" "),i("i")])],1)])]),t._v(" "),i("div",{staticClass:"greyBg"},[i("div",{staticClass:"wrapper clearfix"},[i("p",{staticClass:"adress"},[t._v("您的位置："),i("router-link",{attrs:{to:"/news"}},[t._v("行业咨询")]),t._v(" > "+t._s(1==t.type?"加盟咨询":2==t.type?"加盟攻略":0==t.type?"行业报告":""))],1),t._v(" "),i("div",{staticClass:"listLeft"},[i("ul",{staticClass:"listNav clearfix",on:{click:t.tabChange}},[i("li",{class:[1==t.type?"active":""],attrs:{"data-type":"1"}},[t._v("加盟资讯"),i("i")]),t._v(" "),i("li",{class:[2==t.type?"active":""],attrs:{"data-type":"2"}},[t._v("加盟攻略"),i("i")]),t._v(" "),i("li",{class:[0==t.type?"active":""],attrs:{"data-type":"0"}},[t._v("行业报告"),i("i")])]),t._v(" "),i("div",t._l(t.data,function(a){return i("dl",{key:"article"+a.id,staticClass:"listDL clearfix"},[i("router-link",{attrs:{to:"/consultDetail?id="+a.id}},[i("dt",[i("img",{attrs:{src:a.img}})]),t._v(" "),i("dd",[i("h3",[t._v(t._s(a.title))]),t._v(" "),i("p",{staticClass:"desc"},[t._v(t._s(a.sign))]),t._v(" "),i("p",{staticClass:"icon"},[i("span",[i("i",{staticClass:"iconfont icon-data"}),t._v(t._s(a.addtime))]),t._v(" "),i("span",[i("i",{staticClass:"iconfont icon-look"}),t._v(t._s(a.read_num))])])])])],1)}),0),t._v(" "),i("el-pagination",{staticClass:"paging",attrs:{background:"",layout:"prev, pager, next",total:t.count},on:{"current-change":t.pageChange}})],1),t._v(" "),i("div",{staticClass:"listRight"},[i("HotOrder",{attrs:{more:!1}})],1)])])],1)},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("a",{attrs:{href:""}},[a("span",[this._v("首页")]),this._v(" "),a("i")])}]};var o=e("VU/8")(r,c,!1,function(t){e("64oU")},"data-v-20faf3fc",null);a.default=o.exports}});
  //# sourceMappingURL=11.330cb2665a413fcedea5.js.map