(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/book"],{1531:function(t,n,e){"use strict";e.r(n);var o=e("73d4"),i=e.n(o);for(var u in o)"default"!==u&&function(t){e.d(n,t,(function(){return o[t]}))}(u);n["default"]=i.a},"19d4":function(t,n,e){"use strict";var o=e("a586"),i=e.n(o);i.a},2562:function(t,n,e){"use strict";e.r(n);var o=e("cf96"),i=e("1531");for(var u in i)"default"!==u&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("19d4");var r,a=e("f0c5"),c=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"d1d30322",null,!1,o["a"],r);n["default"]=c.exports},"57f2":function(t,n,e){"use strict";(function(t){e("02cf");o(e("66fd"));var n=o(e("2562"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},"73d4":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=i(e("a34a"));function i(t){return t&&t.__esModule?t:{default:t}}function u(t,n,e,o,i,u,r){try{var a=t[u](r),c=a.value}catch(s){return void e(s)}a.done?n(c):Promise.resolve(c).then(o,i)}function r(t){return function(){var n=this,e=arguments;return new Promise((function(o,i){var r=t.apply(n,e);function a(t){u(r,o,i,a,c,"next",t)}function c(t){u(r,o,i,a,c,"throw",t)}a(void 0)}))}}var a=e("039b"),c={onLoad:function(t){this.imghost=this.$imgHost},onShow:function(){this.pageindex=1,this.list=[],this.getbook(),this.getconfigLsit()},mounted:function(){},data:function(){return{list:[],configInfo:{},pageindex:1,imghost:""}},onReachBottom:function(){this.getbook()},methods:{getbook:function(){var n=r(o.default.mark((function n(){var e,i;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,this.$request.post("/api/v1/article/articleList",{page:this.pageindex},!1);case 2:e=n.sent,console.log(e),i=a.islogin(e),i&&(this.pageindex>e.data.last_page?t.showToast({title:"没有更多了",icon:"none"}):(this.list=this.list.concat(e.data.data),this.pageindex++));case 6:case"end":return n.stop()}}),n,this)})));function e(){return n.apply(this,arguments)}return e}(),bookinfo:function(n,e){t.navigateTo({url:"../common_tools/collection/collection_details?id="+n+"&title="+e})},getconfigLsit:function(){var t=r(o.default.mark((function t(){var n;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$request.post("/api/v1/common/configList",{},!1);case 2:n=t.sent,console.log(n),0==n.status&&(this.configInfo=n.data);case 5:case"end":return t.stop()}}),t,this)})));function n(){return t.apply(this,arguments)}return n}()}};n.default=c}).call(this,e("543d")["default"])},a586:function(t,n,e){},cf96:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return o}));var o={uSwiper:function(){return e.e("uview-ui/components/u-swiper/u-swiper").then(e.bind(null,"c192"))},uCard:function(){return e.e("uview-ui/components/u-card/u-card").then(e.bind(null,"0e98"))},uLoadmore:function(){return e.e("uview-ui/components/u-loadmore/u-loadmore").then(e.bind(null,"dcc6"))},uNoNetwork:function(){return e.e("uview-ui/components/u-no-network/u-no-network").then(e.bind(null,"36dd"))}},i=function(){var t=this,n=t.$createElement;t._self._c},u=[]}},[["57f2","common/runtime","common/vendor"]]]);