You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
2.9 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["dynamic/pages/technician/follow"],{"0847":function(t,n,a){"use strict";var e=a("dbf7"),i=a.n(e);i.a},"37ae":function(t,n,a){"use strict";a.r(n);var e=a("cedc"),i=a.n(e);for(var r in e)["default"].indexOf(r)<0&&function(t){a.d(n,t,(function(){return e[t]}))}(r);n["default"]=i.a},8706:function(t,n,a){"use strict";a.r(n);var e=a("a118"),i=a("37ae");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(n,t,(function(){return i[t]}))}(r);a("0847");var o=a("828b"),u=Object(o["a"])(i["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=u.exports},a118:function(t,n,a){"use strict";a.d(n,"b",(function(){return e})),a.d(n,"c",(function(){return i})),a.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,a=(t._self._c,t.loading?t.list.current_page>=t.list.last_page&&t.list.data.length>0:null),e=!t.loading&&t.list.data.length<=0&&1==t.list.current_page;t.$mp.data=Object.assign({},{$root:{g0:a,g1:e}})},i=[]},af95:function(t,n,a){"use strict";(function(t,n){var e=a("47a9");a("7043");e(a("3240"));var i=e(a("8706"));t.__webpack_require_UNI_MP_PLUGIN__=a,n(i.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])},cedc:function(t,n,a){"use strict";(function(t){var e=a("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e(a("7eb4")),r=e(a("ee10")),o=a("8f59"),u={data:function(){return{loading:!0,param:{page:1},list:{data:[]}}},computed:(0,o.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},userInfo:function(t){return t.user.userInfo}}),onLoad:function(){this.$util.setNavigationBarColor({bg:this.primaryColor}),this.initIndex()},onPullDownRefresh:function(){t.showNavigationBarLoading(),this.initRefresh(),t.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:{initIndex:function(){var t=arguments,n=this;return(0,r.default)(i.default.mark((function a(){return i.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:t.length>0&&void 0!==t[0]&&t[0],n.getList();case 2:case"end":return a.stop()}}),a)})))()},handerTabChange:function(t){this.activeIndex=t,this.param.status=t,this.getList()},initRefresh:function(){this.param.page=1,this.initIndex(!0)},getList:function(){var t=this;return(0,r.default)(i.default.mark((function n(){var a,e,r;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.$util.showLoading(),a=t.list,e=t.param,n.next=4,t.$api.dynamic.followList(e);case 4:r=n.sent,1==t.param.page||(r.data=a.data.concat(r.data)),t.list=r,t.loading=!1,t.$util.hideAll();case 8:case"end":return n.stop()}}),n)})))()}}};n.default=u}).call(this,a("df3c")["default"])},dbf7:function(t,n,a){}},[["af95","common/runtime","common/vendor"]]]);