(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesTools/sequence/index"],{"343c":function(t,e,n){},"4de9":function(t,e,n){"use strict";(function(t){var a=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("af34")),r=a(n("7ca3")),o=n("8f59");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}var c={components:{chainsItem:function(){Promise.all([n.e("common/vendor"),n.e("pages/component/chains/index")]).then(function(){return resolve(n("51ef"))}.bind(null,n)).catch(n.oe)}},data:function(){return{loadEnd:!1,chainsList:[],page:1,limit:20,hasMore:!1,shareData:{},showLogin:!1}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,o.mapState)({themeColor:function(t){return t.app.themeColor},shareImage:function(t){return t.app.shareImage},shareTitle:function(t){return t.app.shareTitle},loginImg:function(t){return t.app.loginImg}})),onLoad:function(){var e=this;t.showLoading({title:"加载中"}),this.getChainsList((function(){t.hideLoading(),e.loadEnd=!0}))},onShareAppMessage:function(t){return"button"==t.from?{title:this.shareData.title,path:this.shareData.path,imageUrl:this.shareData.imageUrl||this.shareImage}:{title:this.shareTitle,imageUrl:this.shareImage}},onShareTimeline:function(){return{title:this.shareTitle,imageUrl:this.shareImage}},onPullDownRefresh:function(){this.page=1,this.getChainsList((function(){t.stopPullDownRefresh()}))},onReachBottom:function(){this.hasMore&&(this.page++,this.getChainsList())},methods:{getChainsList:function(e){var n=this;this.$util.request("sequence.chainsList",{page:this.page,limit:this.limit}).then((function(a){if(e&&e(),1==a.code){var r=a.data.data;n.hasMore=n.page<a.data.total/n.limit,n.chainsList=1==n.page?r:[].concat((0,i.default)(n.chainsList),(0,i.default)(r))}else t.showToast({title:a.msg,icon:"none"})})).catch((function(t){401==t?n.showLogin=!0:console.error("获取接龙列表 ",t)}))},setShareData:function(t){this.shareData=t},toLogin:function(){t.redirectTo({url:"/pagesTools/sequence/index"})}}};e.default=c}).call(this,n("df3c")["default"])},"518e":function(t,e,n){"use strict";(function(t,e){var a=n("47a9");n("aa6c");a(n("3240"));var i=a(n("9916"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"6f1d":function(t,e,n){"use strict";n.r(e);var a=n("4de9"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"8b86":function(t,e,n){"use strict";var a=n("343c"),i=n.n(a);i.a},9800:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=(this._self._c,this.loadEnd?this.chainsList.length:null);this.$mp.data=Object.assign({},{$root:{g0:e}})},i=[]},9916:function(t,e,n){"use strict";n.r(e);var a=n("9800"),i=n("6f1d");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("8b86");var o=n("828b"),s=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=s.exports}},[["518e","common/runtime","common/vendor"]]]);