(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/paper/friend"],{225:function(n,e,t){"use strict";(function(n,e){var i=t(4);t(26);i(t(25));var o=i(t(226));n.__webpack_require_UNI_MP_PLUGIN__=t,e(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},226:function(n,e,t){"use strict";t.r(e);var i=t(227),o=t(229);for(var r in o)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(r);t(231);var u,a=t(32),s=Object(a["default"])(o["default"],i["render"],i["staticRenderFns"],!1,null,"298b30fa",null,!1,i["components"],u);s.options.__file="pages/paper/friend.vue",e["default"]=s.exports},227:function(n,e,t){"use strict";t.r(e);var i=t(228);t.d(e,"render",(function(){return i["render"]})),t.d(e,"staticRenderFns",(function(){return i["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return i["recyclableRender"]})),t.d(e,"components",(function(){return i["components"]}))},228:function(n,e,t){"use strict";var i;t.r(e),t.d(e,"render",(function(){return o})),t.d(e,"staticRenderFns",(function(){return u})),t.d(e,"recyclableRender",(function(){return r})),t.d(e,"components",(function(){return i}));try{i={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,313))},uSearch:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-search/u-search")]).then(t.bind(null,321))},uSticky:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-sticky/u-sticky")]).then(t.bind(null,329))},uLoadmore:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-loadmore/u-loadmore")]).then(t.bind(null,345))},uEmpty:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-empty/u-empty")]).then(t.bind(null,353))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var o=function(){var n=this,e=n.$createElement,t=(n._self._c,n.__map(n.swiperList,(function(e,t){var i=n.__get_orig(e),o=e.list.length,r=o>0?e.list.length:null;return{$orig:i,g0:o,g1:r}})));n.$mp.data=Object.assign({},{$root:{l0:t}})},r=!1,u=[];o._withStripped=!0},229:function(n,e,t){"use strict";t.r(e);var i=t(230),o=t.n(i);for(var r in i)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(r);e["default"]=o.a},230:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=t(166),o=function(){t.e("pages/paper/cpns/friend-list").then(function(){return resolve(t(397))}.bind(null,t)).catch(t.oe)},r={components:{FriendList:o},data:function(){return{tabIndex:0,tabList:[{name:"互关",count:0},{name:"关注",count:10},{name:"粉丝",count:99}],swiperIndex:0,swiperHeight:0,swiperList:i.friendList,loadStatus:"loadmore"}},computed:{swiperStyle:function(){return"height: ".concat(this.swiperHeight,"px;")}},onNavigationBarSearchInputClicked:function(){this.handleSearch()},onNavigationBarButtonTap:function(e){n.navigateBack()},onLoad:function(){var e=this;n.getSystemInfo({success:function(t){e.swiperHeight=t.windowHeight-n.upx2px(80)}})},methods:{handleSearch:function(){this.$u.route("/pages/home/search",{type:"user"})},changeTab:function(n){this.tabIndex=n,this.swiperIndex=n},animationfinish:function(n){this.changeTab(n.detail.current)},reachBottom:function(){var n=this;"loadmore"===this.loadStatus&&(this.loadStatus="loading",setTimeout((function(){n.getList()}),1e3))},getList:function(){for(var n=this.tabIndex,e=0;e<5;e++){var t=this.$u.random(0,this.swiperList[n].list.length-1),i=this.swiperList[n].list[t];this.swiperList[n].list.push(i)}this.loadStatus="nomore"}}};e.default=r}).call(this,t(2)["default"])},231:function(n,e,t){"use strict";t.r(e);var i=t(232),o=t.n(i);for(var r in i)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(r);e["default"]=o.a},232:function(n,e,t){}},[[225,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/paper/friend.js.map