(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/common_tools/collection/collection"],{"088e":function(t,n,e){"use strict";e.r(n);var o=e("c9c8"),i=e.n(o);for(var c in o)"default"!==c&&function(t){e.d(n,t,(function(){return o[t]}))}(c);n["default"]=i.a},1858:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return o}));var o={uEmpty:function(){return e.e("uview-ui/components/u-empty/u-empty").then(e.bind(null,"5fcb"))}},i=function(){var t=this,n=t.$createElement;t._self._c},c=[]},"1ce4":function(t,n,e){"use strict";(function(t){e("02cf");o(e("66fd"));var n=o(e("9d88"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},"9d88":function(t,n,e){"use strict";e.r(n);var o=e("1858"),i=e("088e");for(var c in i)"default"!==c&&function(t){e.d(n,t,(function(){return i[t]}))}(c);e("f086");var u,a=e("f0c5"),r=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=r.exports},ab0e:function(t,n,e){},c9c8: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 c(t,n,e,o,i,c,u){try{var a=t[c](u),r=a.value}catch(s){return void e(s)}a.done?n(r):Promise.resolve(r).then(o,i)}function u(t){return function(){var n=this,e=arguments;return new Promise((function(o,i){var u=t.apply(n,e);function a(t){c(u,o,i,a,r,"next",t)}function r(t){c(u,o,i,a,r,"throw",t)}a(void 0)}))}}var a={data:function(){return{listArray:[],pageindex:1,show:!1}},mounted:function(){this.getcollectionList()},methods:{open:function(n,e){t.navigateTo({url:"/pages/common_tools/collection/collection_details?id="+n+"&title="+e})},getcollectionList:function(){var n=u(o.default.mark((function n(){var e;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,this.$request.post("/api/v1/collection/collectList",{page:this.pageindex,type:2});case 2:e=n.sent,console.log(e),0==e.status&&(this.pageindex>e.data.last_page?t.showToast({title:"没有更多了",icon:"none"}):(this.listArray=this.listArray.concat(e.data.data),this.pageindex++)),0==this.listArray.length?this.show=!0:this.show=!1;case 6:case"end":return n.stop()}}),n,this)})));function e(){return n.apply(this,arguments)}return e}()}};n.default=a}).call(this,e("543d")["default"])},f086:function(t,n,e){"use strict";var o=e("ab0e"),i=e.n(o);i.a}},[["1ce4","common/runtime","common/vendor"]]]);